Malicious code in postcss-motion-utils (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11168
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4534713b2409f1fe5588befb885030edc2eafddf215d1103e70f9024c64cbc35) Package is advertised as a small PostCSS plugin that injects CSS variables and adds -webkit- prefixes, but its `main` (index.js) is a 164 KB single-file Bun-bundled artifact wrapped in a bytecode-VM obfuscator: a rotated string array (`vmZ`) with a shift-based decoder, a VM interpreter (`vmT_21dbca`), and a payload table of ~20 large base64 blobs, several of which decode to opaque binary-shaped bytes. The file begins with the `// @bun` header and a `while(!![])` string-array rotation loop. Because this file is the module main, the VM and its embedded payloads execute on `require('postcss-motion-utils')`. The declared PostCSS functionality does not require bytecode-VM obfuscation or embedded binary blobs; the shape (opaque decoder + rotated string array + base64-encoded inner payloads executed at import) matches the structure of hidden supply-chain payloads rather than a CSS utility library. ## Source: ghsa-malware (35e5cd51d2131c9af1800f9ece6bda2d695d523a36394222e10bc88554e7c935) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 28 Jul 2026 17:18:21 UTC
- Source modified
- 5 Aug 2026 06:36:24 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.