LLM Vulnerability: Exploiting Em Dash Generation Loop
Published:Dec 27, 2025 18:46
•1 min read
•r/OpenAI
Analysis
This post on Reddit's OpenAI forum highlights a potential vulnerability in a Large Language Model (LLM). The user discovered that by crafting specific prompts with intentional misspellings, they could force the LLM into an infinite loop of generating em dashes. This suggests a weakness in the model's ability to handle ambiguous or intentionally flawed instructions, leading to resource exhaustion or unexpected behavior. The user's prompts demonstrate a method for exploiting this weakness, raising concerns about the robustness and security of LLMs against adversarial inputs. Further investigation is needed to understand the root cause and implement appropriate safeguards.
Key Takeaways
- •LLMs can be vulnerable to specific prompt structures.
- •Intentional misspellings can trigger unexpected behavior.
- •Resource exhaustion is a potential consequence of prompt engineering.
Reference
“"It kept generating em dashes in loop until i pressed the stop button"”