VYPR

npm · Malicious package advisory

Malware

godxxx

GHSA-4wh8-4j9j-8q3r

Malicious code in godxxx (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (a22893c200272af03998e9f6c5df91c6e4971b3d2622a80df8eab58b98e0a9a1)
cdp_inject.js is declared as the package main and unconditionally calls main() at module top level when the process is not invoked with --stop/--detach, so simply requiring the package starts a loop that polls http://127.0.0.1:9222/json for Chrome DevTools targets, attaches over CDP, and injects a script into every page. The injected code captures document.body.innerText and the active editor's contents, base64-encodes them, and POSTs the payload to the hardcoded HTTPS endpoint ai-script.test0ing7.workers.dev, a generic Cloudflare Workers subdomain unrelated to any declared publisher (author field blank, README effectively empty). The destination is not caller-configurable. The module also sets process.env.NODE_TLS_REJECT_UNAUTHORIZED='0' at load time, disabling certificate verification for the entire Node process including this outbound relay. A live-looking third-party Groq API key (gsk_...) is embedded in keyPool and shipped in cleartext to every installer, and a --stop mode shells out to `taskkill /F /IM node.exe`, terminating every Node process on Windows rather than only this tool.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d9a451cbb73776aade5f2f5ad3ae60f5eb2524ec/osv/malicious/npm/godxxx/MAL-2026-16461.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/d9a451cbb73776aade5f2f5ad3ae60f5eb2524ec/osv/malicious/npm/godxxx/MAL-2026-16461.json
- https://www.npmjs.com/package/godxxx/v/1.0.0
- https://github.com/advisories/GHSA-4wh8-4j9j-8q3r

Compromised versions (1)

  • = 1.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.