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 widget-forge (npm)

0
Medium
Published: 08/05/2026 (08/05/2026, 13:18:35 UTC)
Source: GCVE Database
Product: widget-forge

Description

The npm package widget-forge version 9999.0.0 is a malicious dependency-confusion beacon. It contains a preinstall script that runs automatically on npm install, which collects system and environment information and sends it to a hardcoded external IP address. The package itself has no functional payload and uses a high version number to outbid internal packages. The only effect of installing this package is information reconnaissance via an HTTP GET request to a remote server.

Affected software

npmghsa
widget-forge
Affected versions
=9999.0.0

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: 08/05/2026, 16:52:29 UTC

Technical Analysis

The widget-forge npm package at version 9999.0.0 is designed as a dependency-confusion beacon. Its package.json declares a preinstall script ('node callback.js') that executes automatically during installation. This script collects data including the OS hostname, username, current working directory, npm registry configuration, and continuous integration repository environment variables (e.g., GITHUB_REPOSITORY). It then sends this information via an HTTP GET request to a hardcoded IP address (http://75.119.137.232:31337/depconfuse). The package exports an empty object and has no functional code beyond this reconnaissance behavior. The version number 9999.0.0 is used to supersede legitimate internal package versions, a common tactic in dependency confusion attacks.

Potential Impact

Installation of this package results in the disclosure of system and environment information to an external attacker-controlled server. There is no direct code execution or functional payload beyond this data exfiltration. No known exploits in the wild have been reported. The impact is primarily information leakage that could aid further attacks.

Mitigation Recommendations

Avoid installing the widget-forge package at version 9999.0.0 or any suspicious packages with unusually high version numbers that may be part of dependency confusion attacks. Review and restrict npm package sources and registries to trusted repositories. Since no official patch or fix exists for this malicious package, prevention by avoiding installation is the primary mitigation.

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-12815
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a73573ebf8831d539153638

Added to database: 08/05/2026, 15:31:10 UTC

Last enriched: 08/05/2026, 16:52:29 UTC

Last updated: 08/05/2026, 16:52:29 UTC

Views: 2

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