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.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
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.
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.
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.
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.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


