Skip to main content
MalwarePublished

sm-session (npm) · Malicious Code

Affects sm-sessionSource GCVE Database

0

Malicious package : remove sm-session 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-14400

What to do

Remove sm-session 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-sessionAffected
  • =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-session' versions 99.0.0 and 99.0.1 contains malicious code that executes preinstall and postinstall scripts. These scripts send HTTP requests to a hardcoded IP address, signaling the installer's environment to an operator-controlled endpoint. This behavior is typical of dependency-confusion reconnaissance, where the package collects information about environments that resolve the package name. No legitimate functionality is provided by these network calls.

References

Community reviews

Loading reviews…