Advisory

MAL-2026-16309

Also known as: GHSA-xvj9-j5xj-9f5p

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in npmscript_tesstalert_unpkg (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (8c84336bfcd8d43d3f97942ded74e5a049c05e024f5a4b79dbee66acff1e1627)
The package ships a single script exposed via the unpkg field for CDN loading into web pages. When executed in a browser, the script reads document.cookie and assigns window.location.href to https://webhook.site/4c14c8e4-721e-471d-807c-1a2aa216512a/ concatenated with the cookie value, causing the browser to navigate to that attacker-controlled endpoint carrying the victim's cookies. The identifiers location, href, and cookie are assembled from split fragments ("loca"+"tion", "hr"+"ef", "coo"+"kie") to hide the sensitive property accesses from string-based scanners. Any page that loads this file via unpkg or bundles it exfiltrates its cookies to the hardcoded webhook.site collector.

Source: ghsa-malware (efdb5fd9b7105d7d7bad5ef86b67ee09c7b8d936866298e6dab1da36329d1641)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Severity

Not rated by the source.

Dates

Published
2026-09-21 03:06 UTC
Modified
2026-10-12 13:45 UTC

Affected packages and fixes

npmscript_tesstalert_unpkg

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences