ghtier

These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.

← All incidents

Clinejection: prompt injection in an AI issue triage workflow

February 2026 · Contained

An issue title told Cline's AI triage agent to install a package, which ran code in a workflow that shares the Actions cache with the nightly release jobs; poisoning that cache exposed the VS Code Marketplace, OpenVSX and npm publishing tokens, and someone used them to publish an unauthorized Cline CLI.

Access held
Code running in the triage jobCode in the nightly buildsVSCE_PAT, OVSX_PAT, NPM_RELEASE_TOKEN
Full summary

From 21 December 2025 Cline ran an issue triage workflow that started Claude, through anthropics/claude-code-action, with Bash and other tools on every new issue, and let anyone with a GitHub account trigger it. The issue title went straight into Claude's prompt, so a title written as an instruction could make it run npm install on a package the attacker controls. The triage job held no publishing secrets, but every workflow on the default branch shares one Actions cache. Adnan Khan showed that code in the triage job can flood the cache past GitHub's 10 GB limit so the real entries are evicted, then plant entries that the Publish Nightly Release and Publish NPM Nightly workflows restore, which hand over VSCE_PAT, OVSX_PAT and NPM_RELEASE_TOKEN. Because of how those registries scope tokens, the nightly tokens can publish production releases. Khan tested only on a mirror and reported it on 1 January 2026; Cline answered only after he published on 9 February and removed the AI workflows within about 30 minutes. A different actor had found his proof of concept, used it against Cline itself, and published an unauthorized Cline CLI to npm whose postinstall script installed openclaw.

How it unfolded

Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.

Whole path

Prompt injection into an AIagentway inPrompt an AI step in aworkflowtechniqueCode running in the triagejobClaude's Bash toolPoison a shared ActionscachetechniqueCode in the nightly buildsNightly workflows' cacheRead secrets from therunnertechniqueVSCE_PAT, OVSX_PAT,NPM_RELEASE_TOKENNightly release secretsPublish a malicious versionwith a stolen tokentechniquePoison the build orpublished package

The whole attack, one row per step. Pick a step on the left, or click a box in its row.

Frameworks

Contained. First seen February 2026, last seen February 2026. Mapping by ghtier, not yet reviewed. Threat landscape

Sources

Reported by: Adnan Khan