Attackers plant commands in Sentry error reports via publicly-exposed DSNs; agents execute them as trusted guidance through MCP, bypassing all standard security controls.
June 24, 2026
Summary
If your team routes Sentry issues to coding agents (Claude Code, Cursor, Codex), a single crafted error report can execute arbitrary code on developer machines with full access to credentials, CI/CD tokens, and cloud keys. This bypasses EDR, firewalls, and IAM because every step is authorized.
Why it matters
If your team routes Sentry issues to coding agents (Claude Code, Cursor, Codex), a single crafted error report can execute arbitrary code on developer machines with full access to credentials, CI/CD tokens, and cloud keys. This bypasses EDR, firewalls, and IAM because every step is authorized.
Implementation verdict
No patch exists yet—this is a fundamental model-layer flaw where agents cannot distinguish data from instructions. Immediate: audit Sentry DSN exposure in your codebase (Censys queries, GitHub searches). Rotate any exposed DSNs. Longer term: isolate AI agents in sandboxed runtimes with runtime controls that gate external command execution. Not safe to ignore if you use agent-based code fixing today.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.