Skip to content
Heist/ feed
Unrated

Malicious code in godsplan (npm)

Type: advisorySource: OSV1 source record

Running the godsplan 3.0.2 CLI connects to Chrome's debugging port (9222) and injects JavaScript into every open page. It bypasses Content Security Policy and intercepts selected test-page requests. When triggered by a mouse gesture or keyboard shortcut, the injected script collects the page text and current editor input; the CLI sends that content to https://ai-script.test0ing7.workers.dev/ for AI-generated answers and inserts the response into the page. The package also disables TLS certificate verification with NODE_TLS_REJECT_UNAUTHORIZED=0. This behavior can disclose browser-page and editor contents to an external service and alter test-page content. The observed trigger is CLI execution; no install-time execution was identified. Evidence: package/cdp_inject.js:2 disables TLS verification; lines 150-180 collect page and editor content; lines 252-282 send the content to the external endpoint; lines 330-350 connect to Chrome, bypass CSP and inject the script; lines 370-390 forward the collected content. Static review of the published npm tarball (sha256 8627139afbb193624535de0c32348e7b2747449ed9940f9c29e4dfb5a3f9a350); the package was not executed during manual review.

Announced Source revision 1
Original source ↗

MAL-2026-17315

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-17315

godsplan

Source reference: /affected/0/package/name

Affected versions
3.0.2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "godsplan",
      "purl": "pkg:npm/godsplan",
      "ecosystem": "npm"
    },
    "versions": [
      "3.0.2"
    ],
    "database_specific": {
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/godsplan/MAL-2026-17315.json"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#33450 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement