Close Menu
  • Home
  • News
  • Cyber Security
  • Internet of Things
  • Tips and Advice

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Ex-Google Engineer Convicted for Stealing AI Secrets for China Startup

February 7, 2026

Substack Confirms Data Breach, “Limited User Data” Compromised

February 6, 2026

SmarterMail Fixes Critical Unauthenticated RCE Flaw with CVSS 9.3 Score

February 6, 2026
Facebook X (Twitter) Instagram
Saturday, February 7
Facebook X (Twitter) Instagram Pinterest Vimeo
Cyberwire Daily
  • Home
  • News
  • Cyber Security
  • Internet of Things
  • Tips and Advice
Cyberwire Daily
Home»News»Npm Malware Uses Invisible Dependencies to Infect Dozens of Packages
News

Npm Malware Uses Invisible Dependencies to Infect Dozens of Packages

Team-CWDBy Team-CWDOctober 29, 2025No Comments2 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email


An ongoing npm credential harvesting campaign operating since August 2025 has been discovered by researchers at Koi Security.

The malware, dubbed PhantomRaven by the researchers, is actively stealing npm tokens, GitHub credentials and CI/CD secrets from developers worldwide, with 126 npm packages infected, totalling 20,000 downloads.

At least 80 of them were still active when the Koi Security report was published on October 29.

While the attacker’s infrastructure was described in the report as “surprisingly sloppy” because a simple analysis led the researchers to a single individual, they commented that the delivery mechanism is “clever.”

Remote Dynamic Dependencies Technique Explained

The attacker uses Remote Dynamic Dependencies (RDD) to hide malicious code in externally hosted packages fetched at install time via HTTP URLs, bypassing npm’s security scans and dependency analysis by appearing as a clean, dependency-free package.

This technique evades detection by loading the payload only when the victim runs npm install, pulling it from an attacker-controlled server instead of the npm registry.

Since the dependency is fetched fresh for every install from an attacker-controlled server, the attacker can dynamically tailor payloads, serving clean code to researchers, delayed malware to high-value targets or even geofenced attacks, all while npm’s cache-free design ensures victims always get the latest – and most dangerous – version.

Malicious Npm Packages Exploit AI ‘Slopsquatting’

The package names in the PhantomRaven campaign also use typosquats crafted to exploit the tendency of large language models (LLM), hallucinations.

“When developers ask AI assistants like GitHub Copilot or ChatGPT for package recommendations, the models sometimes suggest plausible-sounding package names that don’t actually exist. PhantomRaven created those non-existent packages,” the Koi Security researchers explained.

This technique is commonly known as slopsquatting.

“PhantomRaven demonstrates how sophisticated attackers are getting at exploiting blind spots in traditional security tooling. Remote Dynamic Dependencies aren’t visible to static analysis. AI hallucinations create plausible-sounding package names that developers trust. And lifecycle scripts execute automatically, without any user interaction,” concluded the researchers.

The Koi Security report provided a list of the compromised npm packages as well as details on the attacker’s infrastructure.

Read now: Npm Package Hijacked to Steal Data and Crypto via AI-Powered Malware



Source

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleHackers Used Snappybee Malware and Citrix Flaw to Breach European Telecom Network
Next Article Google Identifies Three New Russian Malware Families Created by COLDRIVER Hackers
Team-CWD
  • Website

Related Posts

News

Ex-Google Engineer Convicted for Stealing AI Secrets for China Startup

February 7, 2026
News

Substack Confirms Data Breach, “Limited User Data” Compromised

February 6, 2026
News

SmarterMail Fixes Critical Unauthenticated RCE Flaw with CVSS 9.3 Score

February 6, 2026
Add A Comment
Leave A Reply Cancel Reply

Latest News

North Korean Hackers Turn JSON Services into Covert Malware Delivery Channels

November 24, 202522 Views

macOS Stealer Campaign Uses “Cracked” App Lures to Bypass Apple Securi

September 7, 202517 Views

North Korean Hackers Exploit Threat Intel Platforms For Phishing

September 7, 20256 Views

U.S. Treasury Sanctions DPRK IT-Worker Scheme, Exposing $600K Crypto Transfers and $1M+ Profits

September 5, 20256 Views

Ukrainian Ransomware Fugitive Added to Europe’s Most Wanted

September 11, 20255 Views
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Most Popular

North Korean Hackers Turn JSON Services into Covert Malware Delivery Channels

November 24, 202522 Views

macOS Stealer Campaign Uses “Cracked” App Lures to Bypass Apple Securi

September 7, 202517 Views

North Korean Hackers Exploit Threat Intel Platforms For Phishing

September 7, 20256 Views
Our Picks

2025’s most common passwords were as predictable as ever

January 21, 2026

Can password managers get hacked? Here’s what to know

November 14, 2025

When ‘hacking’ your game becomes a security risk

October 17, 2025

Subscribe to Updates

Get the latest news from cyberwiredaily.com

Facebook X (Twitter) Instagram Pinterest
  • Home
  • Contact
  • Privacy Policy
  • Terms of Use
  • California Consumer Privacy Act (CCPA)
© 2026 All rights reserved.

Type above and press Enter to search. Press Esc to cancel.