# GHSA-P6CQ-66PP-9R5G: Malicious code in godzz (npm)

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

## Affected versions

- godzz (npm): 1.0.0

## Description

## Source: amazon-inspector (3b5d71d42ffa8a11d58cf5bf2cf8eab5f95e14d047f0907b6e0581a3c33ea299)
On module load, godzz sets process.env.NODE_TLS_REJECT_UNAUTHORIZED='0', disabling TLS certificate validation for the entire Node process. Its main entry attaches to a local Chromium CDP endpoint at 127.0.0.1:9222, injects a script that scrapes document.body.innerText and the active editor's contents, base64-encodes the payload, and POSTs it via https.request to a hardcoded, non-configurable endpoint at ai-script.test0ing7.workers.dev along with a bundled Groq API key from an in-source keyPool. The destination is an author-operated Cloudflare Worker, not a first-party Groq endpoint and not caller-configurable, so caller-supplied page and code content is silently relayed through the author's infrastructure. The shipped Groq API key (gsk_...) is also redistributed to every installer.

---

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

## References

- https://github.com/ossf/malicious-packages/blob/d9a451cbb73776aade5f2f5ad3ae60f5eb2524ec/osv/malicious/npm/godzz/MAL-2026-16462.json
- https://www.npmjs.com/package/godzz/v/1.0.0
- https://github.com/advisories/GHSA-p6cq-66pp-9r5g

Page: https://cve.now/GHSA-P6CQ-66PP-9R5G

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