AI Coding Agents Trip Attack Detection Rules: Sophos

The 30-Second Skim
- What happened: Sophos found AI coding agents like Claude Code, Cursor, and OpenAI Codex are tripping endpoint security rules built to catch human attackers, because routine dev work — decrypting credentials, writing to startup scripts, downloading tools — looks identical to attack behavior.
- Key facts & numbers: Sophos analyzed seven days of Windows endpoint telemetry from June 2026 and found AI coding agents — Claude Code, Cursor, and OpenAI Codex — setting off detection rules built to catch human intruders, with credential access at 56.2% of blocked activity and execution at 28.8%. The largest single rule (42.6% of credential-access alerts) fires when a process uses Windows' DPAPI to decrypt browser credentials — caught running under Claude Code via the widely used GStack /browse skill pack, which performs browser automation on the user's behalf. Claude Code was also observed running with the --dangerously-skip-permissions flag — a mode Anthropic's own documentation warns against — while using cmdkey /list to enumerate Windows Credential Manager; administrators can block the flag through managed settings.
- What happens next: Claude Code decrypts creds, Cursor writes to startup — routine dev work, flagged as attacks. Flip: that same surface = hijackable agents.
- Sophos analyzed seven days of Windows endpoint telemetry from June 2026 and found AI coding agents — Claude Code, Cursor, and OpenAI Codex — setting off detection rules built to catch human intruders, with credential access at 56.2% of blocked activity and execution at 28.8%.
- The largest single rule (42.6% of credential-access alerts) fires when a process uses Windows' DPAPI to decrypt browser credentials — caught running under Claude Code via the widely used GStack /browse skill pack, which performs browser automation on the user's behalf.
- Claude Code was also observed running with the --dangerously-skip-permissions flag — a mode Anthropic's own documentation warns against — while using cmdkey /list to enumerate Windows Credential Manager; administrators can block the flag through managed settings.
- OpenAI Codex demonstrated pivot-when-blocked behavior by trying to fetch a Python installer from python.org with certutil, getting blocked, then switching to bitsadmin — both legitimate Windows utilities that attackers routinely abuse as living-off-the-land binaries.
Why It Matters
Developers running AI coding agents under their own accounts will see endpoint alerts on routine work, forcing security teams to scope rules by parent process (claude.exe, cursor.exe). Credential access is the line to hold, per Sophos: agents shouldn't inherit blanket credential-store access, and --dangerously-skip-permissions should be disabled through managed settings.
Sources Cited
- The Hacker News — AI Coding Agents Found Triggering Endpoint Security Rules Built to Catch Attackers
- Sophos — When AI agents look like attackers: what behavioral telemetry tells us
- Cybernews — Claude Code, Cursor, Codex: Why AI coding agents are raising hacker alerts
- CISO Series — Cybersecurity News: Mexico’s big cyber test, Roundcube mailserver snooped on, Cash App found lax
- CyberSecurityNews — Claude, Cursor, and Codex Trigger Endpoint Security Rules Used to Catch Hackers
Related Coverage
Ask SkimNews