Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromiseloader-delivery-mechanism

PhantomRaven Campaign Uses 88 Malicious npm Packages to Steal Developer Secrets

Supply Chain Risk · 2 sources · Updated 5mo ago · First seen Mar 13, 2026

PhantomRaven Campaign Uses 88 Malicious npm Packages to Steal Developer Secrets

Researchers reported a renewed PhantomRaven software supply chain campaign on the npm registry involving 88 malicious packages masquerading as trusted JavaScript ecosystem projects, including packages themed around Babel and GraphQL Codegen. The packages were published across three waves from late 2025 into early 2026 and were designed to automatically fetch and run malware after installation, targeting developers and build environments rather than end users. The activity is not fluff: it is a substantive threat intelligence and malware distribution story involving active credential theft through open-source package abuse.

The malware exfiltrates sensitive data from developer systems and CI/CD environments, including emails and configuration data from .npmrc, .gitconfig, and environment variables, as well as tokens for GitHub, GitLab, CircleCI, and Jenkins. Reporting indicates PhantomRaven has kept core infrastructure and payload behavior broadly consistent since earlier activity, while adapting operational details by rotating npm and email accounts, changing package metadata and PHP endpoints, and increasing the pace of malicious package publication. Most of the packages were reportedly still available for download at the time of reporting, underscoring continued exposure for organizations that rely on npm-based development workflows.

Why it matters

Impact assessment

PhantomRaven is a direct supply-chain threat to organizations with JavaScript development workflows, especially engineering teams, build servers, and CI/CD environments that consume npm packages. The primary impact is credential theft and downstream compromise risk: stolen GitHub, GitLab, CircleCI, Jenkins, and developer configuration data can enable source-code access, pipeline tampering, secret reuse, and broader cloud or production intrusion.

The exposure is potentially widespread because the campaign abused the public npm registry and impersonated trusted ecosystem projects such as Babel and GraphQL Codegen. There is confirmed malicious activity in the wild through 88 published packages across three waves from November 2025 to February 2026, and most packages were reportedly still available for download at the time of reporting.

Affected populations

  • JavaScript and Node.js developers
  • Organizations using npm in local development or CI/CD pipelines
  • Build environments with access to source repositories and deployment credentials
  • Enterprises relying on GitHub, GitLab, CircleCI, or Jenkins tokens stored in developer systems or environment variables

Severity and business risk

  • Theft of developer and CI/CD secrets can lead to repository compromise, malicious code insertion, and software release tampering
  • Exposure of .npmrc, .gitconfig, and environment variables can reveal credentials, emails, internal configuration, and access tokens
  • Compromise of build infrastructure can create operational disruption and reputational damage through poisoned builds or unauthorized releases

Scope and incident status

  • 88 malicious npm packages were identified
  • Packages impersonated legitimate JavaScript ecosystem projects
  • Activity occurred in three waves between November 2025 and February 2026
  • Researchers reported the packages were still downloadable at the time of reporting
  • This is active malicious package distribution, not a theoretical risk or historical-only report
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.

4 events · Aug 1, 2025 – Mar 12, 2026
  1. Mar 12, 20269mo ago

    Researchers report PhantomRaven's return with 88 bad npm packages

    Reports published on March 12, 2026 disclosed that PhantomRaven had returned to npm with 88 malicious packages and had adapted its operation by rotating npm and email accounts, changing package metadata and PHP endpoints, and increasing publication pace.

  2. Nov 1, 20251y ago

    Malicious npm packages deliver info-stealing malware

    According to Endor Labs, installing the packages automatically downloaded and executed malware that stole developer emails, system details, and sensitive credentials from configuration files, environment variables, and CI/CD platforms.

  3. Nov 1, 20251y ago

    PhantomRaven launches three new npm attack waves

    Between November 2025 and February 2026, PhantomRaven conducted three new waves of attacks using 88 malicious npm packages impersonating trusted projects such as Babel and GraphQL Codegen.

  4. Aug 1, 20251y ago

    PhantomRaven begins npm supply-chain activity

    Endor Labs said PhantomRaven's infrastructure has remained broadly consistent since its initial activity in August 2025, marking the start of the campaign targeting the npm ecosystem.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Malware

1 linked
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.