jsontoken-extend (npm) · Malicious Code
Affects jsontoken-extendSource GCVE Database
Malicious package : remove jsontoken-extend and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 21:16 UTC
Malicious package
Published to npm · OSV MAL-2026-4592
What to do
Remove jsontoken-extend 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
| Product | Affected | Fixed in |
|---|---|---|
| npmjsontoken-extend | Affected
| 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 'jsontoken-extend' contains malicious code that executes arbitrary remote code at import time by fetching and evaluating payloads from an anonymous, mutable paste service. It is a typosquatting package mimicking the popular 'jsonwebtoken' library to lure developers. Installing or running this package compromises the host system, potentially exposing all stored secrets and keys.