MAL-2026-14473Malicious code in css-import-order (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | css-import-order | 1.1.0 |
{"modified":"2026-08-25T06:41:07Z","published":"2026-08-25T06:41:07Z","schema_version":"1.7.4","id":"MAL-2026-14473","summary":"Malicious code in css-import-order (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a190c01197be10bae5104dd08b8cb119ff1460eaa0c816bc0eb74da8a4b88ae4)\npackage.json declares the package's own name `css-import-order` as both a dependency and devDependency pointing at `http://pack.nppacks.com/npm/css-import-order` — a non-registry, plain-HTTP, unpinned URL under a domain unrelated to the npm publisher. On `npm install`, npm resolves and unpacks whatever tarball that host returns, executing any lifecycle scripts it contains. Because the source is not the npm registry, there is no integrity or version pinning, and the plain-HTTP transport additionally allows on-path substitution of the served bytes. The shipped index.js is a small benign transformer and carries a header comment reading `This package use for Security Research Testing Purpose.`, but the harmful vector is the install-time resolution to attacker-mutable content at pack.nppacks.com, not the local module code.\n","affected":[{"package":{"ecosystem":"npm","name":"css-import-order"},"versions":["1.1.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"790d66d817786f03157052455eb2da9603154bb56e425540c3374cba0168d70e","tlsh":"95f04c65df20ea2344c875531d574813b23059870728fd0832d71b6c0b4c17728f829d"},{"path":"index.js","sha256":"f2fcebdb4f0e41365a39ca87a52fcc4e6abd5633fe6272e60d1386d26b90ef41","tlsh":"71a1935ab5e0159745aa22e5b3ce48b577bd80b3330df5a0b54cbf563f40c348a1aed1"}],"package_integrity":[{"filename":"css-import-order-1.1.0.tgz","hashes":{"sha1":"3a09d3b4a582170bcde7538d3e980c4a8de4d1a5","sha512_sri":"sha512-NCcYjT+1y3hNg6Anq6IkTPvnfnyCcnXLYycKju8Bs0ocnSGj7YhG8oqgEnSWT92+88PCo8KE9pPlPGMrmjxqHg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/css-import-order/v/1.1.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018687","import_time":"2026-08-25T06:50:12.618751863Z","modified_time":"2026-08-25T06:41:07Z","sha256":"a190c01197be10bae5104dd08b8cb119ff1460eaa0c816bc0eb74da8a4b88ae4","source":"amazon-inspector","versions":["1.1.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0