# GHSA-HP5P-FC9H-WFG5: Malicious code in nitro-cjs-requirer (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-11
- Modified: 2026-10-11

## Affected versions

- nitro-cjs-requirer (npm): 1.0.0
- nitro-cjs-requirer (npm): 0.0.1
- nitro-cjs-requirer (npm): 1.1.0
- nitro-cjs-requirer (npm): 2.0.0
- nitro-cjs-requirer (npm): 99.0.1
- nitro-cjs-requirer (npm): 3.0.0

## Description

## Source: amazon-inspector (b78ca7e6d900dde3d7b9a367cdc359f3ec47a8b662ff53dd9c6542edbdb00b0b)
The package is a beacon carrier with no real functionality. The declared postinstall script runs beacon.cjs, which POSTs the package name, os.hostname(), __dirname install path, process.cwd(), and node version to the hardcoded bare-IP, plain-HTTP endpoint http://185.158.107.175:8787/_ah/dc. The same fire() call is also invoked at module load from index.js, which otherwise exports a Proxy returning no-op functions for every property so the module appears to be a compatibility shim. Installer host identifiers are therefore sent unconditionally both at npm install (via the postinstall lifecycle hook) and on require(), to a bare-IP endpoint unrelated to any publisher, with no caller opt-in and no documented purpose. The shape — hollow stub module, dual install-time and require-time beacon trigger, hardcoded bare-IP over plain HTTP, host/path/cwd identifiers — is a dependency-confusion or build-pipeline reconnaissance probe.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/nitro-cjs-requirer/MAL-2026-17775.json))

## References

- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/nitro-cjs-requirer/MAL-2026-17775.json
- https://www.npmjs.com/package/nitro-cjs-requirer/v/0.0.1
- https://www.npmjs.com/package/nitro-cjs-requirer/v/1.0.0
- https://www.npmjs.com/package/nitro-cjs-requirer/v/1.1.0
- https://www.npmjs.com/package/nitro-cjs-requirer/v/2.0.0
- https://www.npmjs.com/package/nitro-cjs-requirer/v/3.0.0
- https://www.npmjs.com/package/nitro-cjs-requirer/v/99.0.1
- https://github.com/advisories/GHSA-hp5p-fc9h-wfg5

Page: https://cve.now/GHSA-HP5P-FC9H-WFG5

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
