MediumNews
Compromised npm package silently installs OpenClaw on developer machines
- Published
- Record updated
Summary
A compromised npm publish token pushed cline@2.3.0, a Cline CLI release whose modified package.json added a postinstall script that installs the latest version of OpenClaw. The malicious version was live on the npm registry for about eight hours on February 17 before it was deprecated and Cline published 2.4.0. Socket, which researched the incident, has marked the unauthorized publish as malware.
Mitigation
For devs who installed or updated the Cline CLI in the roughly eight-hour window on February 17, Socket advises: update to the latest version with "npm install -g cline@latest"; if on version 2.3.0, update to 2.4.0 or higher; and check for and immediately remove OpenClaw if it was not intentionally installed.
Related items
- InfoThe Great Escape: Tradecraft insights from an agentic swarmSame vendor · Cisco Talos Blog
- InfoEx-OpenAI Employee Accused of Bugging Company Offices Granted $1 Million BailSame vendor · The Hacker News
- LowCisco and OpenAI dispatch AI agents to shield vulnerable systems before permanent patches arriveSame vendor · CSO Online
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog
- InfoSaudi national charged in OpenAI bugging to be released on $1 million bondSame vendor · CNBC Technology