Malicious code in widget-forge (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in widget-forge (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.