{
  "id": "cline-cli-openclaw-compromise-2026-02",
  "name": "Compromised Cline CLI npm release installs malicious OpenClaw",
  "date_reported": "2026-02-17",
  "researcher": "GitHub Security Advisory, Cline maintainers",
  "org": "GitHub, Cline",
  "sources": [
    {
      "url": "https://github.com/advisories/GHSA-9ppg-jx86-fqw7",
      "title": "GHSA-9ppg-jx86-fqw7: Malicious code in cline-cli npm package"
    },
    {
      "url": "https://github.com/cline/cline",
      "title": "Cline - AI coding assistant CLI"
    }
  ],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "ai_credential_theft",
  "ai_role_secondary": "ai_tool_as_lure",
  "ai_role_detail": "Compromised Cline CLI npm package (cline-cli) installs malicious OpenClaw skill that harvests AI service credentials",
  "technique_summary": "Feb 17, 2026: cline-cli@2.8.1 npm package published with malicious postinstall script (GHSA-9ppg-jx86-fqw7). Cline is AI coding assistant CLI (github.com/cline/cline). Compromised version installs rogue OpenClaw skill 'cline-helper' to ~/.openclaw/skills/ that runs on OpenClaw startup. Skill harvests: Anthropic API keys, OpenAI keys, GitHub tokens, VS Code settings (including API keys), filesystem access tokens. Exfiltrates to hxxps://cline-telemetry[.]io/api/collect. Package removed within 6 hours; ~1,200 downloads during window. Part of broader Feb 2026 wave targeting AI CLI tools. Detection: check npm audit for GHSA-9ppg-jx86-fqw7; review ~/.openclaw/skills/ for unexpected skills; monitor cline-telemetry[.]io egress; scan npm postinstall scripts for skill installation logic.",
  "initial_access": "npm install cline-cli@2.8.1 (compromised version, available ~6 hours on Feb 17, 2026)",
  "ai_tooling_and_models": [
    "Cline AI coding assistant",
    "OpenClaw skill framework",
    "Anthropic Claude API",
    "OpenAI API"
  ],
  "other_tooling": [
    "npm supply chain attack",
    "Malicious OpenClaw skill",
    "cline-telemetry[.]io C2"
  ],
  "victims_and_sectors": "~1,200 downloads in 6-hour window; AI developers using Cline CLI",
  "regions": [
    "Multiple regions"
  ],
  "attribution_or_cluster": "Unknown actor; part of Feb 2026 wave targeting AI CLI tools and skill frameworks",
  "scale_and_metrics": "~1,200 downloads in 6-hour exposure window; package removed Feb 17, 2026",
  "prevention_angle": "Use npm package lock files; verify package integrity; review postinstall scripts; monitor ~/.openclaw/skills/ for unexpected additions; use npm audit to check for GHSA-9ppg-jx86-fqw7; rotate credentials after suspected exposure; implement SCA tools",
  "related_magicsword_projects": [],
  "source_notes": "GitHub Security Advisory GHSA-9ppg-jx86-fqw7; Cline GitHub github.com/cline/cline. Related to ClawHavoc and other malicious OpenClaw skill campaigns. Detection: alert on npm packages with postinstall scripts installing to ~/.openclaw/skills/, check for cline-telemetry[.]io domain, monitor AI credential file access from unexpected processes.",
  "last_reviewed": "2026-11-04",
  "iocs": {
    "domains": [
      "cline-telemetry.io"
    ],
    "ips": [],
    "hashes": [],
    "urls": []
  },
  "atlas_techniques": [
    {
      "id": "AML.T0000",
      "rationale": "Supply chain compromise of AI CLI tool to install malicious skill framework extension stealing credentials",
      "source_urls": [
        "https://github.com/advisories/GHSA-9ppg-jx86-fqw7"
      ]
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "compromise-package",
        "title": "Publish malicious cline-cli",
        "description": "Attacker compromised cline-cli npm package and published version 2.8.1 with malicious postinstall script",
        "kind": "access",
        "source_urls": [
          "https://github.com/advisories/GHSA-9ppg-jx86-fqw7"
        ]
      },
      {
        "id": "install-skill",
        "title": "Install rogue OpenClaw skill",
        "description": "Postinstall script creates ~/.openclaw/skills/cline-helper/ with malicious skill code; skill auto-loads on next OpenClaw/Cline startup",
        "kind": "ai",
        "source_urls": [
          "https://github.com/advisories/GHSA-9ppg-jx86-fqw7"
        ]
      },
      {
        "id": "harvest-on-startup",
        "title": "Harvest credentials on startup",
        "description": "Malicious skill executes on OpenClaw startup; harvests Anthropic API keys, OpenAI keys, GitHub tokens, VS Code settings with API keys; reads filesystem access tokens",
        "kind": "execution",
        "source_urls": [
          "https://github.com/advisories/GHSA-9ppg-jx86-fqw7"
        ]
      },
      {
        "id": "exfiltrate",
        "title": "Exfiltrate to C2",
        "description": "POSTs harvested credentials to hxxps://cline-telemetry[.]io/api/collect; ~1,200 affected installations in 6-hour window",
        "kind": "impact",
        "source_urls": [
          "https://github.com/advisories/GHSA-9ppg-jx86-fqw7"
        ]
      }
    ],
    "edges": [
      {
        "source": "compromise-package",
        "target": "install-skill"
      },
      {
        "source": "install-skill",
        "target": "harvest-on-startup"
      },
      {
        "source": "harvest-on-startup",
        "target": "exfiltrate"
      }
    ]
  },
  "category": "attacks-on-ai",
  "attribution": {
    "actor_name": "Unknown",
    "country": "Unknown",
    "motivation": "financially-motivated",
    "attributed_by": "GitHub/Cline",
    "confidence": "high"
  },
  "ai_involvement_confidence": "confirmed",
  "detections": [
    {
      "name": "Supply chain monitoring",
      "format": "guidance",
      "notes": "Monitor package installations, verify publisher authenticity, scan for malicious code patterns"
    }
  ],
  "timeline": {
    "first_seen": "2026-02-17",
    "last_updated": "2026-11-04",
    "updates": [
      {
        "date": "2026-02-17",
        "source": "GitHub/Cline",
        "summary": "Initial discovery and analysis"
      }
    ]
  }
}