Claude Code runs a GitHub repo's hidden malware without verification, giving attackers full control
Source published ·Modelwire updated
Original coverage: The Decoder ↗·How Modelwire adds context

The development
Mozilla's 0DIN security team has exposed a critical vulnerability in AI coding assistants like Claude Code: malicious GitHub repositories can execute hidden payloads that remain invisible to both static analysis and the AI agent itself, triggering full machine compromise through runtime DNS queries. This attack surface reveals a fundamental gap in how code-generation tools validate dependencies before execution, forcing the AI infrastructure community to reckon with supply-chain risks that bypass traditional scanning. The finding reshapes threat modeling for developer-facing AI products and underscores why autonomous code execution requires stronger sandboxing and verification layers.
Modelwire’s AI-generated summary of coverage from The Decoder.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
The critical detail is the runtime layer: the malicious payload isn't in the code the AI reads and summarizes, it fires during execution via DNS resolution, which means the AI's own inspection of the repository is structurally incapable of catching it. This isn't a prompt injection or a jailbreak; it's a supply-chain attack that exploits the gap between what an agent sees at parse time and what actually runs.
This is largely disconnected from recent activity in our archive, as we have no prior coverage to anchor to. It belongs to a growing body of research on agentic AI security, specifically the class of vulnerabilities that emerge when AI systems are given tool use and execution permissions rather than just text generation. The relevant context is the broader industry push toward autonomous coding agents, where Anthropic, Google, and others have been racing to ship products that write and run code on users' machines. That race has consistently outpaced the security frameworks designed to govern it.
Watch whether Anthropic ships a sandboxing or dependency-verification layer in Claude Code within the next 60 days. If they do not, and a second research team reproduces this class of attack against a different agentic coding tool, expect regulatory attention to follow quickly.
This interpretation is generated from the summary above and available source metadata. Our methodology · Report an error
MentionsClaude Code · Mozilla 0DIN · GitHub · Anthropic
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. The full content lives on the-decoder.com. If you’re a publisher and want a different summarization policy for your work, see our takedown page.