Skip to main content
Mallory
Malware1 associated actor

PhantomRaven

Tracked since Nov 25, 2025 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors1Associated
ATT&CK29Techniques
IOCs9Tracked
Type
Infostealer
Capabilities
Credential theftExfiltrationDefense evasionReconnaissance
Delivery
Cracked software

PhantomRaven is a JavaScript-based information stealer targeting developers and continuous integration/continuous delivery (CI/CD) environments through the npm software supply chain. It runs in the Node.js runtime and is associated with a financially motivated actor tracked as the PhantomRaven Operator, or JPD. The campaign began in August 2025 and was publicly documented in October 2025, initially involving 126 malicious packages with more than 86,000 downloads. Subsequent waves included 88 additional packages distributed between November 2025 and February 2026.

Distribution relies on typosquatted packages, impersonation of established development projects, and slopsquatting, in which attackers register package names hallucinated by AI coding assistants. The packages use Remote Dynamic Dependencies to retrieve malicious dependencies from attacker-controlled infrastructure during installation. A preinstall lifecycle script automatically executes the fetched payload. Hosting the malicious code outside the npm registry allows the visible packages to appear largely benign and evades security inspection limited to registry-hosted content.

PhantomRaven steals npm authentication tokens, GitHub credentials, and CI/CD secrets, including sensitive environment variables associated with GitHub Actions, GitLab CI, Jenkins, and CircleCI. It also gathers Git and npm configuration data, usernames, email addresses, operating-system and runtime details, host and network identifiers, process information, and timestamps. Collected data is exfiltrated to attacker-controlled infrastructure using HTTP GET and POST requests.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
PhantomRaven Operator (JPD)

PhantomRaven est un infostealer JavaScript distribué via des paquets npm typosquattés utilisant une dépendance dynamique distante et un script preinstall.

via cyberveillecyberveille.ch
MITRE ATT&CK

Techniques & procedures

29 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

2 techniques
T1583.001DomainsEvidence2

L’infrastructure C2 comprend notamment npm.jpartifacts[.]com, packages.storeartifact.com et des sous-domaines storageartifact.com.

T1587.001MalwareEvidence2

L’acteur a développé et distribué un infostealer JavaScript nommé PhantomRaven.

Initial Access

3 techniques
T1195Supply Chain CompromiseEvidence2

PhantomRaven: 126 Malicious npm Packages Steal Developer Tokens and Secrets Using Hidden Dependencies

T1195.001Compromise Software Dependencies and Development ToolsEvidence3

L’acteur distribue PhantomRaven via des paquets npm typosquattés spécifiant une dépendance par URL HTTP distante.

T1195.002Compromise Software Supply ChainEvidence3

“PhantomRaven ... was distributed through typosquatted and slopsquatted npm packages.”

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence1

Installation of the illicit packages... automatically downloads and executes malware...

T1059.007JavaScriptEvidence3

„крадец на информации базиран на JavaScript (JS), познат како PhantomRaven“; актерот „го извршил својот preinstall script“.

T1072Software Deployment ToolsEvidence2

«À l’installation, npm récupère la charge utile PhantomRaven depuis l’infrastructure attaquant-contrôlée.»

T1204User ExecutionEvidence1

Installation of the illicit packages... automatically downloads and executes malware...

Stealth

3 techniques
T1027.009Embedded PayloadsEvidence2

Les paquets contiennent du code minimal non malveillant mais déclarent une dépendance distante qui récupère PhantomRaven à l’installation.

T1036MasqueradingEvidence2

“The malware ... was distributed through typosquatted and slopsquatted npm packages.”

T1036.005Match Legitimate Resource Name or LocationEvidence2

Les paquets npm identifiés, dont transform-jsbi-to-bigint et sort-imports-es6-autofix, sont décrits comme typosquattés.

Credential Access

6 techniques
T1552Unsecured CredentialsEvidence1

“These packages aimed to steal authentication tokens, CI/CD secrets, and GitHub credentials from developers.”

T1552.001Credentials In FilesEvidence4

Пакетите имале цел „да крадат автентикациски токени, CI/CD тајни и GitHub акредитиви“ и собирале „променливите на околината ... за CI/CD системите GitHub Actions, GitLab CI, Jenkins и CircleCI“ и email адреси од Git/npm конфигурации.

T1552.003Shell HistoryEvidence1

...exfiltrates emails from .npmrc, .gitconfig, and environment variables...

T1552.007Container APIEvidence2

PhantomRaven collecte des variables d’environnement CI/CD, notamment GitHub Actions, GitLab CI, Jenkins et CircleCI.

T1555Credentials from Password StoresEvidence1

...executes malware that exfiltrates emails from .npmrc, .gitconfig, and environment variables, GitHub, GitLab, CircleCI, and Jenkins CI/CD tokens...

T1649Steal or Forge Authentication CertificatesEvidence1

PhantomRaven: 126 Malicious npm Packages Steal Developer Tokens and Secrets Using Hidden Dependencies

Discovery

5 techniques
T1016System Network Configuration DiscoveryEvidence1

Системскиот отпечаток вклучува „јавната IP адреса“.

T1016.001Internet Connection DiscoveryEvidence2

PhantomRaven contacte «https://api64.ipify.org?format=json» pour déterminer l’IP externe.

T1082System Information DiscoveryEvidence4

“Once installed, PhantomRaven collects sensitive information including email addresses, CI/CD environment details, and system fingerprints.”

T1083File and Directory DiscoveryEvidence2

Le malware collecte le répertoire courant ainsi que des configurations Git/npm.

T1614.001System Language DiscoveryEvidence2

La liste de TTPs attribuée à l’opérateur inclut T1614.001.

Lateral Movement

1 technique
T1072Software Deployment ToolsEvidence2

«À l’installation, npm récupère la charge utile PhantomRaven depuis l’infrastructure attaquant-contrôlée.»

Collection

2 techniques
T1005Data from Local SystemEvidence2

PhantomRaven collecte des informations système, des variables d’environnement CI/CD et des configurations Git/npm.

T1119Automated CollectionEvidence2

PhantomRaven est un infostealer qui collecte automatiquement des données système, CI/CD et Git/npm.

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence2

«L’exfiltration s’effectue via des requêtes HTTP GET et POST vers l’infrastructure C2.»

T1104Multi-Stage ChannelsEvidence2

Les paquets npm récupèrent la charge utile depuis une URL HTTP distante lors de l’installation; une méthode de repli WebSocket incomplète est également présente.

T1105Ingress Tool TransferEvidence1

„овие пакети [ги користел] како прикритие за преземање remote dynamic dependency (RDD) од надворешен сервер“.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence5

“Once installed, PhantomRaven collects sensitive information ... transmitting them to an attacker-controlled server.”

Indicators of compromise

Observables

9 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Nov 27, 2026Npm Malware: Latest Supply-Chain Attacks, How They Work & How to Protect Your Projects - Malware News - Malware Analysis, News and IndicatorsNamed malicious npm campaign involving 126 packages that retrieved malicious code from attacker-controlled URLs at installation time. Keeping payloads outside the registry allowed the campaign to evade scanners limited to registry contents. The packages accumulated more than 86,000 installations.Read more ↗scworldNews · Sep 21, 2026PhantomRaven malware distributed via npm package registry | brief | SC MediaJavaScript-based information stealer distributed through typosquatted and slopsquatted npm packages. It uses a remote dynamic dependency to evade security tools, collects authentication tokens, CI/CD secrets, GitHub credentials, email addresses, CI/CD environment details, and system fingerprints, then exfiltrates them to an attacker-controlled server. The activity appears primarily intended to identify bug-bounty opportunities.Read more ↗mkd cirtNews · Sep 18, 2026LLM помогнал во создавањето на PhantomRaven, малвер кој краде npm и GitHub акредитиви | MKD-CIRT | Национален центар за одговор на компјутерски инцидентиJavaScript-based npm supply-chain information stealer that collects developer email addresses, Git/npm configuration data, CI/CD secrets and environment variables, runtime and system-fingerprint information including public IP address, then exfiltrates the results to an attacker-controlled server. The operator reportedly used it to identify bug-bounty opportunities.Read more ↗cyberveilleNews · Sep 15, 2026PhantomRaven : un infostealer JS généré par LLM distribué via npm pour le bug bounty | CyberVeilleInfostealer JavaScript distribué par supply-chain npm. Lors de l’installation d’un paquet compromis, il collecte les informations système, l’adresse IP locale et externe, le répertoire courant, le PID, les variables d’environnement CI/CD, ainsi que les configurations Git et npm (notamment email et nom d’utilisateur). Les données sont exfiltrées via des requêtes HTTP GET et POST vers une infrastructure C2 contrôlée par l’attaquant.Read more ↗
+13 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching9Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping29Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.