Skip to main content
MalwarePublished

sm-payment (npm) · Malicious Code

Affects sm-paymentSource GCVE Database

0

Malicious package : remove sm-payment and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:18 UTC

Classification

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

ProductAffectedFixed in
npmsm-paymentAffected
  • =99.0.1
  • =99.0.0
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.

References

Community reviews

Loading reviews…