Unicode token-bloat attacks can drain your chatbot's budget — here's the fix

ericelliott_ · x · 2026-09-11

Attackers can flood chat inputs with Unicode sequences that look short but consume many tokens, burning through an LLM app's budget. The recommended defenses before sending input to the model: normalize to NFC, strip zero-width and Unicode tag characters, and enforce byte-level length limits.

Original post →

More from Safety

Safety channel →