{"id":"MAL-2026-11168","summary":"Malicious code in postcss-motion-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4534713b2409f1fe5588befb885030edc2eafddf215d1103e70f9024c64cbc35)\nPackage 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.\n\n## Source: ghsa-malware (35e5cd51d2131c9af1800f9ece6bda2d695d523a36394222e10bc88554e7c935)\nAny 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.\n","aliases":["GHSA-m763-9wch-p9gg"],"modified":"2026-08-05T06:36:24.786379667Z","published":"2026-07-28T17:18:21Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-m763-9wch-p9gg","import_time":"2026-07-29T04:39:01.641165Z","modified_time":"2026-07-28T17:18:22Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"35e5cd51d2131c9af1800f9ece6bda2d695d523a36394222e10bc88554e7c935","source":"ghsa-malware"},{"import_time":"2026-08-05T06:00:16.032597891Z","modified_time":"2026-08-05T05:03:32Z","sha256":"4534713b2409f1fe5588befb885030edc2eafddf215d1103e70f9024c64cbc35","source":"amazon-inspector","versions":["3.2.7"],"id":"IN-MAL-2026-012887"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m763-9wch-p9gg"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/postcss-motion-utils/v/3.2.7"}],"affected":[{"package":{"name":"postcss-motion-utils","ecosystem":"npm","purl":"pkg:npm/postcss-motion-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.2.7"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"eaac00406ad65b5ce4698923937c24736cadb87dc1533a272d35d2c44784d01b","tlsh":"70f34b417be3b06c84ed737049bfb314b91aad92061829bcd761eaf59c41349d2efe18"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/postcss-motion-utils/MAL-2026-11168.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}