Skip to main content
Mallory
← Back to News
package-repository-poisoningdependency-confusion-typosquatcredential-stealer-activitydata-exfiltration-method

PhantomRaven npm Packages Deploy JavaScript Credential Stealer

Supply Chain Risk · 3 sources · Updated 2mo ago · First seen Feb 9, 2026

PhantomRaven npm Packages Deploy JavaScript Credential Stealer

CrowdStrike identified PhantomRaven, a JavaScript information-stealer campaign attributed to a likely low-sophistication eCrime actor tracked as JPD. The actor distributed typosquatted npm packages that use HTTP-based remote dynamic dependencies: during installation, npm retrieves a malicious dependency whose preinstall script automatically executes the payload.

The stealer collects host and runtime details, Git and npm configuration, and CI/CD environment data that can expose developer credentials, then exfiltrates the information through HTTP GET and POST requests to attacker-controlled infrastructure. JPD may also be connected to PyPI-hosted stealer code and may have sought bug-bounty payouts using compromised data. npm 12 and later blocks dependency-install scripts by default unless explicitly approved, reducing exposure to this execution technique.

Why it matters

Impact assessment

PhantomRaven targets developer workstations and build environments that install npm packages, with particular risk to software vendors and organizations operating GitHub Actions, GitLab CI, Jenkins, or CircleCI. Successful execution can expose source-control credentials, npm tokens, CI/CD secrets, API keys, host metadata, and network details, enabling repository compromise, supply-chain abuse, and follow-on intrusion.

  • Scope: More than 100 typosquatted or slopsquatted npm packages were reportedly used. Exposure is broad across organizations consuming unvetted npm dependencies, but infection requires installation of a malicious package that resolves its HTTP remote dependency.
  • Affected populations: Node.js developers, CI runners, build agents, release engineering teams, and automated dependency-management workflows.
  • Business impact: Stolen CI/CD and Git credentials can permit code modification, artifact tampering, unauthorized cloud access, secret theft, and reputational damage. The actor may use obtained access to pursue fraudulent bug-bounty claims rather than resell data.
  • Exploitation status: This is an active, observed malicious npm supply-chain campaign. The reporting does not identify confirmed victim organizations or public stolen-data sales.
  • Mitigating condition: npm 12 and later blocks dependency-package install scripts by default unless explicitly approved, reducing exposure to this specific preinstall-based execution path.
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.

7 events · Feb 2025 – Sep 15, 2026
  1. Sep 15, 20262mo ago

    CrowdStrike publishes PhantomRaven stealer technical analysis

    CrowdStrike published technical details of PhantomRaven, reporting that typosquatted npm packages used remote dynamic dependencies and preinstall scripts to retrieve and execute the JavaScript stealer. The report documented collection of host, CI/CD, Git, and npm configuration data, HTTP GET/POST exfiltration, and additional C2 infrastructure and file hashes.

    PhantomRaven : un infostealer JS généré par LLM distribué via npm pour le bug bounty | CyberVeille
  2. Reported Feb 9, 202610mo ago

    CrowdStrike links JPD to PhantomRaven activity

    CrowdStrike associated the likely low-sophistication eCrime actor JPD with PhantomRaven deployments, citing linked npm identities, PyPI-hosted code, and infrastructure. It assessed with high confidence that the PhantomRaven code was almost certainly LLM-generated and with moderate confidence that the actor sought company access potentially to support bug-bounty reward claims.

    PhantomRaven: LLM-generated Information Stealer for Bug Bounty Hunting
  3. Reported Feb 9, 202610mo ago

    PyPI member links actor to information-stealer project

    A PyPI organization member accused the actor of attempting to build an information stealer and linked to the actor's main project, which was later removed from PyPI. Associated Python files remained accessible and contained stealer code similar to PhantomRaven.

    PhantomRaven: LLM-generated Information Stealer for Bug Bounty Hunting
  4. Nov 2025

    PhantomRaven npm campaign uses remote dependency installation

    A PhantomRaven campaign used techniques resembling the actor's claimed RCE method, using HTTP-hosted remote dependencies that retrieved a malicious package and executed its preinstall script during npm installation. The domain npm[.]jpartifacts[.]com was used for command-and-control activity.

    PhantomRaven: LLM-generated Information Stealer for Bug Bounty Hunting
  5. Oct 2025

    Koi Security and DCODX first identify PhantomRaven campaign

    Koi Security and DCODX first identified the PhantomRaven JavaScript information-stealer campaign in late October 2025. The campaign used slopsquatting and typosquatting to distribute more than 100 malicious npm packages.

    LLM помогнал во создавањето на PhantomRaven, малвер кој краде npm и GitHub акредитиви | MKD-CIRT | Национален центар за одговор на компјутерски инциденти
  6. Aug 2025

    Actor claims malicious npm package achieved RCE

    The actor claimed to have obtained remote code execution by publishing a malicious npm package with a preinstall script; the claim was not independently verified.

    PhantomRaven: LLM-generated Information Stealer for Bug Bounty Hunting
  7. Feb 2025

    Actor GitHub account files PyPI package-upload issue

    The threat actor's GitHub account submitted an issue to PyPI concerning an unsuccessful package upload.

    PhantomRaven: LLM-generated Information Stealer for Bug Bounty Hunting
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 →

Threat actors

2 linked

Malware

1 linked

Affected products

1 linked
Npm

Observables

8 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.