Infosecurity-Magazine New GitHub Exploit Allows AI Coding Agents to Execute Malicious Payloads
Article Content
- •AI coding agents can be tricked into executing malware from clean GitHub repositories.
- •The attack exploits automated error recovery and trust in initialization commands.
- •No malicious code is present in the repository, evading traditional security checks.
Researchers from Mozilla's 0DIN have demonstrated a new attack vector that allows AI coding agents, specifically Anthropic's Claude Code, to execute malicious payloads from seemingly benign GitHub repositories. The attack exploits the agent's automated error recovery process, where it runs initialization commands without human oversight. This method involves three steps: a Python package requiring initialization, a command that runs a script, and a DNS TXT record controlled by the attacker that retrieves and executes a payload. Notably, no malicious code exists in the cloned repository, making detection by security scanners and human reviewers nearly impossible. The attack grants the attacker a shell with the developer's privileges, allowing access to sensitive data such as environment variables and API keys. Although currently a proof-of-concept, the method poses a significant risk to developers using automated coding tools. The researchers recommend treating automated initialization steps as untrusted execution and implementing explicit human approval gates. No active exploitation has been reported yet.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (67)
Following this threat?
Track Kaspersky in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Continue Reading
New Workflow Identity Hijacking Threat Discovered in AI Systems Researchers at Noma Security have identified a new attack vector called Workflow Identity Hijacking, which allows malicious actors to exploit AI workflows by sending benign requests through unauthenticated entry points. This attack does not manipulate the underlying AI model but instead circumvents standard security…
Critical Zero-Day Exploits Target F5 and Check Point Products F5 Networks released emergency hotfixes for a critical zero-day vulnerability, CVE-2026-94127, in its BIG-IP Access Policy Manager on September 22, 2026, after confirming active exploitation. This flaw allows unauthenticated remote code execution (RCE) and has a CVSS score of 9.8. Concurrently, Check Point disclosed…