Skip to main content
MalwarePublished Updated

sams-sr-sdk-h5 (npm) · Malicious Code

Affects sams-sr-sdk-h5Source GCVE Database

0

Malicious package : remove sams-sr-sdk-h5 and rotate any secrets on hosts that installed it.

Data as of 14 Jul 2026, 09:37 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10233

What to do

Remove sams-sr-sdk-h5 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
npmsams-sr-sdk-h5Affected
  • =7.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 sams-sr-sdk-h5 npm package is a malicious package published to perform dependency confusion attacks by impersonating an internal package namespace. It includes a preinstall script that executes automatically during npm install, collecting host metadata including public IP, hostname, OS username, and runtime environment, then sends this data to an attacker-controlled Sentry project. The package also silently routes application error telemetry and end-user PII to the attacker's Sentry endpoint if used as intended. This behavior constitutes reconnaissance and data exfiltration. The affected version is 7.0.0. There is no official patch or remediation guidance provided.

References

Community reviews

Loading reviews…