Skip to content
LowNewsLLM-specific

From Indirect Prompt Injection to DNS Exfiltration in macOS Terminal

Published
Record updated
View JSON

Summary

Apple fixed a macOS Terminal behavior that let a crafted ANSI escape sequence trigger DNS requests, which could carry data out. The flaw was discovered by David Leadbeater, and the researcher showed it could be reached through an LLM-integrated CLI tool, where a malicious spreadsheet cell hijacked the model into emitting the sequence. Apple fixed the issue in macOS Tahoe 26.1, released on November 3, 2025.

Mitigation

Fixed in macOS Tahoe 26.1, released on November 3, 2025. The source also recommends that CLI tools encode control characters by default, using an approach similar to cat -v, with raw terminal output requiring explicit opt-in.