TypeScript : DOS attack possible