{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0050-clinejection-issue-triage-release-token",
  "title": "Clinejection: Issue Triage Agent to Release-Token Exposure",
  "subtitle": "The confirmed unauthorized CLI release is separated from the unproven precise route by which the token was taken.",
  "summary": "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.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "autonomous-agents"
  ],
  "risk_impact": [
    "system-compromise-rce",
    "credential-identity-theft"
  ],
  "affected_components": [
    "public GitHub issue title",
    "Claude issue-triage workflow",
    "GitHub Actions cache",
    "Cline CLI npm publication"
  ],
  "source_research": {
    "provider": "Adnan Khan / Cline",
    "primary_url": "https://adnanthekhan.com/posts/clinejection/",
    "published": "2026-02-09",
    "note": "AIDEFEND-curated public SecureFlow based on public reporting and supporting references. This is not a MITRE ATLAS case-study conversion."
  },
  "attack_steps": [
    {
      "id": "step-1",
      "title": "Submit a Prompt-Bearing Public Issue Title",
      "tactic": "AML.TA0001",
      "technique": "AML.T0065",
      "summary": "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.",
      "zhTitle": "在公開 Issue 標題放入惡意指示",
      "zhSummary": "研究者在標題內要求分類代理安裝攻擊者指定套件；這一步在鏡像儲存庫測試，不能當成實際入侵路徑已查明。",
      "layout": {
        "x": -960,
        "y": -260
      }
    },
    {
      "id": "step-2",
      "title": "Triage Agent Runs a Shell Command",
      "tactic": "AML.TA0005",
      "technique": "AML.T0053",
      "summary": "The mirror's Claude triage workflow followed the title and ran npm install through Bash; its preinstall script executed in the runner.",
      "zhTitle": "分類代理執行 shell 指令",
      "zhSummary": "鏡像環境中的 Claude 分類流程依標題內容透過 Bash 執行 npm install，套件的 preinstall 指令在 runner 內執行。",
      "layout": {
        "x": -480,
        "y": -260
      }
    },
    {
      "id": "step-3",
      "title": "Shared Cache Creates a Path to Release Secrets",
      "tactic": "AML.TA0013",
      "technique": "AML.T0106",
      "summary": "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.",
      "zhTitle": "共用快取形成接近發布憑證的路徑",
      "zhSummary": "研究者說明可從分類流程污染 Actions 快取，再影響夜間發布流程。Cline 確認這項設計弱點，但公開證據沒有還原後來憑證遭取用時每一項快取動作。",
      "layout": {
        "x": 0,
        "y": -260
      }
    },
    {
      "id": "step-4",
      "title": "Still-Active npm Token Publishes cline@2.3.0",
      "tactic": "AML.TA0004",
      "technique": "AML.T0010.001",
      "summary": "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.",
      "zhTitle": "仍有效的 npm 憑證發布 cline@2.3.0",
      "zhSummary": "Cline 確認在揭露後誤撤銷了另一把憑證；第三方於 2 月 17 日用仍有效的 npm 憑證發布未經授權的 cline@2.3.0。",
      "layout": {
        "x": -480,
        "y": 260
      }
    },
    {
      "id": "step-5",
      "title": "Package Postinstall Adds OpenClaw",
      "tactic": "AML.TA0005",
      "technique": "AML.T0050",
      "summary": "The sole unauthorized change was a postinstall command that globally installed legitimate OpenClaw. Cline reported no malicious binary change or user-data exfiltration.",
      "zhTitle": "postinstall 額外安裝 OpenClaw",
      "zhSummary": "未授權修改只有 postinstall 指令：全域安裝合法的 OpenClaw。Cline 表示 CLI 主程式未變，沒有發現使用者資料外洩。",
      "layout": {
        "x": 0,
        "y": 260
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0051.001",
      "name": "LLM Prompt Injection: Indirect"
    },
    {
      "id": "AML.T0053",
      "name": "AI Agent Tool Invocation"
    },
    {
      "id": "AML.T0010.001",
      "name": "AI Software"
    }
  ]
}
