Clinejection: Issue Triage Agent to Release-Token Exposure
A public issue title could make Cline's Claude triage workflow run shell commands; the researcher reproduced this first step in a mirror. Its shared Actions cache created a route to nightly-release secrets. Separately, Cline confirmed that a still-active npm token was used by a third party to publish cline@2.3.0 with an OpenClaw postinstall script, but the exact token-theft sequence was not forensically established.
Threat Analysis
The public issue title was a low-trust input, yet the triage workflow gave the model Bash access in a default-branch runner. The researcher's mirror proved command execution from that title; shared Actions cache then provided a credible route toward nightly publication secrets.
- The researcher placed instructions in an issue title to make the triage agent install an attacker-selected package. This entry was tested on a mirror, not proved as the exact live intrusion route.
- The mirror's Claude triage workflow followed the title and ran npm install through Bash; its preinstall script executed in the runner.
- The researcher described an Actions-cache poisoning route from triage to nightly publish. Cline confirmed this exposure design, but public evidence does not establish every cache action in the later token theft.
The following confirmed release incident is a separate evidence track. Public forensics did not establish that the later publisher acquired the token through the cache route described by the researcher.
- Cline confirmed that it revoked the wrong token after disclosure; a third party used the still-active npm token on 17 February to publish unauthorized cline@2.3.0.
- The sole unauthorized change was a postinstall command that globally installed legitimate OpenClaw. Cline reported no malicious binary change or user-data exfiltration.
Cline's post-mortem confirms an unauthorized cline@2.3.0 npm release and a failed token-revocation attempt. It does not reconstruct every step by which the third party first acquired the token. The added postinstall installed legitimate OpenClaw; the vendor found no malicious CLI binary or user-data theft.
Applicable AIDEFEND Defenses (7)
What Defenders Should Do Now
- For Cline CLI installations, check whether version 2.3.0 was installed, move to a clean 2.4.0-or-later release, and remove OpenClaw if its global installation was unintended.
- Keep public-issue triage agents read-only: remove Bash, package installation and file mutation, and separate their cache scope from any workflow that can see publication secrets.
- Use CI-only OIDC trusted publishing; identify and revoke every incident-scoped npm token at its issuer. Verify the exact token ID or fingerprint, and test the old secret only if it is safely available.
1 additional consideration
Evidence and deployment boundary
Conclusion
Last updated: