Read the docs
TI-2026-66238 Aliases GHSA-9ppg-jx86-fqw7

Unauthorized npm publish of [email protected] with modified postinstall script

Priority LOW 38CWE-506Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Code execution
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-506.

Summary

### Description On February 17, 2026 at 3:26 AM PT, an unauthorized party used a compromised npm publish token to publish an update to Cline CLI on the NPM registry: [email protected]. The published package contains a modified package.json with an added postinstall script: `"postinstall": "npm install -g openclaw@latest"` This causes openclaw (an unrelated, non-malicious open source package) to be globally installed when [email protected] is installed. No other files were modified -- the CLI binary (dist/cli.mjs) and all other package contents are identical to the legitimate [email protected] release. A corrected version (2.4.0) was published at 11:23 AM PT and 2.3.0 was deprecated at 11:30 AM PT. The compromised token has been revoked and npm publishing now uses OIDC provenance via GitHub Actions. ### Impact Users who installed Cline CLI [email protected] during the approximately 8-hour window between 3:26 AM PT and 11:30 AM PT on February 17 will have openclaw globally installed. The openclaw package is a legitimate open source project and is not malicious, but its installation was not authorized or intended. The Cline VS Code extension and JetBrains plugin were not affected. This advisory applies only to the Cline CLI package published on npm. ### Patches Versions 2.4.0 and higher are fixed ### Workarounds If you installed Cline CLI [email protected]: 1. Update to the latest version of the Cline CLI `cline update` or `npm installl -g cline@latest` 2. Verify that you have a fixed version (2.4.0 or higher) `cline --version` 3. Review your environment for any unexpected installation of OpenClaw and remove it if not intended `npm uninstall -g openclaw`

Why it matters now

Fix Fixed cline (npm): 2.4.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—cline (npm)2.3.0 to before 2.4.02.4.0Patch availableGHSA-9ppg-jx86-fqw7
  • cline (npm) Vendor— Affected 2.3.0 to before 2.4.0 Fixed in 2.4.0 Patch available GHSA-9ppg-jx86-fqw7

Remediation

  • Fix · GHSA-9ppg-jx86-fqw7 cline (npm) Fixed in 2.4.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-9ppg-jx86-fqw7

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences