Vulnerability critical Exploited in the wild
Severity
critical
no CVSS

Mandiant: Hijacked AI Coding-Assistant Session Deploys Shai-Hulud Across ~100 Internal Repos

Mandiant: Hijacked AI Coding-Assistant Session Deploys Shai-Hulud Across ~100 Internal Repos is a critical-severity supply chain compromise issue in Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency inst, an AI agent. Affected: Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency installs under a developer's credentials is in scope.. It has been exploited in the wild.

Is Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency inst running on your developers' machines? Anomity finds every device with this AI agent installed, shows the version, and can block it by policy. Detect this across your developers' devices with Anomity →

Key facts

ID
mandiant-hijacked-ai-coding-assistant-session-deploys-shai-hulud-across
Severity
critical
Attack type
Supply chain compromise, Credential theft, Malware
Component
Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency inst · AI agent
Known exploited
Yes
Published
Last verified

What is this vulnerability?

Mandiant's September 2026 AI Risk and Resilience report (Google Cloud; covered by The Hacker News on 16 September 2026) documents an IR case at an unnamed SaaS provider in which a threat actor hijacked an active AI coding-assistant session on a developer workstation. The assistant, described as a trusted interpreter in the environment, recommended installing an external package the attacker had poisoned; once that recommendation was accepted, the attacker used the live session to install an infostealer via a poisoned PyPI package, harvest GitHub OAuth tokens, and deploy the self-propagating Shai-Hulud worm across approximately 100 internal code repositories — automating theft of repository secrets and programmatic exfiltration of proprietary product source code. The actor then poisoned a package in the organization's own official namespace, causing a second infection when another employee pulled the compromised version. The public case study does not disclose the intrusion date, the specific assistant product, or how the session was taken over. Mandiant's named controls for this case: IDE/CLI verification hooks that check AI-recommended third-party dependencies against cryptographic checksums and approved allowlists; isolate local credentials so extensions cannot reach raw API keys or long-lived OAuth tokens; and route dependency egress through controlled internal registries.

Affected versions

AffectedFixed in
Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency installs under a developer's credentials is in scope.No fixed version listed

Am I affected by this vulnerability?

You are affected if you run Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency installs under a developer's credentials is in scope..

How do I fix it?

Enforce verification hooks so AI-recommended packages must match cryptographic checksums and an approved allowlist before install. Keep raw API keys and long-lived OAuth tokens out of reach of IDE extensions and agent runtimes (JIT secrets / credential isolation). Route npm/PyPI and other dependency traffic through an internal registry with egress controls. Treat coding assistants and MCP servers as privileged sessions: monitor first-time repo access and mass clone/push patterns, and be ready to revoke the developer's GitHub OAuth tokens if a session is suspected compromised. Diff .claude/settings.json and .vscode/tasks.json after any unexplained install — Shai-Hulud-family payloads have repeatedly planted persistence there.

How do I find every machine running Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency inst?

Anomity inventories the AI agents, MCP servers, IDE extensions and skills on each developer device, so you can see which machines run Not a single-product CVE — IR case study of a hijacked live coding-assistant session used as the execution path for Shai-Hulud. Any assistant that can recommend and trigger dependency inst and which version, then enforce a policy on it.

References