Agentjacking Attack Tricks AI Coding Agents Into Running Malicious Code

Jun 12, 2026

Cybersecurity researchers have described what they say is a new class of attack that can trick artificial intelligence (AI) coding agents into running arbitrary code on developer machines.

Called Agentjacking by Tenet Security, the attack can be triggered by means of a fake error report crafted using Sentry, an open-source error-tracking and performance-monitoring platform.

“The attack

Get Free Report & Network Analysis

Please check your email for the free report.