AI Tool Cline CLI Hijacked in Supply Chain Attack

Compromised Cline CLI npm package installs OpenClaw AI agent via stolen token.

  • The AI-powered Cline CLI npm package was compromised, leading to an unauthorized update that installed the OpenClaw AI agent on developer machines.
  • The breach, attributed to a stolen npm publish token, affected around 4,000 downloads over an eight-hour window on February 17, 2026.
  • Security researchers link the attack to a prior vulnerability called “Clinejection,” where prompt injection in GitHub issues could steal publishing credentials.
  • Maintainers have deprecated the malicious version, revoked the token, and updated their publishing security.

In a significant software supply chain attack, the open-source Cline CLI coding assistant was compromised on February 17, 2026, leading to an unauthorized update that secretly installed OpenClaw on developers’ systems. The attack, spotted by the Microsoft Threat Intelligence team, resulted from a stolen npm publish token used to release a malicious version, according to an advisory.

- Advertisement -

Consequently, the package’s `postinstall` script forced an automatic OpenClaw installation for anyone downloading version 2.3.0. StepSecurity data shows roughly 4,000 downloads occurred during the eight-hour compromise window before the package was deprecated.

Meanwhile, researchers traced the breach’s origins to a vulnerability dubbed “Clinejection,” discovered by Adnan Khan. This flaw allowed attackers to use prompt injection on GitHub issues to execute arbitrary commands and steal high-privilege publication tokens.

This method could poison a repository’s build cache and pivot to a release workflow, exactly what happened to obtain the npm token. The stolen credential was then used to authenticate and publish the compromised package to the registry.

However, Endor Labs researcher Henrik Plate assessed the overall impact as low, noting “OpenClaw itself is not malicious.” The incident did not affect Cline’s VS Code extension or JetBrains plugin.

- Advertisement -

Consequently, maintainers have revoked the token, deprecated version 2.3.0, and released a secure version 2.4.0. They also updated their npm publishing to use more secure OpenID Connect authentication via GitHub Actions.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

BlackRock’s Ethereum Staking ETF Debuts With $15.5M Volume

BlackRock's new staked Ethereum ETF, ETHB, launched with $15.5 million in trading volume, described...

$50M AAVE Swap Yields $36K Despite Warning

A trader lost nearly $50 million on Thursday after swapping that amount of USDT...

Teamsters Threaten to Block Paramount-WBD Merger

The International Brotherhood of Teamsters opposes the Paramount Skydance-Warner Bros. Discovery merger without enforceable...

STRC Sales Surge, Eye Record Single-Day Bitcoin Buy

A community dashboard tracking Strategy's STRC sales suggests March 12, 2026 could see the...

SEC’s Peirce Urges Simpler Rules Amid Tokenization Talks

SEC Commissioner Hester Peirce argues regulators should avoid micromanaging markets and consider simplifying disclosure...

Must Read

Ethereum Hosting: TOP 10 Companies to Buy Hosting With Ethereum

If you are looking for Ethereum Hosting, you've hit the jackpot. In this article, we will present the 10 Best companies to buy hosting...