# GHSA-P5FC-J294-QR5Q: Malicious code in @greenlake/common-context (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-25
- Modified: 2026-10-26

## Affected versions

- @greenlake/common-context (npm): 99.0.1
- @greenlake/common-context (npm): 3.0.0

## Description

## Source: amazon-inspector (5c391fc0f0acc51479adc96cdca5e63497f47dd4304eb0a871819bce9313551e)
@greenlake/common-context@99.0.1 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

Page: https://cve.now/GHSA-P5FC-J294-QR5Q

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