sm-payment (npm) · Malicious Code
Affects sm-paymentSource GCVE Database
Malicious package : remove sm-payment and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14399
What to do
Remove sm-payment from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmsm-payment | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'sm-payment' versions 99.0.0 and 99.0.1 contains malicious code that executes preinstall and postinstall scripts. These scripts contact a hardcoded bare IP address over plain HTTP during installation, which is unrelated to the package's documented functionality. This behavior is consistent with reconnaissance activity typical of dependency confusion or namesquatting attacks.