Documented Incident · INC-OBS-009 · High severity
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 dossier metadata
- Case ID
INC-OBS-009- Classification
- Incident
- Date
- Severity
- High
- Sector
- Software Development & AI Tooling
- Attack vector
- Supply Chain
- 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 takeaway
Pin exact version hashes for AI coding CLIs, monitor npm provenance attestations, and enforce hardware-backed 2FA plus OIDC publishing for maintainer releases.
Mapped AI security 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
Mapped defensive controls
- Code Signing AML.M0013
- Verify AI Artifacts AML.M0014
- Maintain an AI Bill of Materials AML.M0023