{
 "public_id": "AIR-2025-0048",
 "incident_id": "2025-06-cursor-mcp-scraper-context-poisoning",
 "date_disclosed": "2025-06-24",
 "date_occurred": null,
 "title": "Context poisoning through an MCP web-scraper tool leads Cursor to run credential-exfiltrating shell commands",
 "class": "research_demo",
 "attack_surface": "mcp_server",
 "initial_vector": "indirect_prompt_injection_web_page",
 "agent_capability_abused": [
  "mcp_tool_invocation",
  "shell_execution"
 ],
 "target_product": "Cursor",
 "target_vendor": "Anysphere",
 "autonomy_level": "copilot_with_approval",
 "impact_realized": false,
 "impact_type": [
  "credential_theft",
  "data_exfiltration"
 ],
 "blast_radius": "Cursor users who connect an untrusted MCP server that returns web content",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI05"
  ],
  "mitre_atlas": [
   "AML.CS0045"
  ],
  "labels": [
   "mcp",
   "tool_output_poisoning",
   "shell_execution"
  ]
 },
 "defense_present": "Cursor's command-approval prompt",
 "defense_bypassed": false,
 "fix_shipped": null,
 "primary_sources": [
  "https://www.backslash.security/blog/simulating-a-vulnerable-mcp-server-for-context-poisoning",
  "https://raw.githubusercontent.com/mitre-atlas/atlas-data/main/dist/v6/ATLAS-2026.07.yaml"
 ],
 "verified_quote": "The idea was that when the MCP tool scraped the site it would incidentally feed the “prompt” to the Cursor LLM and “poison” its context. As a result, it would trick Cursor into executing the malicious command and sending a users’ sensitive data to a remote server.",
 "confidence": "high",
 "notes": "Backslash Security. Cursor still prompts the user before executing, so the approval gate is the only remaining control.",
 "risk_category": "security_fraud",
 "risk_secondary": [
  "privacy"
 ],
 "risk_subcategory": "Tool & Function Call Extraction / Abuse",
 "risk_sub_secondary": [
  "Prompt Injection",
  "Credential & Secret Theft"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "Cursor ran the credential-exfiltrating shell commands",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_web_page",
 "guardrail_kind": [
  "human_approval"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [
   "AML.CS0045"
  ],
  "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 ASI05 (vector=code_exec)",
 "submitted_by": "EAI Internal"
}