SecurityOnlineDo Son
Bitdefender uncovers malware targeting GitHub AI coding agents
Part of the Bitdefender story · since 5 Nov
- Thu 5 Nov, 09:30 UTC. Bitdefender, first report. Bitdefender finds Android flaw that can trap phones in crash loops.
- Thu 5 Nov, 11:00 UTC. Infosecurity, its first report on the story. Bitdefender Finds Android Bug That Can Trap Phones in Reboot Loop.
- Tue 10 Nov, 09:31 UTC. SecurityOnline, its first report on the story. Bitdefender finds Android flaw that can trap phones in boot loops.
- Thu 12 Nov, 11:00 UTC. Bitdefender. NIKKE game launcher used to deliver Lua information stealer.
- Mon 16 Nov, 10:01 UTC. SecurityOnline. Bitdefender Finds Lua Stealer Delivered Through NIKKE Launcher.
- Tue 17 Nov, 15:30 UTC. Bitdefender. Bitdefender Finds GitHub Malware Targeting AI Coding Assistants.
- Wed 18 Nov, 14:00 UTC. Infosecurity. Bitdefender Says EggStreme Malware Was Rebuilt After Exposure.
- Wed 18 Nov, 15:00 UTC. The Hacker News, its first report on the story. EggStreme Malware Adds a Silent Variant for Philippine Attacks.
- Wed 18 Nov, 17:58 UTC. cybersixt, its first report on the story. JPMorgan, Visa data breach: vendor hacks behind n0n claims.
- Thu 19 Nov, 08:31 UTC. SecurityOnline. Bitdefender uncovers malware targeting GitHub AI coding agents. This article, 10th of 10.
Bitdefender Labs researcher Andrei Anton-Aanei has uncovered a campaign that distributes GitHub AI agent malware across development workstations via 22 poisoned GitHub repositories. The campaign relies on malicious AGENTS[.]md and CLAUDE[.]md instruction files, hidden editor configurations and SessionStart hooks to trigger code execution without user confirmation.
The multi-stage loader begins with a 3.75 MB setup.js, which hex-decodes an embedded string and applies ROT13 to launch a Node.js stager that decrypts a 4.67 MB Bun bundle. The stager then locates or downloads the Bun runtime and pipes the payload into bun run. Windows Credential Manager modules are concealed inside a compressed _bz field in package.json.
The attackers propagate locally by scanning the user’s home folder for 14 AI tool configurations (including Claude, Codex, Gemini, Copilot, Cursor, and others) and injecting rogue instructions or MCP server settings; remotely, they abuse stolen GitHub and GitLab tokens to inspect up to 50 branches across 25 target repositories and publish compromised code to npm, PyPI, RubyGems and JFrog.
The malware harvests secrets from CI/CD pipelines, cloud and container platforms, package registries, browsers, password managers, Credential Manager stores and SSH keys, validating tokens against provider APIs before exfiltration. Evidence cited includes 22 poisoned repositories and the use of project instruction files and SessionStart hooks to trigger execution without prompts. Attribution is not confirmed to any named threat group.
Bitdefender notes a self-propagating design intended to spread to multiple local AI configurations and remote repos, with 14 local tools and 25 remote targets potentially affected. The article also lists recommended defence steps, such as auditing AGENTS[.]md, CLAUDE[.]md, .cursorrules, .claude/settings.json, .mcp.json and .vscode/tasks.json, and rotating credentials after any suspected loader activity.
How the story developed
10 articles from 5 outlets since 5 Nov. Still developing; the latest report was 13 hours ago. This was the 10th report, 14 days after the first.
- Thu 5 Nov, 09:30 UTC. Bitdefender, first report. Bitdefender finds Android flaw that can trap phones in crash loops.
- Thu 5 Nov, 11:00 UTC. Infosecurity, its first report on the story. Bitdefender Finds Android Bug That Can Trap Phones in Reboot Loop.
- Tue 10 Nov, 09:31 UTC. SecurityOnline, its first report on the story. Bitdefender finds Android flaw that can trap phones in boot loops.
- Thu 12 Nov, 11:00 UTC. Bitdefender. NIKKE game launcher used to deliver Lua information stealer.
- Mon 16 Nov, 10:01 UTC. SecurityOnline. Bitdefender Finds Lua Stealer Delivered Through NIKKE Launcher.
- Tue 17 Nov, 15:30 UTC. Bitdefender. Bitdefender Finds GitHub Malware Targeting AI Coding Assistants.
- Wed 18 Nov, 14:00 UTC. Infosecurity. Bitdefender Says EggStreme Malware Was Rebuilt After Exposure.
- Wed 18 Nov, 15:00 UTC. The Hacker News, its first report on the story. EggStreme Malware Adds a Silent Variant for Philippine Attacks.
- Wed 18 Nov, 17:58 UTC. cybersixt, its first report on the story. JPMorgan, Visa data breach: vendor hacks behind n0n claims.
- Thu 19 Nov, 08:31 UTC. SecurityOnline. Bitdefender uncovers malware targeting GitHub AI coding agents. This article, 10th of 10.
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 10 articles as a listHide the list
- Thu 5 NovDay 02
- Bitdefender finds Android flaw that can trap phones in crash loops09:30 · Bitdefender · First report
- Bitdefender Finds Android Bug That Can Trap Phones in Reboot Loop11:00 · Infosecurity
Quiet for 5 days
Tue 10 NovDay 51- Bitdefender finds Android flaw that can trap phones in boot loops09:31 · SecurityOnline · Picked up again
Quiet for 2 days
Thu 12 NovDay 71- NIKKE game launcher used to deliver Lua information stealer11:00 · Bitdefender · Picked up again
Quiet for 4 days
Mon 16 NovDay 111- Bitdefender Finds Lua Stealer Delivered Through NIKKE Launcher10:01 · SecurityOnline · Picked up again
- Tue 17 NovDay 121
- Bitdefender Finds GitHub Malware Targeting AI Coding Assistants15:30 · Bitdefender
- Wed 18 NovDay 133
- Bitdefender Says EggStreme Malware Was Rebuilt After Exposure14:00 · Infosecurity
- EggStreme Malware Adds a Silent Variant for Philippine Attacks15:00 · The Hacker News
- JPMorgan, Visa data breach: vendor hacks behind n0n claims17:58 · cybersixt
- Thu 19 NovDay 141
- Bitdefender uncovers malware targeting GitHub AI coding agents08:31 · SecurityOnline · This article, 10th of 10