Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Agentjacking: New Cyberattack Turns AI Coding Assistants Into Data Thieves

Riff's AI Headlines 1 min read

A novel cyberattack dubbed "Agentjacking" is exploiting the trust developers place in AI coding assistants, hijacking tools like Claude Code, Cursor, and GitHub Copilot to steal sensitive credentials and access private repositories.

According to researchers at Tenet Security, the attack works by planting fake error reports—mimicking legitimate Sentry crash logs—inside public website code. When a developer asks their AI agent to diagnose an issue, the agent blindly executes embedded malicious commands, believing it's fixing a real bug.

In tests, the attack achieved an 85% success rate. The researchers found that over 2,388 organizations were at risk, and more than 100 companies had already been compromised, including a Fortune 100 enterprise. Stolen data included AWS keys, GitHub tokens, and access to private codebases.

"The AI agent can't distinguish legitimate errors from planted fakes," the researchers noted. "It automatically executes commands that expose cloud infrastructure, private repositories, database access, and API secrets."

Unlike traditional prompt injection, Agentjacking exploits the trusted structure of services like Sentry rather than hidden text instructions. The attack is silent—the AI acts on false data without displaying warnings or asking for permission.

Sentry acknowledged the vulnerability but declined to implement a protocol-level fix, stating it is technically not defensible. The researchers emphasize that this is social engineering at the code level, urging developers to verify AI agent actions manually.

React