Trojanized npm Packages Deliver OtterCookie to Steal AI Coding Tool Secrets
Supply Chain Risk · 3 sources · Updated 5mo ago · First seen Apr 6, 2026

A malicious npm campaign used the account gemini-check to publish trojanized packages including gemini-ai-checker, express-flowlimit, and chai-extensions-extras, disguising them as legitimate developer utilities while delivering a staged JavaScript payload from Vercel-hosted infrastructure. Researchers linked the malware to OtterCookie, a modular Node.js backdoor associated with the DPRK-linked Contagious Interview activity cluster, citing overlaps in payload design, remote access capability, and data-theft behavior. The packages were downloaded more than 500 times in total, and while gemini-ai-checker was removed, the other packages were still available at the time of reporting.
The malware executed code in memory to reduce detection and then stole browser credentials, cryptocurrency wallets, files, clipboard contents, and developer secrets. It also explicitly targeted directories tied to AI coding tools including Cursor, Claude, Gemini CLI, Windsurf, PearAI, and Eigent, enabling theft of API tokens, conversation logs, source code, SSH keys, and cloud credentials. The campaign shows a software supply-chain intrusion aimed directly at developers, with a particular focus on compromising AI-assisted development environments and the sensitive access they contain.
Why it matters
Impact assessment
This campaign affects software developers and engineering organizations that consume npm packages, especially teams using AI-assisted coding tools such as Cursor, Claude, Gemini CLI, Windsurf, PearAI, and Eigent. The impact is high because the malware steals API tokens, conversation logs, source code, browser credentials, SSH keys, cloud credentials, wallet data, and clipboard contents while also providing remote access to the attacker.
The exposure is targeted at developers through the software supply chain rather than indiscriminate mass exploitation, but the packages were publicly available on npm and downloaded more than 500 times combined. Researchers linked the activity to OtterCookie and the DPRK-linked Contagious Interview cluster, indicating likely financially motivated theft and follow-on intrusion risk; the reporting describes active malicious package distribution in the wild.
Affected entities and populations
- npm users who installed
gemini-ai-checker,express-flowlimit, orchai-extensions-extras - Developer workstations running Node.js package installation workflows
- Organizations using AI coding assistants and storing secrets locally in tool-specific directories
- Users with browser-stored credentials, local wallet extensions, SSH material, and cloud configuration files
Severity and business risk
- Theft of developer and cloud secrets can enable source code compromise, CI/CD abuse, cloud account takeover, and lateral movement
- Browser credential and wallet theft creates direct financial and account compromise risk
- Remote access capability increases the chance of persistent workstation compromise and secondary payload delivery
- Exposure of AI tool logs and prompts may leak proprietary code, internal discussions, and regulated data
Scope and known activity
- Public npm distribution under account
gemini-check - More than 500 combined downloads reported
gemini-ai-checkerwas removed shortly before 2026-04-01express-flowlimitandchai-extensions-extrasreportedly remained live at publication time- Activity linked with moderate-high confidence to DPRK-associated
Contagious Interview/OtterCookieoperations active since at least October 2025


