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

Chrome to Make HTTPS Mandatory by Default in 2026

October 29, 2025

Google Identifies Three New Russian Malware Families Created by COLDRIVER Hackers

October 29, 2025

Npm Malware Uses Invisible Dependencies to Infect Dozens of Packages

October 29, 2025
Facebook X (Twitter) Instagram
Wednesday, October 29
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

Chrome to Make HTTPS Mandatory by Default in 2026

October 29, 2025
News

Google Identifies Three New Russian Malware Families Created by COLDRIVER Hackers

October 29, 2025
News

Hackers Used Snappybee Malware and Citrix Flaw to Breach European Telecom Network

October 29, 2025
Add A Comment
Leave A Reply Cancel Reply

Latest News

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

September 7, 202512 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

The risks of unsupported IoT tech

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

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

September 7, 202512 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
Our Picks

When ‘hacking’ your game becomes a security risk

October 17, 2025

How chatbots can help spread scams

October 14, 2025

It’s all fun and games until someone gets hacked

September 26, 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)
© 2025 All rights reserved.

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