ctipilot.ch

PostCSS npm typosquats deliver Nuitka Python RAT (abdrizak)

campaign · item:postcss-npm-typosquat-python-rat

Coverage timeline
1
first 2026-06-24 → last 2026-06-24
Briefs
1
1 distinct
Sources cited
2
2 hosts
Sections touched
1
active_threats
Co-occurring entities
0
no co-occurrence

Story timeline

  1. 2026-06-24CTI Daily Brief — 2026-06-24
    active_threatsFirst coverage. JFrog disclosure; AES-GCM dropper to Chrome-credential-stealing RAT.

Where this entity is cited

  • active_threats1

Source distribution

  • research.jfrog.com1 (50%)
  • thehackernews.com1 (50%)

Items in briefs about PostCSS npm typosquats deliver Nuitka Python RAT (abdrizak) (1)

PostCSS npm typosquats deliver a Nuitka-compiled Python RAT with Chrome DPAPI credential theft

From CTI Daily Brief — 2026-06-24 · published 2026-06-24 · view item permalink →

JFrog Security Research disclosed (2026-06-22) three malicious npm packages published by the account abdrizakpostcss-minify-selector-parser, postcss-minify-selector and aes-decode-runner-pro — that typosquat the legitimate postcss-selector-parser (150M+ weekly downloads) (JFrog, 2026-06-22; The Hacker News, 2026-06-23). On import, each package's index.js decrypts an AES-256-GCM blob and runs a JavaScript dropper that writes and executes a PowerShell downloader (settings.ps1); PowerShell pulls a Windows payload from an attacker-controlled host, a VBScript bootstrapper (update.vbs) extracts an archive, and a Nuitka-compiled Python 3.10 RAT (chost.exe loading loader.py plus six .pyd extension modules) activates. The RAT performs RC4-encrypted HTTP POST C2, registry Run-key persistence under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, VM detection via WMI and adapter-MAC heuristics, remote shell, file transfer, and Chrome credential and extension-data theft via a DPAPI / app-bound-encryption bypass.

Why it matters to us: This is the npm typosquat-to-RAT pattern aimed squarely at developer endpoints and CI/CD runners — the highest-trust hosts in a software supply chain. Mapped to T1195.001/T1195.002 (Supply Chain Compromise), T1059.001 (PowerShell), T1027 (obfuscation — AES + Nuitka), T1547.001 (Registry Run Key), T1555.003 (Credentials from Web Browsers). Detection concepts (no IOCs): alert on node/npm/npx parent processes spawning powershell.exe (Sysmon EID 1 with parent-image filter); wscript.exe/cscript.exe executing from %TEMP%; new HKCU\...\Run values written by a Node toolchain; and Python runtimes in %TEMP% making outbound HTTP POST. Remediation is not "remove the package" — any host that installed these versions should have all browser-stored and developer credentials rotated and be treated as compromised.