sm-apikey-model (npm) · Malicious Code
Affects sm-apikey-modelSource GCVE Database
Malicious package : remove sm-apikey-model 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-14394
What to do
Remove sm-apikey-model 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-apikey-model | 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-apikey-model' versions 99.0.0 and 99.0.1 are identified as malicious. The package contains preinstall and postinstall scripts that execute curl commands over plain HTTP to a hardcoded IP address, leaking installation confirmation and source IP information to an external operator. This behavior is consistent with reconnaissance activity typical of namespace-squatting packages rather than legitimate functionality.