Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory

PhantomRaven

Also known asphantomraven

PhantomRaven is the name given by Koi Security to a software supply chain campaign targeting developers through malicious npm packages. The activity is assessed to have begun in August 2025 and involved 126 malicious npm packages that accumulated more than 86,000 downloads. The packages were designed to steal authentication tokens, CI/CD secrets, GitHub credentials, npm tokens, environment variables, system metadata, email addresses, public IP information, and other developer secrets from compromised machines. The campaign used a technique described as Remote Dynamic Dependencies (RDD), in which npm dependencies are specified via attacker-controlled external URLs rather than standard npm-hosted packages. This caused some packages to appear to automated tools as having "0 dependencies" while still fetching malicious code at install time from infrastructure including packages.storeartifact.com. The fetched dependency executed automatically through npm lifecycle scripts, including preinstall hooks. Because the dependency content was hosted externally, operators could change payloads over time, selectively deliver benign content to researchers, and serve malicious payloads to corporate networks or other chosen targets based on request characteristics such as IP address. Koi Security also reported that the campaign leveraged "slopsquatting": registering plausible package names that may be hallucinated by large language models and then recommended by AI coding assistants. According to the reporting, some victims installed these packages based on AI-generated recommendations. Koi Security and related reporting also noted packages in the wild that included PhantomRaven malware as dependencies. The campaign specifically targeted developers and developer environments. Reported package examples associated with the activity include op-cli-installer, unused-imports, badgekit-api-client, polyfill-corejs3, and eslint-comments. Some reporting stated that certain packages impersonated tools from GitLab and Apache. Koi Security published indicators of compromise and said npm was reviewing and removing the malicious packages. Separately, Endor Labs reported malicious npm packages initially linked to PhantomRaven, but later noted they were claimed to have been created by a security researcher as part of a legitimate experiment; Endor Labs challenged that claim, citing excessive data collection, lack of transparency, and rotated publisher identities. This caveat applies to that subset of reporting. No nation-state attribution is stated in the provided content. No aliases beyond the same-name form "phantomraven" are provided in the content.

Share:
Are they targeting you?

Know when an actor pivots toward your sector

Mallory correlates actor tradecraft and target patterns against your stack, your sector, and your geography. See overlap before they land.

MITRE ATT&CK

Tradecraft

8 distinct techniques observed across reporting, grouped by tactic. Hover any cell for the evidence excerpt; click through for MITRE's full description.

5 of 15 tactics9 techniques×N= number of intelligence reports citing this technique
MITRE ATT&CK
TA0001
Initial Access
1 technique
T1195×3
Supply Chain Compromise
TA0002
Execution
2 techniques
T1059
Command and Scripting Interpreter
T1204
User Execution
TA0005
Stealth
1 technique
T1036
Masquerading
TA0006
Credential Access
2 techniques
T1552
Unsecured Credentials
T1552.001
Credentials In Files
T1552.003
Shell History
T1555
Credentials from Password Stores
TA0010
Exfiltration
1 technique
T1041×2
Exfiltration Over C2 Channel
ACTIVITY FEED

Recent activity

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

the hacker newsNews
Mar 14, 2026
GlassWorm Supply-Chain Attack Abuses 72 Open VSX Extensions to Target Developers

Campaign involving malicious npm packages uploaded via disposable accounts, using Remote Dynamic Dependencies to deliver mutable payloads that steal environment variables, CI/CD tokens, and system metadata. The attribution is disputed in the content, with claims it may have been a security research experiment.

Read more
bleeping computerNews
Dec 29, 2025
The Real-World Attacks Behind OWASP Agentic AI Top 10

PhantomRaven is known for registering malicious npm packages with names that are likely to be hallucinated by AI assistants, leading developers to install malware through slopsquatting attacks.

Read more
the hacker newsNews
Oct 30, 2025
PhantomRaven Malware Found in 126 npm Packages Stealing GitHub Tokens From Devs

PhantomRaven is conducting a large-scale software supply chain attack campaign targeting the npm registry. The group has published over 100 malicious npm packages designed to steal authentication tokens, CI/CD secrets, and GitHub credentials from developers' machines. The campaign leverages novel techniques to evade detection, such as hiding malicious code in dependencies fetched from attacker-controlled URLs and exploiting slopsquatting to register plausible-sounding package names.

Read more
govinfosecurityNews
Oct 30, 2025
Breach Roundup: Hackers Probe Canada's Critical Infrastructure

PhantomRaven is a campaign targeting software developers via malicious npm packages to steal credentials and secrets, enabling further supply chain attacks.

Read more
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: sector and geo overlap with your footprint, the IOCs they’re burning right now, detection coverage, and what to do next.
Target overlap

Match sector + geo + tech-stack targeting against your real footprint.

Tradecraft mapping8

Every observed MITRE ATT&CK technique, grouped by tactic.

Malware arsenal

Families this actor is known to deploy, with IOCs and behavior.

Exploited CVEs

CVEs this actor has used in known campaigns.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Observables

Domains, IPs, and hashes tied to this actor, refreshed continuously.