npm · Malicious package advisory
Malwarecommons-ui-styles
MAL-2026-5437
Malicious code in commons-ui-styles (npm)
Details
---
_-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (8b9fb701d18bde61d1dc783f0575a4d83bc0eba2653bd0832d0fc26bc9e85b48)
commons-ui-styles@99.9.1 is an empty placeholder package (index.js exports `{}`, description/author blank, version bumped to 99.9.1 — the classic dependency-confusion override shape) whose only on-install effect is dependency resolution. Its package.json declares a transitive dependency `ltidisafe` resolved from a hardcoded non-registry tarball URL (`https://ltidi.storage.googleapis.com/depenconf/ltidisafe-2.9.6.tgz`) on a Google Cloud Storage bucket. The path segment literally contains `depenconf`, indicating dependency-confusion tooling. On `npm install commons-ui-styles`, npm fetches whatever bytes that bucket currently serves and installs them as a dependency; any preinstall/install/postinstall lifecycle scripts in the fetched tarball run on the installer's host. The bucket owner controls the payload contents at any time, with no version pinning to the npm registry, no integrity check beyond what npm computes against the live download, and no relationship to a documented publisher.
## Source: ghsa-malware (0e1b59b1a66b5b52881d2f9babca5a402325f4454444f4e318670406c17ae780)
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.
Compromised versions (1)
- 99.9.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.