Incident report
Cline CLI v2.3.0 Compromised Maintainer Token Silently Installing Secondary Package
On February 17, 2026, StepSecurity detected an unauthorized npm publication of the popular `cline` AI coding CLI (`cline@2.3.0`) pushed via a compromised maintainer token. The tampered release injected a post-install dependency hook that silently downloaded and installed a secondary package (`openclaw`) onto developer workstations without user consent, while the separate VS Code and JetBrains IDE extensions remained unaffected. Because AI coding CLIs run directly inside sensitive engineering environments with broad shell and git access, unauthorized package updates create immediate workstation compromise risk. Maintainers revoked the compromised npm token, deprecated v2.3.0, and shifted toward hardened release provenance.
Incident record
- Reported
- Severity
- High
- Vector
- Supply Chain
- Affected system type
- Agentic Coding CLI Packages
- Reference URI
https://www.stepsecurity.io/blog/cline-supply-chain-attack-detected-cline-2-3-0-silently-installs-openclaw
Defensive lesson
Pin exact version hashes for AI coding CLIs, monitor npm provenance attestations, and enforce hardware-backed 2FA plus OIDC publishing for maintainer releases.
Research citation
Referenced techniques
- Supply Chain Compromise: Software AML.T0010.001
- Supply Chain Compromise: AI Agent Tool AML.T0010.005
- User Execution: Malicious Package AML.T0011.001
- AI Supply Chain Rug Pull AML.T0109