css-import-ordernpm
Advisory published Updated
css-import-order is a confirmed malicious npm package (MAL-2026-14473) that executes malicious code on install (malicious version 1.1.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in css-import-order (npm)
What this malware does
package.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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for css-import-order (version 1.1.0).
If you installed it — respond
Remove css-import-order from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If css-import-order was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks css-import-order-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.