Security vendor discloses malicious GitHub repositories inducing AI coding agents to steal credentials
Start here
Bitdefender Labs disclosed that attackers planted malicious content in instruction files such as AGENTS.md in GitHub repositories (indirect prompt injection) and in configurations, inducing AI coding agents such as Claude Code and Cursor to run hidden malware, steal credentials such as CI/CD, cloud platform and API keys, and use the stolen tokens to spread to other repositories; 22 malicious repository links have been found.
Generated by AI from reports · Updated 10 days ago
Attention and developments
Attention, hourly
Now 39, 0% in 24 hours·Peak 39 (Nov 22 22:00)
Storyline
- · 2 reports· Attention41CSA research: instruction file poisoning of AI coding agents
- · 2 reports· Attention4442 GitHub repositories implanted with malicious payloads, triggered when AI programming tools open them
- · 1 reports· Attention39
Security vendor discloses malicious GitHub repositories inducing AI coding agents to steal credentialsThis event
Progress timeline
- X@zaidmarji· DiscussionSource, Bitdefender Labs: https://t.co/4kuGq03i4w(opens the original post in a new tab)
- WebAI Threat Watch (aithreat.io)· Media coverageHackers Turn AI Coding Agent Configuration Files Into Malware Execution and Propagation Channels(opens the original post in a new tab)
- CybersecuritynewsSelectedBitdefender Labs says hackers used malicious GitHub repositories to hijack AI coding agents and steal developer credentials
Bitdefender Labs disclosed that hackers planted malicious instruction files and configurations in GitHub repositories to induce AI coding agents such as Claude Code and Cursor to run hidden malware that steals developer credentials, and 22 malicious repository links have been found. One path is writing seemingly official instructions into instruction files such as AGENTS.md and CLAUDE.md, requiring the agent to run setup.js without reading or displaying its contents, which is indirect prompt injection; the other is session startup hooks in configurations such as .claude/settings.json that directly execute commands. setup.js is a multi-stage loader whose final payload steals credentials including CI/CD, cloud platform, package registry, password manager, SSH keys, .env files, API keys and source control tokens, and uses stolen GitHub and GitLab tokens to commit trigger files to other repositories to self-propagate, with a default of up to 25 target repositories.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@pritesh_ghodgeCloned a repo and asked Claude Code to get it running? Bitdefender found 22 GitHub repos whose CLAUDE.md says setup.js…(opens the original post in a new tab)
- X@zaidmarjiSource, Bitdefender Labs: https://t.co/4kuGq03i4w(opens the original post in a new tab)
- X@zaidmarjiBitdefender found 22 GitHub repos whose agent instruction files tell your coding agent to run a "sealed" setup script w…(opens the original post in a new tab)
- X@SagarKant14Opening a strange repo in your AI coding agent? The CLAUDE.md or AGENTS.md inside can tell it to quietly run a script.…(opens the original post in a new tab)
- X@andrebrovA post citing Bitdefender reports 22 GitHub repos hiding prompt injections in CLAUDE.md and AGENTS.md files, aimed at g…(opens the original post in a new tab)
1 likes·Nov 20 03:57Collect
- X@LeMastelliniVocê clona um repo do GitHub, abre no Claude Code e pede "me explica esse projeto". Se o modo automático tá ligado, su…(opens the original post in a new tab)
- X@edinsoncodeBitdefender found 22 GitHub repos using AGENTS.md and CLAUDE.md to tell coding agents to run a "sealed" setup.js. With…(opens the original post in a new tab)
3 likes·Nov 19 21:45Collect
- X@JesseNotAiBitdefender found 22 GitHub links with poisoned AGENTS.md and CLAUDE.md files. They tell coding agents to run a hidden…(opens the original post in a new tab)
- X@window98seBitdefender found 22 malicious GitHub repos targeting AI coding agents: AGENTS.md/CLAUDE.md files tell the agent to run…(opens the original post in a new tab)
- X@window98seAI 코딩 에이전트를 노린 악성 GitHub 저장소 22개 발견(Bitdefender). AGENTS.md·CLAUDE.md로 setup.js를 '읽지 말고 실행'하게 해 자격증명을 훔치고 퍼진다. 남의 저장소는…(opens the original post in a new tab)
1 likes·Nov 19 21:45Collect
- X@MalwareBibleJPReports of 22 links on GitHub that abuse the instruction files "AGENTS[.]md" and "CLAUDE[.]md" read by AI coding assistance tools to execute malware on developers' devices. The initialization script falsely claims to be signed internal processing, and checking its contents…(opens the original post in a new tab)
1 likes·Nov 19 21:45Collect
- X@Daily_CyberSecBitdefender uncovers AI agent malware in 22 repositories. See how the GitHub AI agent malware abuses project rules and…(opens the original post in a new tab)
1 likes·Nov 19 21:45Collect
Attention trend
New sources per day
- Nov 18: 5 new sources (1 outlets, 4 accounts)
- Nov 19: 12 new sources (1 outlets, 11 accounts)
- Nov 20: 3 new sources (0 outlets, 3 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)