npm · Malicious package advisory
Malware@greenlake/common-context
GHSA-p5fc-j294-qr5q
Malicious code in @greenlake/common-context (npm)
Details
**Severity:** Critical **Affected versions:** `= 99.0.1` ## Source: amazon-inspector (5c391fc0f0acc51479adc96cdca5e63497f47dd4304eb0a871819bce9313551e) @greenlake/[email protected] is a stub package whose main entry exports a Proxy of no-op functions and whose only real behavior is a beacon. Both scripts.postinstall (node beacon.cjs) and require() of the main entry (index.js) POST host identifiers — package name, os.hostname(), __dirname install path, process.cwd(), and node version — to the hardcoded bare-IP plaintext endpoint http://185.158.107.175:8787/_ah/dc. The destination is not registry or publisher infrastructure. Combined with the @greenlake scope, implausibly high 99.0.1 version, generic 'Compatibility shim' description, and no-op Proxy main, the package matches the canonical dependency-confusion payload shape: a lure designed to be auto-resolved in place of an internal private name and to callback-report successful installations inside the target environment. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@greenlake/common-context/MAL-2026-18282.json)) **References:** - https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@greenlake/common-context/MAL-2026-18282.json - https://www.npmjs.com/package/@greenlake/common-context/v/99.0.1 - https://github.com/ossf/malicious-packages/blob/38576efe4884e97a0598f23da7c6da0343b22df4/osv/malicious/npm/@greenlake/common-context/MAL-2026-18282.json - https://www.npmjs.com/package/@greenlake/common-context - https://github.com/ossf/malicious-packages/blob/08e0f74bcc2cd2cc1e6e63ca1fce6f45f6e74e1b/osv/malicious/npm/@greenlake/common-context/MAL-2026-18282.json - https://www.npmjs.com/package/@greenlake/common-context/v/3.0.0 - https://github.com/advisories/GHSA-p5fc-j294-qr5q
Compromised versions (1)
- = 99.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.