nottuff4 (npm) · Malicious Code
Affects nottuff4Source GCVE Database
Malicious package : remove nottuff4 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-5917
What to do
Remove nottuff4 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 |
|---|---|---|
| npmnottuff4 | 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 'nottuff4' version 1.7.7 contains malicious code that acts as a Scramjet-based web proxy with obfuscated JavaScript assets. When served as a website, it installs event listeners that trigger a monetized popup redirect to an external site upon user interaction. The package metadata is placeholder and suspicious, and the package does not execute malicious code during installation or import in Node.js, but only when unpacked and served to browser visitors. This behavior constitutes registry-policy abuse rather than a direct supply-chain attack on developers.