{
 "public_id": "AIR-2026-0052",
 "incident_id": "2026-02-github-copilot-cli-env-wrapper-malware",
 "date_disclosed": "2026-02-25",
 "date_occurred": null,
 "title": "GitHub Copilot CLI: wrapping curl and sh in env hides them from the read-only command validator, giving injection-driven malware execution with no approval",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "indirect_prompt_injection_repository_content",
 "agent_capability_abused": [
  "shell_execution",
  "allowlisted_command_execution"
 ],
 "target_product": "GitHub Copilot CLI",
 "target_vendor": "GitHub / Microsoft",
 "autonomy_level": "copilot_with_approval",
 "impact_realized": false,
 "impact_type": [
  "remote_code_execution",
  "malware_execution"
 ],
 "blast_radius": "Copilot CLI users working in untrusted repositories or with web search results",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI04",
   "ASI05"
  ],
  "mitre_atlas": [],
  "labels": [
   "allowlist_bypass",
   "command_parsing_flaw",
   "human_in_the_loop_bypass",
   "vendor_wontfix"
  ]
 },
 "defense_present": "human-in-the-loop approval for non-read-only commands such as curl and sh",
 "defense_bypassed": true,
 "fix_shipped": "none - GitHub closed the report as not a significant security risk",
 "primary_sources": [
  "https://www.promptarmor.com/resources/github-copilot-cli-downloads-and-executes-malware"
 ],
 "verified_quote": "Because curl and sh are passed as arguments to env, they are incorrectly parsed and are not identified by the validator as subcommands.",
 "confidence": "high",
 "notes": "PromptArmor. Reported 2026-02-25, closed by GitHub 2026-02-26 as 'a known issue that does not present a significant security risk'. Same class of allowlist-parsing defect as Johann Rehberger's Amazon Q find -exec finding (2025-08-amazon-q-find-exec-rce), here against Copilot CLI.",
 "risk_category": "security_fraud",
 "risk_secondary": [],
 "risk_subcategory": "Prompt Injection",
 "risk_sub_secondary": [
  "Remote Code Execution & Sandbox Escape"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "Copilot CLI executed the wrapped curl|sh with no approval",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_repository_content",
 "guardrail_kind": [
  "human_approval",
  "permission_scope"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [],
  "ghsa": []
 },
 "primary_asi": "ASI01",
 "agent_framework": "github_copilot",
 "model_provider": "microsoft",
 "model_name": "",
 "detection_mechanism": "external_researcher",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "privilege_escalation",
 "eai_domain": "access_control_and_permissions",
 "eai_secondary": [
  "policy_drift",
  "confused_deputy"
 ],
 "eai_reason": "impact rule: privilege_escalation",
 "asi_curated": [
  "ASI01",
  "ASI04"
 ],
 "asi_scope": "in_scope",
 "asi_provenance": "curated_plus_rule",
 "asi_reason": "curated: ASI01,ASI04 | added ASI05 (impact=code_exec)",
 "submitted_by": "EAI Internal"
}