Skip to main content
Incident intelligence/SS-IR-088CASE FILE OPEN
Symbolic editorial illustration for SS-IR-088SERVANTSTACK // INCIDENT INTELLIGENCEFORENSIC IMAGE // VERIFIED FRAME
SS-IR-088 // INCIDENT REPORTDocumented

"Agentjacking"

A Single Poisoned Error Report Hijacks AI Coding Agents Into Running Attacker Code at an 85% Success Rate, With 2,388 Organizations Exposed

EXECUTIVE BRIEF

On June 12, 2026, researchers at Tenet Security disclosed "agentjacking," a new class of attack that quietly takes control of AI coding agents such as Claude Code, Cursor and OpenAI Codex.

FAILURE CHAINTRACE COMPLETE
  1. 01TRIGGEROn June 12, 2026, researchers at Tenet Security disclosed "agentjacking," a new class of attack that quietly takes…
  2. 02MACHINE ACTIONAutonomous actor
  3. 03MISSING GATEPredeployment and update validation
  4. 04IMPACTData security
01 // INCIDENT SUMMARY

The short version

On June 12, 2026, researchers at Tenet Security disclosed "agentjacking," a new class of attack that quietly takes control of AI coding agents such as Claude Code, Cursor and OpenAI Codex.

02 // KEY FACTS

Case telemetry

INCIDENT
SS-IR-088
DATE
June 12, 2026
SYSTEM
"Agentjacking"
LOCATION / SCOPE
Global (disclosed by Tenet Security)
EVIDENCE
Documented
AI ROLE
Autonomous actor
HARM
Data security
SOURCES
2 cited records
03ENTRY POINT // WHAT HAPPENED

The event

On June 12, 2026, researchers at Tenet Security disclosed "agentjacking," a new class of attack that quietly takes control of AI coding agents such as Claude Code, Cursor and OpenAI Codex. The technique hides malicious instructions inside an ordinary-looking error report on the Sentry monitoring platform; when a developer's AI agent fetches that error through a Model Context Protocol (MCP) connection to help debug, it cannot tell the attacker's text apart from legitimate system guidance and obeys it. A single unauthenticated HTTP request - using a Sentry "DSN" key that is public by design and embedded in front-end code - was enough to make the agent execute attacker-controlled commands on the developer's machine, succeeding 85% of the time. Tenet identified at least 2,388 organizations with exposed, injectable DSNs, and said its test payload ran inside AI assistants at more than 100 companies, including a Fortune 100 technology firm.

04CAUSAL TRACE // AI'S ACTUAL ROLE

What the machine did

Here the autonomous agent is the vulnerability. The whole attack hinges on the fact that MCP-connected agents treat data they retrieve - an error message - as if it were trustworthy instruction, so a few lines of carefully formatted markdown become commands the AI runs with the developer's own privileges. Once hijacked, the agent can exfiltrate environment variables, Git credentials, private repository URLs and developer identity, all while the attacker never touches the victim's infrastructure. Because the malicious action originates from a trusted local tool, it sails past EDR, WAF, IAM, VPN and firewall defenses that assume threats come from outside.

Autonomous actorAutomation was a causal participant—not a decorative label for the system around it.
05BLAST RADIUS // CONSEQUENCES

Where the failure landed

The disclosure exposed thousands of organizations to silent code execution through tools developers had welcomed inside their trust boundary, and proved the attack live against AI assistants at over 100 companies. Sentry acknowledged the issue but described it as "technically not defensible," shipping only a content filter that blocks specific known payload strings. The case is a landmark in the young field of agentic-AI security: it shows that giving an AI agent autonomy to read external data and act on a developer's behalf creates an attack surface where the poisoning of one trusted feed becomes remote code execution at scale.

06 // EVIDENCE STATUS

Documented

Supported by a first-party disclosure, technical research, or corroborated reporting cited below.

SOURCE RECORD UPDATED 2026-07-09

07 // SOURCE LEDGER

2 cited records

  1. 01
  2. 02
08CONTROL FAILURE // MISSING GOVERNANCE

Predeployment and update validation

The failure pattern in this case: Change reached production without sufficient validation.

09INTERVENTION POINT // HUMAN IN THE MIDDLE

The moment the path could change

A change owner validates provenance, blast radius, rollback readiness, and release evidence before deployment.

AI PROPOSESHUMAN OWNS THE DECISIONSYSTEM EXECUTES
10CONTROL DEPLOYMENT // AUTHORITYGATE

Change validation · rollback readiness

AuthorityGate is an Operational Resilience framework that inserts a qualified human Subject Matter Expert to review and approve an AI agent's consequential actions before they execute. An agent that silently runs shell commands, reads credentials and reaches private repositories the instant a fetched error tells it to is precisely the autonomy that agentjacking weaponizes. The root failure is that the agent was trusted to act on untrusted input with no human gate between "the error said so" and "the command ran." Under AuthorityGate, the high-impact step - executing code, touching secrets, exfiltrating data - requires a person's approval, so an injected instruction has to convince a human, not just a credulous agent.

CLOSELY MATCHED AUTHORITYGATE ANALYSISOWASP: Prompt Injection May Never Be FixedWhy governance must constrain agent actions when models cannot reliably distinguish hostile data from trusted instruction.
12 // THE ALTERNATIVE

Autonomy is a design choice.

See the operating model that keeps AI useful while preserving human authority at consequential moments.

Compare AgenticAI and AugmentedAI →