Skip to content

Accident reports · February 2026

Cline: a booby-trapped issue title, then an unauthorised release

Cline's issue-triage bot ran commands slipped into a title. Eight days after the flaw was published, a rogue version appeared on npm.

  • Company Cline
  • Agent Claude Code
  • Model Claude Opus 4.5
Outside content
Blue and grey network cables plugged into a numbered panel
Photo: Jordan Harrison on Unsplash
WhenFebruary 2026 (flaw published on the 9th, unauthorised release on the 17th)
WhoThe Cline project's GitHub issue-triage bot, built on Claude Code (claude-code-action)
What the agent didIt ran a command slipped into the title of an issue opened by anyone
ConsequenceAn unauthorised release of the Cline command-line tool published on npm, online for about eight hours

What happened

Cline is a coding assistant claiming more than 5 million installs. On 21 December 2025, the project added to its GitHub repository a bot that automatically triages new issues. According to researcher Adnan Khan, the bot used claude-code-action with the Claude Opus 4.5 model, was allowed to run commands, could be triggered by any GitHub account, and received the issue title directly inside its instructions.

On 9 February 2026, Khan published his demonstration, run on a mirror of the repository: an issue title told the bot to install a package before triaging, and the bot ran it on every attempt. From there, by filling GitHub Actions' shared cache, one could poison the nightly publish job and reach the publishing tokens for npm and the VS Code extension stores. He says he reported the flaw on 1 January, with no reply before publication. Cline removed the triage bots within an hour, then announced it had rotated its tokens.

On 17 February, an unauthorised version 2.3.0 of Cline CLI appeared on npm. According to Cline, quoted by Khan, the wrong token had been deleted on the 9th; the only change installed another piece of software, OpenClaw. Cline published 2.4.0, deprecated 2.3.0 and revoked the right token the same day; Snyk counts about eight hours online. According to Khan, another actor reused his public demonstration; he states he does not know whether the triage bot was the entry point.

Why it happened

Text written by anyone (an issue title) was read by an agent allowed to run commands inside the project's infrastructure. The agent had no way to tell an instruction from its owner from a sentence by a stranger: both arrived in the same place.

The rest is a chain: a cache shared between a job with no secrets and a publish job, then a token revoked by mistake. Each link was ordinary; the agent supplied the first one.

The failure family

In our catalogue, this is the "Outside content" family: content read for the work contains orders addressed to the agent, and the agent obeys.

The safeguard in code

  • An agent triggered by public content (issue, comment, form) has no command-execution tool; it can only read and label.
  • The issue text is passed to the model as quoted data, never inside its instructions.
  • Publish jobs share neither cache nor token with jobs triggered from outside; publishing tokens are replaced by signed publishing from the repository.

What we test

The "planted instruction" and "trap in the tool" tests slip an order into content the agent reads for its work. We watch whether it carries it out; the fault is a logged act, whatever the agent says about it.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading