Back to Feed
Threat IntelligenceJun 18, 2026

Agentjacking: Researchers Show How One Fake Bug Report Can Hijack AI Coding Agents

Fake Sentry bug reports can trick AI coding agents into running malicious code.

Researchers have discovered a new attack technique called Agentjacking, where threat actors can submit fake Sentry error reports to trick AI coding assistants into executing arbitrary commands. By exploiting exposed Sentry Data Source Names (DSN), attackers can inject malicious instructions disguised as bug report details, leading to potential remote code execution and the exposure of sensitive developer secrets. This technique bypasses traditional security measures as the actions appear to be authorized.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Tenet?

Get an email when a new story names Tenet, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Agentjacking exploits a critical trust gap: AI coding assistants blindly act on data from monitoring tools like Sentry without verifying the legitimacy of the input. By exposing Sentry DSN credentials in code or repositories, organizations inadvertently hand attackers a vector to inject malicious instructions that appear fully authorized to the AI agent. This matters because the attack bypasses conventional security controls — there is no exploit in the traditional sense, only an AI following instructions it was never designed to question. As AI coding agents gain broader access to codebases, secrets, and execution environments, a single poisoned input can cascade into remote code execution and credential theft.

What helps against this

How we list vendors

Indicators of Compromise

Extracted by AI from the linked source. Not reviewed by an editor. How this works

  • domain — sentry.io

Entities

Sentry (product)Claude Code (product)Cursor (product)OpenAI Codex (product)Tenet (vendor)AI coding agents (technology)