npm · Malicious package advisory
Malwareanother-very-long-name
GHSA-9w99-w8fq-2x8w
Malicious code in another-very-long-name (npm)
Details
**Severity:** Critical **Affected versions:** `= 2.0.0` ## Source: amazon-inspector (eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf) [email protected] ships a beacon.cjs that is invoked both from the declared postinstall lifecycle script and from the module's require()-time entry (index.js). On execution it collects host identifiers — hostname, install path, process.cwd(), process.version, OS metadata, and the package name — and POSTs them as JSON to the hardcoded cleartext endpoint http://185.158.107.175:8787/_ah/dc. The package exposes no genuine functionality: index.js returns a Proxy whose get handler returns a no-op for every property so that bundlers consuming the package do not fail, and an author comment states that a build that completes and calls back is cleaner evidence. The destination is a bare-IP HTTP endpoint with no first-party relationship to any declared publisher, and the stub-plus-beacon shape is consistent with a dependency-confusion reconnaissance probe rather than a compatibility shim. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/another-very-long-name/MAL-2026-17767.json)) **References:** - https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/another-very-long-name/MAL-2026-17767.json - https://www.npmjs.com/package/another-very-long-name/v/1.0.1 - https://www.npmjs.com/package/another-very-long-name/v/1.1.0 - https://www.npmjs.com/package/another-very-long-name/v/2.0.0 - https://www.npmjs.com/package/another-very-long-name/v/2.0.1 - https://github.com/advisories/GHSA-9w99-w8fq-2x8w
Compromised versions (1)
- = 2.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.