sm-oauth (npm) · Malicious Code
Affects sm-oauthSource GCVE Database
Malicious package : remove sm-oauth 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-14398
What to do
Remove sm-oauth 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-oauth | 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 sm-oauth npm package version 99.0.0 contains malicious code that executes during installation. It runs preinstall and postinstall scripts that make HTTP requests to a hardcoded IP address, leaking the installer's network information and allowing the attacker to serve additional content. The package does not provide any legitimate functionality and acts as a dependency-confusion test artifact.