{
 "public_id": "AIR-2026-0162",
 "incident_id": "2026-07-apple-macos-terminal-dillma-dns",
 "date_disclosed": "2026-07-16",
 "date_occurred": null,
 "title": "Indirect prompt injection to DNS exfiltration in macOS Terminal via ANSI escape codes",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "indirect_prompt_injection_document",
 "agent_capability_abused": [
  "terminal_output_rendering",
  "file_read"
 ],
 "target_product": "macOS Terminal.app rendering LLM CLI agent output",
 "target_vendor": "Apple",
 "autonomy_level": "assistant",
 "impact_realized": false,
 "impact_type": [
  "data_exfiltration"
 ],
 "blast_radius": "users of LLM CLI tools in macOS Terminal before Tahoe 26.1",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI02"
  ],
  "mitre_atlas": [],
  "labels": [
   "ansi_escape_codes",
   "dns_exfiltration",
   "terminal_dillma",
   "output_rendering"
  ]
 },
 "defense_present": null,
 "defense_bypassed": null,
 "fix_shipped": "macOS Tahoe 26.1, released November 3, 2025 - the escape sequence no longer triggers DNS requests",
 "primary_sources": [
  "https://embracethered.com/blog/posts/2026/macos-terminal-dillma-dns-exfil-ansi-escape-code-fix/"
 ],
 "verified_quote": "When I saw that, it seemed like a great way to hijack AI agents and LLM CLI tools running on the command line and to exfiltrate data.",
 "confidence": "high",
 "notes": "Follow-on to Rehberger's 2024 'Terminal DiLLMa'. Exploits the OSC 7 file:// escape sequence.",
 "risk_category": "privacy",
 "risk_secondary": [],
 "risk_subcategory": "Data Exfiltration via Context",
 "risk_sub_secondary": [],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "the agent's terminal output triggered DNS exfiltration",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_document",
 "guardrail_kind": [
  "unknown"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [],
  "ghsa": []
 },
 "primary_asi": "ASI01",
 "agent_framework": "unknown",
 "model_provider": "unknown",
 "model_name": "",
 "detection_mechanism": "external_researcher",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "data_exfiltration_channels",
 "eai_domain": "privacy",
 "eai_secondary": [
  "confused_deputy"
 ],
 "eai_reason": "subcategory: Data Exfiltration via Context",
 "asi_curated": [
  "ASI01"
 ],
 "asi_scope": "in_scope",
 "asi_provenance": "curated_plus_rule",
 "asi_reason": "curated: ASI01 | added ASI02 (impact=tool_misuse)",
 "submitted_by": "EAI Internal"
}