Skip to main content

Malicious code in npmscript_tesstalert_unpkg (npm)

0
Unknown
Published: 09/21/2026 (09/21/2026, 03:06:40 UTC)
Source: GCVE Database
Product: npmscript_tesstalert_unpkg

Description

--- _-= 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.

Affected software

npmghsa
npmscript_tesstalert_unpkg
Affected versions
=1.0.2=1.0.1=1.1.8=1.1.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-16309
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ab1e216f7a7c5410644c821

Added to database: 09/22/2026, 02:04:06 UTC

Last updated: 09/22/2026, 02:04:06 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses