{
 "public_id": "AIR-2025-0103",
 "incident_id": "2025-08-amazon-q-dns-exfil",
 "date_disclosed": "2025-08-18",
 "date_occurred": null,
 "title": "Amazon Q Developer leaks secrets via DNS because ping and dig were allowlisted as read-only",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "indirect_prompt_injection_source_code",
 "agent_capability_abused": [
  "shell_command_execution",
  "file_read"
 ],
 "target_product": "Amazon Q Developer VS Code extension",
 "target_vendor": "Amazon Web Services",
 "autonomy_level": "semi_autonomous",
 "impact_realized": false,
 "impact_type": [
  "data_exfiltration",
  "credential_theft"
 ],
 "blast_radius": "Amazon Q Developer users (~1M)",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI02"
  ],
  "mitre_atlas": [],
  "labels": [
   "dns_exfiltration",
   "allowlist_abuse",
   "command_classification_error"
  ]
 },
 "defense_present": "command approval for mutating commands only",
 "defense_bypassed": true,
 "fix_shipped": "patched by AWS (version not stated); AWS declined to publish a CVE or advisory despite rating it CVSS High",
 "primary_sources": [
  "https://embracethered.com/blog/posts/2025/amazon-q-developer-data-exfil-via-dns/"
 ],
 "verified_quote": "Yes, Amazon Q leaked contents of the `.env` file via a `ping` request without the developer's consent.",
 "confidence": "high",
 "notes": "Month of AI Bugs. Directly analogous to CVE-2025-55284 in Claude Code.",
 "risk_category": "security_fraud",
 "risk_secondary": [
  "privacy"
 ],
 "risk_subcategory": "Prompt Injection",
 "risk_sub_secondary": [
  "Credential & Secret Theft",
  "Remote Code Execution & Sandbox Escape"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "Amazon Q ran ping/dig to exfiltrate secrets over DNS",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_source_code",
 "guardrail_kind": [
  "human_approval"
 ],
 "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": [
  "credential_theft",
  "confused_deputy"
 ],
 "eai_reason": "impact rule: data_exfiltration_channels",
 "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"
}