Skip to content
NewA calmer, faster ZeroHour

Poisoned GitHub repos hijack AI coding agents to steal credentials

Original title: Hackers Hijack AI Coding Agents Through Malicious GitHub Repositories to Steal Developer Credentials

Cyber Security Newsby Tushar Subhra Dutta ()4 min read3
Part of a story covered by 3 sourcesMalicious GitHub files steer AI coding agents to steal secretsMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Bitdefender found 22 malicious links; a loader steals tokens and can push the same trap into other repositories.

Bitdefender Labs says attackers planted instructions and hooks in GitHub repositories so tools such as Claude Code and Cursor run a hidden setup.js. The multi-stage loader steals CI/CD, cloud, registry, browser, SSH and password-manager secrets, then can rewrite other agents’ settings and commit the trap into repositories the stolen tokens can push to. It may also try to republish packages. Bitdefender says AI Guardian detected all 22 samples in internal tests on November 10.

Unconfirmed: Bitdefender says new variants may not match its November 10 detection results.

Key facts
  • The outer script is a 3.75 MB single-line file using ROT13 and AES-128-GCM.
  • Spread is capped at 25 repositories and 50 branches by default.
  • Targeted agent names include Claude, Cursor, Copilot, Gemini and Cline.
  • IoCs include repos under toray, ConcordiaDev, itsunai and ejaaduipitara.
  • If the files ran, rotate every reachable token, key and cloud secret.
Security assessment · AI, from the article

Impact: Steals developer tokens, keys and cloud secrets

ProductAffected
Anthropic Claude Code—
Cursor—
What to do
  1. 1.Review AGENTS.md, CLAUDE.md, session-start hooks and unknown setup scripts before opening a repo.
  2. 2.If setup.js ran, rotate tokens, keys and cloud secrets that machine could reach.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Indicators of compromise

auto-extracted · verify before use · export allAll
TypeIndicatorContext
md52191cbd04134839daeb6b8909725eae0vice ab7ff2f782c194953e5811d16b9e1817 Imanilom/baraja-coffe 2191cbd04134839daeb6b8909725eae0 bajoebel/kkpatip 31f1f5d9c59b950d91d05cecee20fce8 ahmadtoha
md52f54f6d41f41bb3c8e684b0f009cbcc39a182b646c7fdff68f2ff9dfd822516 ConcordiaDev/theme_saimaniq 2f54f6d41f41bb3c8e684b0f009cbcc3 itsunai/docker-php-fpm 3794736979327349404171798328a38a its
md531f1f5d9c59b950d91d05cecee20fce8aja-coffe 2191cbd04134839daeb6b8909725eae0 bajoebel/kkpatip 31f1f5d9c59b950d91d05cecee20fce8 ahmadtohar9/restomoiz 908293cd1ed04cf50fbe72baf74967b6 tobi
md53794736979327349404171798328a38aniq 2f54f6d41f41bb3c8e684b0f009cbcc3 itsunai/docker-php-fpm 3794736979327349404171798328a38a itsunai/passport_auth_server 3794736979327349404171798328a3
md55c8db9bf78c6c2174ccf8a6299f9aafdf6d5a5b317f697310a796c rkamphuis012-hub/sr-pilot-codex-test 5c8db9bf78c6c2174ccf8a6299f9aafd Malala-Tour-Indonesia/Malala-Tour-Indonesia.github.io 82a8b
md55dc5473468ee2d8006ebdaab0c7e93fbb.io 82a8be193a41f5b17906f919a179d999 julieth333/campustech 5dc5473468ee2d8006ebdaab0c7e93fb madolee/da… (name truncated in source) a20a99e325226f56d7a2
md57ad1567180f6d5a5b317f697310a796cclaudiohernanbesada/xenios.api… (name truncated in source) 7ad1567180f6d5a5b317f697310a796c rkamphuis012-hub/sr-pilot-codex-test 5c8db9bf78c6c2174ccf8a
md582a8be193a41f5b17906f919a179d9999aafd Malala-Tour-Indonesia/Malala-Tour-Indonesia.github.io 82a8be193a41f5b17906f919a179d999 julieth333/campustech 5dc5473468ee2d8006ebdaab0c7e93fb mado
md5908293cd1ed04cf50fbe72baf74967b6atip 31f1f5d9c59b950d91d05cecee20fce8 ahmadtohar9/restomoiz 908293cd1ed04cf50fbe72baf74967b6 tobias94-design/s-valentine bbd5695c36e76538547c45fd17e6c7e
md5a20a99e325226f56d7a25460a9d436ab2d8006ebdaab0c7e93fb madolee/da… (name truncated in source) a20a99e325226f56d7a25460a9d436ab Note: IP addresses and domains are intentionally Qdefanged
md5ab7ff2f782c194953e5811d16b9e1817r 3794736979327349404171798328a38a ejaaduipitara/djp-devops ab7ff2f782c194953e5811d16b9e1817 ejaaduipitara/whatsapp-bot ab7ff2f782c194953e5811d16b9e1817
md5b9a182b646c7fdff68f2ff9dfd822516promise (IoCs):- Repository setup.js MD5 toray/QiniuSDK-lib b9a182b646c7fdff68f2ff9dfd822516 toray/widget-lib b9a182b646c7fdff68f2ff9dfd822516 toray/Xia
md5bbd5695c36e76538547c45fd17e6c7e408293cd1ed04cf50fbe72baf74967b6 tobias94-design/s-valentine bbd5695c36e76538547c45fd17e6c7e4 tobias94-design/gymtracker bbd5695c36e76538547c45fd17e6c7e4

From the original article

4 min read at cybersecuritynews.com

Hackers are planting poisoned files in GitHub repositories to make AI coding assistants run hidden malware. The malware steals developer credentials, and it also uses them to spread to other projects. The campaign targets tools such as Claude Code and Cursor, and 22 malicious GitHub links have been found so far.

Cyber Security News

By Tushar Subhra Dutta · cybersecuritynews.com

Read the full article at Cyber Security News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.