Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in nottuff4 (npm)

0
High
Published: 06/16/2026 (06/16/2026, 19:27:24 UTC)
Source: GCVE Database
Product: nottuff4

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.

Affected software

npmghsa
nottuff4
Affected versions
=1.7.7

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/13/2026, 09:24:13 UTC

Technical Analysis

The 'nottuff4' npm package (version 1.7.7) includes a heavily obfuscated Scramjet-based web proxy and a static cover page that installs event listeners to open a monetized popup redirect on first user interaction. The malicious payload activates only when the package is unpacked and served as a website, not during npm install or require calls in Node.js. The package is part of a set of throwaway sibling packages with placeholder metadata and suspicious naming. The main script uses service-worker globals and imports obfuscated scripts. The malicious behavior includes namespace pollution, Terms of Service-evading proxying, and monetized redirects. The threat is classified as registry-policy abuse rather than a direct supply-chain compromise of developers.

Potential Impact

If the package is installed and then served as a website, visitors to that site will be subjected to monetized popup redirects, potentially leading to unwanted or harmful content. The package does not execute malicious code during installation or import in Node.js, so developers installing it are not directly compromised by code execution. However, any computer running this package in a serving context may be considered compromised, with potential exposure of secrets and keys. The malicious code could lead to unauthorized control over the browsing experience of website visitors.

Mitigation Recommendations

There is no official patch or fix available for this malicious package. The recommended action is to remove the 'nottuff4' package version 1.7.7 immediately from any environment. Since the package does not execute malicious code during installation but only when served as a website, avoid serving this package's contents in a web server context. Rotate all secrets and keys from a different, trusted computer if this package was ever run in a serving environment, as full compromise is possible. Monitor for and block any related throwaway sibling packages from the same author or with similar suspicious characteristics.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5917
Osv Schema Version
1.7.4
Aliases
["GHSA-r54f-vpj7-r35g"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ad9668715ace438f05c9

Added to database: 07/13/2026, 09:19:18 UTC

Last enriched: 07/13/2026, 09:24:13 UTC

Last updated: 07/24/2026, 05:25:19 UTC

Views: 12

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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