Skip to content
EventPast event

Security vendor discloses malicious GitHub repositories inducing AI coding agents to steal credentials

1 reports1 reporting sourcesplus 1 outlets covering itLatest report

Start here

AI overview

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)

Nov 23Nov 24Nov 25Now 39

Storyline

Developments on the same subject and issue, from earliest to latest

3 events
  1. · 2 reports· Attention41
    CSA research: instruction file poisoning of AI coding agents
  2. · 2 reports· Attention44
    42 GitHub repositories implanted with malicious payloads, triggered when AI programming tools open them
  3. · 1 reports· Attention39

    Security vendor discloses malicious GitHub repositories inducing AI coding agents to steal credentialsThis event

Progress timeline

Nov 19
Nov 18
  1. CybersecuritynewsSelected
    Bitdefender 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

Total 21 items

Attention trend

New sources per day

20 in 12 days·most 12 (Nov 19)·today 0

  • 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)

Hourly attention

Current attention 39·Peak in the comparable period 39 (Nov 22 22:00)·Change over the comparable past 24 hours 0%

010203040Nov 2222:00Nov 2317:00Nov 2412:00Nov 2507:00