Hackers Hijack AI Coding Agents Through Malicious GitHub Repositories to Steal Developer Credentials
Hackers poison GitHub repos to steal dev credentials via AI coding assistants.
Hackers are planting malicious files in GitHub repositories to trick AI coding assistants into running hidden malware. This malware steals developer credentials and uses them to spread to other projects, targeting tools like Claude Code and Cursor. The campaign abuses project files, rules, hooks, and settings that AI coding tools use for automation, with 22 malicious GitHub links identified so far.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Bitdefender?
Get an email when a new story names Bitdefender, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonAttackers are embedding malicious instructions inside GitHub repository configuration files — such as project rules, hooks, and settings — that AI coding assistants automatically read and execute as part of their normal workflow. Because developers implicitly trust repositories they clone or reference, and because AI tools consume these files without user scrutiny, hidden commands can silently exfiltrate credentials and propagate malware to other projects. This represents a new class of supply chain attack where the AI tool itself becomes the unwitting delivery mechanism. The stolen credentials then enable lateral movement across developer environments, multiplying the blast radius far beyond the initial compromise.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- AI application security
Prompt injection, data leaks through AI tools and unapproved AI use get caught.
Indicators of Compromise
Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works
- malware: setup.js
- hash_md5: b9a182b646c7fdff68f2ff9dfd822516
- hash_md5: 5dc5473468ee2d8006ebdaab0c7e93fb
- hash_md5: a20a99e325226f56d7a25460a9d436ab
- hash_md5: ab7ff2f782c194953e5811d16b9e1817
- hash_md5: 31f1f5d9c59b950d91d05cecee20fce8
- hash_md5: 2191cbd04134839daeb6b8909725eae0
- hash_md5: bbd5695c36e76538547c45fd17e6c7e4
- hash_md5: 7ad1567180f6d5a5b317f697310a796c
- hash_md5: 5c8db9bf78c6c2174ccf8a6299f9aafd
- hash_md5: 2f54f6d41f41bb3c8e684b0f009cbcc3
- hash_md5: 908293cd1ed04cf50fbe72baf74967b6
- hash_md5: 82a8be193a41f5b17906f919a179d999
- hash_md5: 3794736979327349404171798328a38a