
UpTrajectory Review
Tenet Security disclosed in June a flaw it calls agentjacking: a single crafted error event, sent to Sentry through a public credential that requires no breach and no login, slipped attacker instructions into data that AI coding agents then executed as trusted diagnostic output. In controlled tests against more than 100 targets, Claude Code, Cursor, and Codex ran the attacker's code with the developer's full privileges 85% of the time. EDR, WAF, IAM, and the firewall stayed silent. Sentry called the flaw "technically not defensible," and the Cloud Security Alliance classified agentjacking as a systemic vulnerability class within days.
This matters to any small business whose developers use AI coding agents wired into Sentry, Datadog, PagerDuty, Jira, or any MCP-connected tool the team treats as a trusted source. The attack needs no stolen password and no policy violation; every step in the chain is authorized, which is why your stack cannot see it. Tenet found 2,388 organizations with publicly exposed Sentry credentials that could receive injected events at scale. The work is proof-of-concept, not confirmed mass exploitation, but one captured Claude Code environment held a live AWS secret access key and private repository URLs.
What is genuinely new here is the inversion: the vulnerability does not live in your perimeter or your identity layer, it lives in the trust your agents place in routine data feeds. We agree with Tenet's scope test — if your agents can read from MCP-connected sources and execute shell commands, you carry the same blind spot regardless of which error tracker you run. We are skeptical of one thing: Sentry's DSN design, which makes credentials public by design for frontend error reporting, is not the flaw itself. The flaw is that agents treat whatever a DSN returns as safe instructions.
The second-order effects cut unevenly. Large shops with dedicated security teams can chase this; a five-person dev shop usually cannot. The cost lands on whoever holds cloud keys and customer data — one hijacked agent session can hand an attacker your AWS credentials and repo URLs without a single alert firing. Downstream, insurers and auditors will start asking whether your AI agents validate the data they ingest, and "the tool authorized it" will not satisfy them. Expect vendors to ship patches that treat symptoms while the trust-model problem persists.
Audit every publicly exposed Sentry DSN today, then restrict what your agents can do with the data those DSNs return — least-privilege scopes, no shell execution on unvalidated tool output, and human review before any agent runs code it fetched from an error report. Watch for the Cloud Security Alliance's guidance on MCP hardening and for Sentry's next architectural move. If you cannot answer whether your coding agents execute commands based on tool output alone, assume they do and tighten that path first.
“No credentials were stolen, no policy was violated, no perimeter was breached: every step in the chain was authorized. That is the problem.” — VentureBeat
Takeaway: Audit exposed Sentry DSNs now and strip shell-execution rights from AI agents that read MCP-connected tool output without validation.
Excerpt from the original — VentureBeat
A single fake error report hijacked Claude Code in controlled testing — the agent ran the attacker's code with the developer's full privileges, and not one alert fired. EDR, WAF, IAM, and the firewall all missed it completely.Tenet Security's June agentjacking disclosure describes a single crafted Sentry error event — sent through a public credential that requires no breach and no authentication — that injected attacker instructions into error data that Claude Code, Cursor, and Codex then executed as trusted diagnostic output. Tenet tested 100-plus targets in controlled conditions and achieved an 85% success rate. Sentry called the flaw "technically not defensible."he Cloud Security Alliance classified agentjacking as a systemic MCP vulnerability class within days of the disclosure. No credentials were stolen, no policy was violated, no perimeter was breached …