Malicious code in nitro-cjs-requirer (npm)
Description
The nitro-cjs-requirer npm package contains malicious code that acts as a beacon to send host and environment information to a hardcoded IP address over plain HTTP. It executes this data transmission both during installation and when the module is required, without user consent or documentation. The module itself exports a proxy that returns no-op functions, making it appear benign while performing 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-cjs-requirer package is a malicious npm module that includes a postinstall script and runtime code which send identifying information such as package name, hostname, installation path, current working directory, and Node.js version to a hardcoded bare-IP HTTP endpoint (http://185.158.107.175:8787/_ah/dc). This occurs unconditionally both at npm install time and when the module is loaded via require(), effectively acting as a beacon for dependency confusion or build pipeline reconnaissance. The module exports a Proxy object that returns no-op functions, masking its malicious intent.
Potential Impact
The package leaks sensitive environment and host information to an external attacker-controlled server without user knowledge or consent. This information could be used for further targeted attacks, reconnaissance, or supply chain compromise. There is no indication of direct code execution or system compromise beyond data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the nitro-cjs-requirer package, especially versions =0.0.1, =1.0.0, =1.1.0, =2.0.0, =3.0.0, and =99.0.1. Review dependencies for this package and remove or replace it if found. Monitor for suspicious network connections to the indicated IP address and consider blocking outbound HTTP traffic to untrusted IPs. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17775
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb03
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:42:55 UTC
Last updated: 10/11/2026, 21:42:55 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.
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.