Malicious code in nitro-bundled-dep (npm)
Description
The npm package nitro-bundled-dep version 99.0.1 contains malicious code that executes during installation and module import. It collects system information such as hostname, installation path, current working directory, and Node.js version, then sends this data via an unencrypted HTTP POST to a hardcoded IP address unrelated to the package's stated purpose. This behavior resembles a dependency confusion attack, where an internal package name is resolved to a malicious public package with a high version number, enabling reconnaissance on the host system.
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 nitro-bundled-dep package at version 99.0.1 includes a stub main module and a beacon script (beacon.cjs) that runs both during the postinstall lifecycle hook and on require() of the main module. The beacon collects environment details (os.hostname(), __dirname, process.cwd(), process.version) and sends them unencrypted to a hardcoded IP endpoint (http://185.158.107.175:8787/_ah/dc) that is not associated with any legitimate vendor. This setup matches a dependency confusion pattern, where an internal package name is hijacked on the public npm registry at an implausibly high version to execute reconnaissance on the host.
Potential Impact
The malicious beacon leaks sensitive environment information to an unknown external server, potentially exposing internal hostnames, directory structures, and runtime environment details. This information could be used by attackers for further targeted attacks or reconnaissance. There is no indication of direct code execution beyond data exfiltration, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the affected versions (=99.0.1, =2.0.1, =1.1.0) of nitro-bundled-dep. Verify dependencies carefully to prevent dependency confusion attacks, especially for internal package names that might be resolved to public registry packages with suspiciously high version numbers. Monitor package sources and consider using package integrity verification or private registries to mitigate risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17774
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb04
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:42:59 UTC
Last updated: 10/11/2026, 21:42:59 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.