惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
MyScale Blog
MyScale Blog
博客园 - Franky
The Cloudflare Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
腾讯CDC
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
云风的 BLOG
云风的 BLOG

www.infosecurity-magazine.com

Just Three Ransomware Gangs Accounted for 40% of Attacks Last Month Google Chrome Rolls Out Protection Against Infostealers Targeting Session Cookies STX RAT Targets Finance Sector With Advanced Stealth Tactics Bitcoin Depot Reports $3.6m Crypto Theft After System Breach Atomic Stealer MacOS ClickFix Attack Bypasses Apple Security Warnings Middle East Hack-for-Hire Operation Traced to South Asian Cyber Espionage Group Governance Gaps Emerge as AI Agents Drive 76% Increase in NHIs Google Warns of New Threat Group Targeting BPOs and Helpdesks Google API Keys Quietly Gain Access to Gemini on Android Devices Critical Vulnerability in Ninja Forms Exposes WordPress Sites Anthropic Launches Project Glasswing to Use AI to Find and Fix Critical Software Vulnerabilities US Thwarts DNS Hijacking Network Controlled by Russian APT28 Hackers Claude Discovers Apache ActiveMQ Bug Hidden for 13 Years Iran‑Backed Threat Actors Hit US CNI Providers via Internet‑Facing OT Assets Russian APT28 Hackers Hijack Routers to Steal Credentials, UK Security Agency Warns GPU Rowhammer Attack Enables Privilege Escalation and Full System Compromise GrafanaGhost Exploit Bypasses AI Guardrails for Silent Data Exfiltration Over $17bn Lost to Cyber Fraud in the Last Year, Warns FBI Storm-1175 Exploits Flaws in High-Velocity Medusa Attacks Fortinet Releases Emergency Patch After FortiClient EMS Bug Is Exploited New Phishing Platform Used in Credential Theft Campaigns Against C-Suite Execs New 'Storm' Infostealer Remotely Decrypts Stolen Credentials NCSC Issues Security Alert Over Hackers Targeting WhatsApp and Signal Accounts Apple Expands iOS 18 Security Updates Amid DarkSword Threat Researchers Observe Sub-One-Hour Ransomware Attacks GitHub Used as Covert Channel in Multi-Stage Malware Campaign Most CNI Firms Face Up to £5m in Downtime from OT Attacks Google Introduces Android Dev Verification Amid Openness Debate New Venom Stealer MaaS Platform Automates Continuous Data Theft Chinese Hackers Target European Governments in Espionage Campaigns
Lookalike npm Package Hides a Multi-Stage Windows RAT
https://www.infosecurity-magazine.com/profile/alessandro-mascell · 2026-06-23 · via www.infosecurity-magazine.com

A malicious npm package has been caught impersonating one of the JavaScript ecosystem's most widely used build tools. The lookalike package hid a multi-stage Windows remote access trojan (RAT) in a supply chain attack on developer machines.

New analysis from JFrog detailed the package which was named postcss-minify-selector-parser. The moniker was intended to allow the package to pose as postcss-selector-parser, a hugely popular library with more than 150 million weekly downloads.

The illegitimate package was still available on the npm registry at the time of writing.

Built to Pass a Dependency Review

JFrog said because the package name sat close enough to the real package, it looked plausible during a quick dependency review.

It used the same postcss, selector and parser keywords, and it listed the genuine postcss-selector-parser among its own dependencies.

JFrog found two more packages in the same cluster, postcss-minify-selector and aes-decode-runner-pro, linked by dependencies. It traced them to a publisher using the name abdrizak. Decoded payloads from two of the packages led to the same Windows attack chain.

Read more on package impersonation: Attackers Move Past Typosquatting to Realistic Package Impersonation

From npm Import to Windows Payload

The malicious code ran as soon as the package was imported. JFrog found that importing it pulled in a file that should have held parser logic. Instead, the file carried a large encrypted blob and an AES-256-GCM decoder. Once decoded, it acted as a dropper, writing a PowerShell script to disk and running it.

The PowerShell script then downloaded a payload from a domain posing as a driver site, nvidiadriver[.]net. It downloaded a ZIP archive disguised as a Windows patch and unpacked it in the temp folder.

The archive held a bundled Python runtime and several Nuitka-compiled modules. A VBScript bootstrapper launched them to start the RAT.

RAT Built to Steal Browser Logins

Once running, the malware contacted its command server over encrypted HTTP. It set up persistence through a registry run key.

It also profiled the host and checked whether it was running inside a virtual machine. JFrog said the RAT could open a remote shell, move files to and from the machine and steal data from the victim.

The malware also targeted Google Chrome. JFrog said it was built to steal saved logins and to defeat the browser's newer app-bound encryption.

The firm urged anyone who installed the packages to remove them, check for the temp-folder and registry traces, then rotate stored credentials.

JFrog described the cluster as a package-impersonation attack: "For defenders, the important lesson is to treat lookalike build dependencies as potential delivery mechanisms, not just harmless naming noise."