LLM Emoticon Confusion
A vulnerability in Large Language Models (LLMs) and autonomous agent frameworks, termed "Emoticon Semantic Confusion," allows for the generation and execution of unintended, potentially destructive code. Because ASCII-based emoticons (e.g., ~, *, !(^^)!) heavily overlap with the symbol space of programming operators, shell wildcards, and file paths, LLMs frequently misinterpret these affective, non-verbal cues as executable directives. When processing user instructions in code-generation or…
Evaluated models: Claude Haiku 4.5, Gemini 2.5 Flash, GPT-4.1 Mini+3 more
- Claude Haiku 4.5
- Gemini 2.5 Flash
- GPT-4.1 Mini
- DeepSeek V3.2
- Qwen3-Coder
- GLM-4.6