Skip to content

AI security

Agentjacking vulnerability exposes Claude Code and Cursor to hijacking via fake error reports

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: thenextweb.com

Researchers at Tenet Security found a way to compromise AI agents using the Model Context Protocol. The attack requires no malware, as the agent itself executes the attacker’s code with developer privileges.

The technique relies on spoofing data in Sentry. The attacker sends a fake report with a malicious command in the Resolution field. Agents connected to Sentry via MCP interpret this text as a trusted instruction and execute it in the terminal.

In tests, the vulnerability worked 85% of the time for Claude Code and Cursor. The attack gives access to environment variables, AWS keys, and GitHub tokens. It bypasses EDR and firewalls, as the agent’s actions are formally authorized by the user. Sentry addressed the issue with string filtering rather than fundamental changes.

Anthropic

Anthropic delays changes to Claude Code limits

Anthropic has delayed its planned switch to a new credit system for Claude Code. For now, Agent SDK and claude -p usage still count against your base plan limits. The old rules stay in place; no new charges or changes to your plan are in effect today.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.