# GHSA-8QCG-7J5R-XHVH: Malicious code in @wxwxtest/testrrrdd (npm)

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

## Affected versions

- @wxwxtest/testrrrdd (npm): 2.0.1
- @wxwxtest/testrrrdd (npm): 2.0.0
- @wxwxtest/testrrrdd (npm): 0.0.1
- @wxwxtest/testrrrdd (npm): 3.0.0
- @wxwxtest/testrrrdd (npm): 0.1.0
- @wxwxtest/testrrrdd (npm): 1.0.0
- @wxwxtest/testrrrdd (npm): 1.0.1

## Description

## Source: amazon-inspector (2c288e48135ebe9f305d450f5b19324ae944865fb7057ced986d0eb30cb1fe34)
The package ships a postinstall script (`scripts.postinstall` runs `node beacon.cjs`) and a top-level `require('./beacon.cjs').fire()` in `index.js` that POST installer host metadata — hostname, install path, cwd, Node version, and package name — to the hardcoded plain-HTTP bare-IP endpoint `http://185.158.107.175:8787/_ah/dc`. The exfiltration fires automatically both on `npm install` and on any `require()` of the package. `index.js` otherwise exports a Proxy returning no-op functions for any property access, so the package has no legitimate functionality; its sole effect is the callback to the hardcoded endpoint. The destination is not associated with any publisher domain and is unrelated to the self-described 'compatibility shim' purpose. The shape (stub Proxy export + install/require-time beacon to a bare-IP collector) is a dependency-confusion / typosquat proof-of-installation beacon.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/198de23effaed79e1ee13ae86d2b350a1411ba67/osv/malicious/npm/@wxwxtest/testrrrdd/MAL-2026-17704.json))

## References

- https://github.com/ossf/malicious-packages/blob/198de23effaed79e1ee13ae86d2b350a1411ba67/osv/malicious/npm/@wxwxtest/testrrrdd/MAL-2026-17704.json
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/0.0.1
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/0.1.0
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/1.0.0
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/1.0.1
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/2.0.0
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/2.0.1
- https://www.npmjs.com/package/@wxwxtest/testrrrdd/v/3.0.0
- https://github.com/advisories/GHSA-8qcg-7j5r-xhvh

Page: https://cve.now/GHSA-8QCG-7J5R-XHVH

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