Before you open a repo you didn't write in an AI coding tool, read its AGENTS.md, CLAUDE.md, .claude/, .cursor/, .mcp.json and .vscode/tasks.json, and never let the agent run a script it is told not to inspect
Bitdefender Labs said on 17 Nov 2026 it had found 22 malicious GitHub links built to target developers using AI coding assistants. Files such as AGENTS.md and CLAUDE.md tell the assistant that scripts/setup.js is a 'sealed' signed artifact it must not read, and to run it automatically at session start without asking. A second route uses a session-start hook in .claude/settings.json, so the script runs once the repo is trusted with no prompt at all. The heavily obfuscated payload steals CI/CD tokens, cloud secrets, package-registry credentials, SSH keys, .env files, API keys, browser and password-manager data, then searches the machine for config files of 14 agents (Claude, Codex, Gemini, Copilot, Cursor, Bolt, Cline, Aider and others) to plant malicious instructions, hooks or MCP servers. With stolen GitHub or GitLab tokens it can commit the same files into up to 25 other repos by default and try to republish infected packages to npm, PyPI, RubyGems and JFrog.