PhantomRaven is a JavaScript-based information stealer targeting developers through the npm software supply chain. It is distributed in typosquatted and slopsquatted packages that appear benign but retrieve a malicious remote dynamic dependency during installation. The fetched dependency uses an installation lifecycle script to execute automatically. PhantomRaven harvests host and runtime information, Git and npm configuration data, developer usernames and email addresses, and CI/CD environment variables associated with GitHub Actions, GitLab CI, Jenkins, and CircleCI, potentially exposing authentication tokens, API keys, and other secrets. It exfiltrates collected data over HTTP. The activity has been linked to a financially motivated operator tracked as the PhantomRaven Operator, also known as JPD, which has targeted JavaScript developers and organizations in technology, retail, and hospitality sectors. Similar information-stealer code has also been associated with attempted distribution through PyPI.
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.
PhantomRaven est un infostealer JavaScript distribué via des paquets npm typosquattés utilisant une dépendance dynamique distante et un script preinstall.
29 distinct techniques documented for this family, organized by ATT&CK tactic.
L’infrastructure C2 comprend notamment npm.jpartifacts[.]com, packages.storeartifact.com et des sous-domaines storageartifact.com.
L’acteur a développé et distribué un infostealer JavaScript nommé PhantomRaven.
PhantomRaven: 126 Malicious npm Packages Steal Developer Tokens and Secrets Using Hidden Dependencies
L’acteur distribue PhantomRaven via des paquets npm typosquattés spécifiant une dépendance par URL HTTP distante.
“PhantomRaven ... was distributed through typosquatted and slopsquatted npm packages.”
Installation of the illicit packages... automatically downloads and executes malware...
„крадец на информации базиран на JavaScript (JS), познат како PhantomRaven“; актерот „го извршил својот preinstall script“.
«À l’installation, npm récupère la charge utile PhantomRaven depuis l’infrastructure attaquant-contrôlée.»
Installation of the illicit packages... automatically downloads and executes malware...
Les paquets contiennent du code minimal non malveillant mais déclarent une dépendance distante qui récupère PhantomRaven à l’installation.
“The malware ... was distributed through typosquatted and slopsquatted npm packages.”
Les paquets npm identifiés, dont transform-jsbi-to-bigint et sort-imports-es6-autofix, sont décrits comme typosquattés.
“These packages aimed to steal authentication tokens, CI/CD secrets, and GitHub credentials from developers.”
Пакетите имале цел „да крадат автентикациски токени, CI/CD тајни и GitHub акредитиви“ и собирале „променливите на околината ... за CI/CD системите GitHub Actions, GitLab CI, Jenkins и CircleCI“ и email адреси од Git/npm конфигурации.
...exfiltrates emails from .npmrc, .gitconfig, and environment variables...
PhantomRaven collecte des variables d’environnement CI/CD, notamment GitHub Actions, GitLab CI, Jenkins et CircleCI.
...executes malware that exfiltrates emails from .npmrc, .gitconfig, and environment variables, GitHub, GitLab, CircleCI, and Jenkins CI/CD tokens...
PhantomRaven: 126 Malicious npm Packages Steal Developer Tokens and Secrets Using Hidden Dependencies
Системскиот отпечаток вклучува „јавната IP адреса“.
PhantomRaven contacte «https://api64.ipify.org?format=json» pour déterminer l’IP externe.
“Once installed, PhantomRaven collects sensitive information including email addresses, CI/CD environment details, and system fingerprints.”
Le malware collecte le répertoire courant ainsi que des configurations Git/npm.
La liste de TTPs attribuée à l’opérateur inclut T1614.001.
«À l’installation, npm récupère la charge utile PhantomRaven depuis l’infrastructure attaquant-contrôlée.»
PhantomRaven collecte des informations système, des variables d’environnement CI/CD et des configurations Git/npm.
PhantomRaven est un infostealer qui collecte automatiquement des données système, CI/CD et Git/npm.
«L’exfiltration s’effectue via des requêtes HTTP GET et POST vers l’infrastructure C2.»
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.
„овие пакети [ги користел] како прикритие за преземање remote dynamic dependency (RDD) од надворешен сервер“.
“Once installed, PhantomRaven collects sensitive information ... transmitting them to an attacker-controlled server.”
9 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.