BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

Agentjacking Attack Tricks AI Coding Assistants

Agentjacking exploits AI coding assistants via fake Sentry errors to run malicious code on developer machines.

  • Researchers at Tenet Security have uncovered a new attack class called “Agentjacking” that tricks AI coding agents into executing malicious code.
  • The exploit uses a fake error report sent to the Sentry platform, which AI agents then interpret and act upon as legitimate troubleshooting steps.
  • The attack can expose sensitive developer data like environment variables and Git credentials without needing phishing or server compromise.
  • Sentry acknowledged the flaw but deemed it “technically not defensible,” opting for a limited content filter instead of a full fix.

Cybersecurity researchers from Tenet Security revealed in June 2026 a novel attack vector that manipulates trusted AI coding assistants, a technique they’ve dubbed Agentjacking. This method allows an attacker to run arbitrary code directly on a developer’s machine by exploiting the integration between AI agents and the Sentry error-monitoring service.

- Advertisement -

The attack, as detailed by the researchers, begins when an attacker obtains a target’s publicly available Sentry Data Source Name (DSN). Consequently, they can send a maliciously crafted error event to Sentry’s ingest endpoint. This injected payload contains markdown formatted to mimic legitimate Sentry system output.

When a developer prompts their AI agent to fix unresolved issues, the agent retrieves the malicious event via the Model Context Protocol. However, the agent cannot distinguish the fake error from a real one. The AI coding assistant then executes the attacker’s code with the developer’s full system privileges.

This chain results in what the researchers call a “critical architectural flaw.” Meanwhile, the attacker never needs to breach the victim’s infrastructure directly. “The malicious instruction arrives disguised as a legitimate ‘Resolution’ inside an ordinary error,” the researchers explained.

Tenet Security tested the attack in a controlled environment, achieving an 85% success rate. They found at least 2,388 organizations with injectable DSNs. Sentry has activated a global filter for a specific payload string but maintains a broader fix is not feasible.

- Advertisement -

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

“Token Spraying” Attack Hits 79 Orgs via Stolen M365 Sessions

Attackers stole 497 Microsoft 365 sign-in tokens across 79 organizations using adversary-in-the-middle relays, compromising...

OpenAI Emails Reveal 2017 Tesla-Cerebras Acquisition Talks

Retail traders speculate that Cerebras’ steep stock decline could create a buying opportunity for...

Musk warns over 200 specialist AI cloud providers could fail

Elon Musk says more than 200 specialist AI cloud providers could fail or consolidate...

22 firms now oppose OKXICE tokenized stock venue

Six more firms including Wells Fargo, Cisco, and Marvell have objected to trading their...

TeraWulf CEO counters Musk’s stranded compute claim

TeraWulf CEO Paul Prager pushed back on Elon Musk's warning of "stranded compute" in...

Must Read

Top 5 Testing Tools For Blockchain Applications in 2022

Blockchain apps have been adopted popularly by some prominent industries due to its being a decentralized-designed technology. Furthermore, these apps eliminate the risks that...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading