cd /news/ai-safety/claude-code-runs-a-github-repo-s-hid… · home topics ai-safety article
[ARTICLE · art-43280] src=the-decoder.com ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Claude Code runs a GitHub repo's hidden malware without verification, giving attackers full control

Security researchers at Mozilla's 0DIN platform demonstrated that a compromised GitHub repository can infect a developer's machine when an AI coding tool like Claude Code executes its setup, with malicious code loading at runtime via a DNS query to evade detection.

read1 min views1 publishedJun 29, 2026

Security researchers at Mozilla's 0DIN platform have shown how a single compromised GitHub repo can take over a developer's machine the moment an AI coding tool like Claude Code runs its setup. The catch: the malicious code only loads at runtime via a DNS query, invisible in the repo, to scanners, and to the AI agent itself.

The article Claude Code runs a GitHub repo's hidden malware without verification, giving attackers full control appeared first on The Decoder.

── more in #ai-safety 4 stories · sorted by recency
── more on @mozilla 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-code-runs-a-g…] indexed:0 read:1min 2026-06-29 ·