Malicious code and prompt-injection attacks targeting developers and AI-agent ecosystems
Supply Chain Risk · 27 sources · Updated 5mo ago · First seen Feb 23, 2026

Multiple reports describe social-engineering and supply-chain style attacks that trick developers or AI-agent users into executing attacker-controlled instructions. North Korean operators have been linked to the “Contagious Interview” campaign, in which fake recruiter personas lure software developers into running “technical interview” projects that deploy malware such as BeaverTail and OtterCookie for credential theft and remote access; GitLab reported banning 131 related accounts in 2025, with many repos using hidden loaders that fetched payloads from third-party services (e.g., Vercel) rather than hosting malware directly. Separately, OpenGuardrails reported a campaign on ClawHub (an OpenClaw AI agent “skills” repository) where attackers posted malicious troubleshooting comments containing Base64-encoded commands that download a loader from 91[.]92[.]242[.]30, remove macOS quarantine attributes, and install Atomic macOS (AMOS) infostealer—a delivery method that can evade package-focused scanning because the payload is in comments, not the skill artifact.
Research and incident writeups also highlight how indirect prompt injection and malicious open-source packages can compromise developer environments. NSFOCUS summarized a GitHub MCP cross-repository data leak scenario where attacker-injected instructions in public Issues could cause locally running AI agents to exfiltrate private repo data when agents act with broad GitHub permissions, and cited a similar hidden-command issue affecting an AI browser’s page summarization workflow. JFrog reported malicious npm packages (e.g., eslint-verify-plugin, duer-js) delivering multi-stage payloads including a macOS RAT (Mythic/Apfell) and a Windows infostealer, reinforcing ongoing risk from poisoned dependencies. In contrast, a DFIR case study on CVE-2023-46604 exploitation of Apache ActiveMQ leading to LockBit-style ransomware, and a Medium post on recon/content-discovery techniques, are separate topics and not part of the AI-agent/developer social-engineering thread.
Why it matters
Impact assessment
Developer workstations, open-source maintainers, AI-agent users, and organizations that allow AI assistants to read external content and write to repositories are directly affected. The impact is high because these attacks target systems that hold source code, cloud credentials, repository tokens, browser sessions, wallet material, and CI/CD access, creating both immediate endpoint compromise risk and downstream software supply-chain exposure.
The scope is broad and active rather than isolated. Multiple references describe exploitation in the wild across GitHub, GitLab, npm, PyPI, IDE ecosystems, AI-agent repositories, and interview-themed code repositories; reported activity includes more than 750 infected repositories, over 500 malicious VS Code task configurations, 101 commit-tampering instances, 131 GitLab account bans, and thousands of developer victims or check-ins tied to Contagious Interview-related operations.
Affected populations
- Software developers, especially candidates in job interviews and technical assessments
- Open-source maintainers with commit access
- Organizations with developer endpoints holding source code, secrets, cloud/API credentials, and signing or publishing access
- Users of AI coding assistants and local AI agents with file-write or broad GitHub permissions
- macOS users of OpenClaw/OpenClaw-adjacent ecosystems exposed to malicious ClawHub comments
- Web3, crypto, DeFi, and technology-sector targets are repeatedly named as priority victim groups
Severity and business consequences
- Credential theft: browser data, password manager contents, cloud tokens, SSH keys, repo tokens, wallet credentials
- Operational disruption: repository compromise, malicious commits, force-push tampering, persistence in developer tooling
- Financial loss: cryptocurrency theft and fraud risk are explicitly documented
- Reputational damage: trusted repositories and packages can become malware distribution channels
- Supply-chain risk: compromised maintainers or repos can propagate malware to downstream users without build-system compromise
Scope and known exploitation
- In-the-wild activity is established across fake interview repos, malicious packages, IDE extensions, Git hooks, VS Code tasks, and AI-agent prompt-injection scenarios
- Trend Micro reported more than 750 compromised repositories and over 500 malicious VS Code task files
- GitLab reported banning 131 accounts in 2025 tied to related DPRK activity
- Red Asgard reported more than 14,000 victim check-ins across about 2,500 unique machines in 36 countries
- The Realm case shows a successful malicious code insertion into a real repository, though the payload reportedly did not execute
- ClawHub malicious comments were observed under popular skills including Trello, Slack, and Gog
Key entities
- Threat actors/groups: NICKEL ALLEY, Void Dokkaebi, Famous Chollima, Lazarus, UNC1069, TeamPCP, GlassWorm
- Malware/tooling: BeaverTail, OtterCookie, InvisibleFerret, OmniStealer, DEV#POPPER/DEVSPOPPER, PyLangGhost, Atomic macOS/AMOS, Mythic/Apfell, bada stealer
- Platforms/ecosystems: GitHub, GitLab, Bitbucket, npm, PyPI, Go Modules, crates.io, Packagist, OpenVSX, ClawHub, VS Code, Cursor


