MediumNewsLLM-specific
Terminal DiLLMa: LLM-powered Apps Can Hijack Your Terminal Via Prompt Injection
- Published
- Record updated
Summary
Leon Derczynski reported that LLMs can output ANSI escape codes, including the ESC (ASCII 27) control character, which terminal emulators interpret to change behavior. The author builds on this by turning the codes into prompt injection test cases covering flashing text, title changes, cursor movement, hidden text, clipboard copying, denial of service and clickable hyperlinks. The author notes that LLM-integrated CLI tools and programs that print LLM output to stdout without handling control characters are the main exposed scenarios, and that injection via prompt injection has not yet been confirmed.
Topics
Related items
- HighCVE-2026-133448: AutoGPT Claude Code CLI prompt preprocessing bypasses tool allow-listSimilar attack · NVD/CVE Database
- LowElastic ships 143 detection rules for AI agents and LLM platformsSimilar attack · Elastic Security Labs
- InfoThinking fast about prompt injection: New System 1 models in ElasticSimilar attack · Elastic Security Labs
- InfoConartist: Adaptive Agentic Red-Teaming of Computer-Using Agents against Multi-Step Prompt InjectionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoRelativising Integrity and Robustness: Prompt Injection and Partitioned EnclavesSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)