Skip to main content
MalwarePublished Updated

npmscript_tesstalert_unpkg (npm) · Malicious Code

Affects npmscript_tesstalert_unpkgSource GCVE Database

0

Malicious package : remove npmscript_tesstalert_unpkg and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:20 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-16309

What to do

Remove npmscript_tesstalert_unpkg 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
npmnpmscript_tesstalert_unpkgAffected
  • 1.0.1 – 1.1.8
4 affected builds
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 npmscript_tesstalert_unpkg contains malicious code that exfiltrates browser cookies. When its script is loaded in a web page via the unpkg CDN, it reads the document's cookies and redirects the browser to an attacker-controlled URL with the cookies appended. This behavior is obfuscated by splitting sensitive property names to evade detection by string-based scanners. Any site loading this package version risks leaking user cookies to the attacker.

References

Community reviews

Loading reviews…