{
 "public_id": "AIR-2026-0086",
 "incident_id": "2026-04-straiker-nomshub-cursor",
 "date_disclosed": "2026-04-03",
 "date_occurred": "2026-01-16",
 "title": "NomShub: malicious repo chains prompt injection, shell-builtin sandbox escape and Cursor's remote tunnel into a persistent shell",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "indirect_prompt_injection_repository_content",
 "agent_capability_abused": [
  "shell_command_execution",
  "remote_tunnel",
  "file_write_outside_workspace"
 ],
 "target_product": "Cursor on macOS (VS Code code-tunnel binary also affected)",
 "target_vendor": "Anysphere",
 "autonomy_level": "semi_autonomous",
 "impact_realized": false,
 "impact_type": [
  "remote_code_execution",
  "persistent_backdoor",
  "data_exfiltration"
 ],
 "blast_radius": "macOS developers opening a malicious repository in Cursor",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI05"
  ],
  "mitre_atlas": [],
  "labels": [
   "sandbox_escape",
   "shell_builtins",
   "remote_tunnel",
   "persistence"
  ]
 },
 "defense_present": "Cursor's shouldBlockShellCommand IDE-level command parser and workspace sandbox",
 "defense_bypassed": true,
 "fix_shipped": "Cursor 3.0, released 2026-04-02",
 "primary_sources": [
  "https://www.straiker.ai/blog/nomshub-cursor-remote-tunneling-sandbox-breakout"
 ],
 "verified_quote": "is completely blind to shell builtins-commands that are executed by the shell itself rather than as separate processes",
 "confidence": "high",
 "notes": "Authors Karpagarajan Vikkii and Amanda Rousseau (Straiker STAR Labs). Discovered 2026-01-16, reported 2026-02-02, acknowledged 2026-04-01, patched 2026-04-02. No CVE listed. Exfiltrated GitHub device code routes the reverse shell through Microsoft Azure tunnel infrastructure. Quote's em-dash normalized to a hyphen.",
 "risk_category": "security_fraud",
 "risk_secondary": [
  "privacy"
 ],
 "risk_subcategory": "Prompt Injection",
 "risk_sub_secondary": [
  "Supply Chain Compromise",
  "Remote Code Execution & Sandbox Escape",
  "Persistence & Covert C2",
  "Over-permissioned execution & lateral movement"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "Cursor executed the chain and opened a persistent remote tunnel",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_repository_content",
 "guardrail_kind": [
  "sandbox_isolation"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [],
  "ghsa": []
 },
 "primary_asi": "ASI01",
 "agent_framework": "cursor",
 "model_provider": "unknown",
 "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": [
  "supply_chain_vulnerabilities",
  "data_exfiltration_channels",
  "confused_deputy"
 ],
 "eai_reason": "impact rule: privilege_escalation",
 "asi_curated": [
  "ASI01"
 ],
 "asi_scope": "in_scope",
 "asi_provenance": "curated_plus_rule",
 "asi_reason": "curated: ASI01 | added ASI05 (impact=code_exec)",
 "submitted_by": "EAI Internal"
}