postcss-motion-utils@3.2.7
Malicious code in postcss-motion-utils (npm)
Analysis
The package index.js is a heavily obfuscated remote-code-execution dropper. It contains a large base64-encoded payload array that is decoded at runtime and executed via new Function("require", ...), giving the decoded payload access to Node.js require. The code also makes a fetch call to retrieve and execute additional remote code. The package name combosquats a PostCSS utility but contains no CSS processing logic — the entire 164KB file is obfuscated malware. The package attempted network egress at runtime (DNS resolution to a sinkholed endpoint), confirming the payload is a live C2-capable dropper.
- analyzed by
- Leitwacht
- first seen
- Jul 28, 2026, 04:39 PM
- analyzed
- Jul 28, 2026, 04:41 PM
Related advisories
- @ghost_debugger/nanocache@0.1.1
- fluid-type-ui@2.0.8
- chai-as-rendered@1.2.0
- system-performance-helper@1.0.1
- crypto-checkout-api@1.0.0
- sync-grove@1.0.1
- chai-as-hardened@7.0.9
- core-dotenv@1.4.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.