Skip to content
MediumNewsLLM-specific

Cline CLI 2.3.0 Supply Chain Attack Installed OpenClaw on Developer Systems

Published
Record updated
View JSON

Summary

On February 17, 2026, an unauthorized party used a compromised npm publish token to publish cline@2.3.0 of the Cline CLI, which added a postinstall script that runs npm install -g openclaw@latest. Anyone who installed that version during the roughly eight-hour window from 3:26 a.m. to 11:30 a.m. PT got OpenClaw installed on their machine. Cline says no other changes or malicious behavior were observed.

Mitigation

To mitigate the unauthorized publication, Cline maintainers released version 2.4.0, deprecated version 2.3.0, and revoked the compromised token. The npm publishing mechanism was updated to support OpenID Connect (OIDC) via GitHub Actions. Users are advised to update to the latest version, check their environment for unexpected installation of OpenClaw, and remove it if not required.