Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activityremote-access-implantai-platform-security

Trojanized npm Packages Deliver OtterCookie to Steal AI Coding Tool Secrets

Supply Chain Risk · 3 sources · Updated 5mo ago · First seen Apr 6, 2026

Trojanized npm Packages Deliver OtterCookie to Steal AI Coding Tool Secrets

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, or chai-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-checker was removed shortly before 2026-04-01
  • express-flowlimit and chai-extensions-extras reportedly remained live at publication time
  • Activity linked with moderate-high confidence to DPRK-associated Contagious Interview / OtterCookie operations active since at least October 2025
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Mar 20, 2026 – Apr 7, 2026
  1. Apr 7, 20268mo ago

    Downloads of the malicious packages exceed 500 combined

    By the time of later reporting, the three malicious npm packages had accumulated more than 500 total downloads, indicating measurable exposure among developers.

  2. Apr 4, 20268mo ago

    Researchers publicly link campaign to DPRK Contagious Interview activity

    Public reporting assessed the malicious npm campaign with moderate-high confidence as linked to the DPRK-associated Contagious Interview threat activity based on strong similarities to OtterCookie malware and shared tradecraft.

  3. Apr 4, 20268mo ago

    OtterCookie-linked malware targets AI coding tool data

    Researchers found the npm campaign delivered a multi-module backdoor closely resembling OtterCookie, capable of remote access, credential theft, file exfiltration, clipboard monitoring, and theft of data from AI coding tools including Cursor, Claude, Gemini CLI, Windsurf, PearAI, and Eigent.

  4. Mar 31, 20268mo ago

    gemini-ai-checker is removed from npm

    By shortly before April 1, the gemini-ai-checker package had been taken down from npm, while the related packages express-flowlimit and chai-extensions-extras remained available.

  5. Mar 20, 20268mo ago

    Related malicious npm packages are maintained on the same infrastructure

    The threat actor also operated the npm packages express-flowlimit and chai-extensions-extras, which used the same Vercel-hosted staging infrastructure to fetch and execute remote JavaScript payloads.

  6. Mar 20, 20268mo ago

    Trojanized npm package gemini-ai-checker is published

    A malicious npm package named gemini-ai-checker was published under the account "gemini-check," posing as a Google Gemini token verification utility while delivering malware to developers.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

5 linked
MetamaskClaude CodeBraveCursorClaude

Organizations

7 linked
WindsurfPhantomCursorMetamaskExodus MovementPearAIRonin Network

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.