Prompt injection in Cline's Claude issue-triage bot leads to an unauthorised npm release

In the wild Manipulation Severity 3 significant Confirmed 95%

Cline ran a GitHub Actions workflow in which Claude triaged new issues with shell access; any GitHub user could trigger it, and a crafted issue title could make the agent run arbitrary code. Researcher Adnan Khan showed this could be chained through Actions cache poisoning to reach release credentials, and on 17 February 2026 an unknown party used an npm token that Cline had failed to revoke to publish cline@2.3.0, which silently installed the OpenClaw agent and was downloaded about 4,000 times. Cline removed the AI triage workflows, revoked the token and moved to OIDC-based publishing.

Khan reported the flaw privately on 1 January 2026 and disclosed it publicly on 9 February; during rotation Cline deleted the wrong npm token, leaving the exposed one active. Cline says the CLI binary was otherwise identical, no malicious code was delivered, and its VS Code and JetBrains extensions were unaffected.

What would have stopped it

Never give an agent that reads untrusted input shell access in a pipeline that can reach release credentials.

Guardrails

4 of 8 failed
  1. G1 Least privilege Failed The triage agent had Bash and write tools and ran in the default-branch cache scope used by releases.
  2. G2 Human confirmation Failed Any GitHub user could trigger the agent, and its shell commands ran without human approval.
  3. G3 Isolation Failed The triage workflow shared a GitHub Actions cache with the nightly release workflow holding publish secrets.
  4. G4 Instruction integrity Failed Issue titles were inserted into Claude's prompt; Claude executed the injected payload in every test.
  5. G5 Truthfulness Not assessed Did it accurately report what it knew and what it did?
  6. G6 Limits Not assessed Was there a cap on rate, spend, volume or scale?
  7. G7 Oversight Partial StepSecurity flagged the release, which lacked provenance; Cline deprecated it about eight hours later.
  8. G8 Recovery Partial Cline shipped 2.4.0 and deprecated 2.3.0, but users had to uninstall OpenClaw themselves.

Sources

2 primary, 1 specialist
  1. “Clinejection demonstrates an in-the-wild example of how AI agent vulnerabilities become the entry point for traditional CI/CD exploitation.”
    Primary Quote checked Archived copy
  2. “On February 17, a third party used the still-active token to publish cline@2.3.0 with the openclaw postinstall script.”
    Primary Quote checked Archived copy
  3. “The affected version was downloaded approximately 4,000 times before the package maintainers deprecated it roughly 8 hours after its release.”
    Specialist Quote checked Archived copy

Confidence 95% comes from these sources alone. How we score

History

  1. 14 Oct 2026Entered in the register with 3 sources

Similar failures

All incidents
  1. EEAIR-2026-037 Jul 2026 Noma Labs says Claude Code Desktop preview pane could leak local credentials Claude Code Desktop, AnthropicProof of concept 70%
  2. EEAIR-2025-021 Jul 2025 Hidden Reddit comment hijacks Perplexity's Comet browser agent to steal a login code Perplexity CometProof of concept 87%
  3. EEAIR-2026-008 Feb 2026 Claude Code runs terraform destroy and wipes DataTalks.Club's production stack Claude Code, Anthropic 87%