Back Issues/Search Home → Calendar → Archive → RSS → Subscribe → Services → Vendors → Blog → Current Issue → Popular → Newsletters (LinkedIn, Substack)

All issues › Volume 344, Issue 3 › IT Vendor News › Bitdefender

How AI Agents Become New Targets in GitHub Malware Campaign

Bitdefender, Tuesday, November 17th, 2026

Bitdefender Labs found 22 malicious GitHub links whose files trick AI coding agents into running a credential-stealing payload.

Bitdefender Labs has identified 22 malicious GitHub links containing files that target AI coding assistants.

Instruction files such as AGENTS.md and CLAUDE.md tell the agent to run a script named setup.js without inspecting it, while session-start hooks in files such as .claude/settings.json can run it once a repository is trusted, with no prompt needed.

The script is a multi-stage loader that steals cloud secrets, SSH keys, API keys and source-control tokens, then injects malicious instructions, hooks or MCP configurations into local agent configurations.

It also uses validated GitHub and GitLab tokens to infect other repositories and republish packages, and Bitdefender advises reviewing agent configuration files before opening unfamiliar repositories.

more →  ·  More from Bitdefender →