VYPR

npm · Malicious package advisory

Malware

sm-payment

GHSA-mxq2-g955-f593

Malicious code in sm-payment (npm)

Details

**Severity:** Critical

**Affected versions:** `= 99.0.1`

## Source: amazon-inspector (926b17cedd788f5f626b3c4001ca9f1b9572abe425b87d40d6f03814d211e3e7)
package.json declares preinstall and postinstall lifecycle scripts that curl a hardcoded bare IP over plain HTTP (http://16.192.173.5/sm-payment/pre and.../post) automatically on npm install. The package has no build or native-addon purpose that would justify contacting a bare IP at install time; the callbacks fire unsolicited on every install and signal to the operator of that endpoint that the installer's host executed the package. The shape (bare IP, plain HTTP, unrelated to any documented package function, fired from both preinstall and postinstall) is consistent with dependency-confusion / namesquat reconnaissance beacons.

## Source: ossf-package-analysis (9608faee43a02423aaf69985bd63b5c9bd188dbfeccc359fb9de20cfdf432a7e)
The OpenSSF Package Analysis project identified 'sm-payment' @ 99.0.1 (npm) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/69cf85db3ebafc0534169441a15154ec56e73b2b/osv/malicious/npm/sm-payment/MAL-2026-14399.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/69cf85db3ebafc0534169441a15154ec56e73b2b/osv/malicious/npm/sm-payment/MAL-2026-14399.json
- https://www.npmjs.com/package/sm-payment/v/99.0.0
- https://www.npmjs.com/package/sm-payment/v/99.0.1
- https://github.com/advisories/GHSA-mxq2-g955-f593

Compromised versions (1)

  • = 99.0.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.