cookiengineer

Check Claude Code Exfil — Development skill for Claude Code

Development community

robot: (Vibecoded) Check for Indicators of Compromise for the ongoing Claude Code Extensions Exfil campaign.

How to install Check Claude Code Exfil

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cookiengineer/check-claude-code-exfil and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Check Claude Code Exfil does

:robot: (Vibecoded) Check for Indicators of Compromise for the ongoing Claude Code Extensions Exfil campaign

Alternatives in Development

  • Robot — 连接或断开当前对话的飞书应用机器人;连接后本轮 Web 对话会同步至选定群 2.6k ★
  • Getspecstory — Extensions for GH Copilot, Cursor, and Claude Code 1.1k ★
  • Purpose — Orient yourself in pi-vs-cc — a collection of Pi coding agent extensions and agent specs that progressively de 527 ★

README

check-claude-code-exfil

A read-only indicator-of-compromise scanner for the Claude Code for VS Code extension compromise documented in [claude-code-vx-compromise.html](references/claude-code-vx-compromise.html).

It runs on macOS, Linux, and Windows and is built with `CGO_ENABLED=0`, producing standalone binaries with no third-party Go dependencies.

The scanner checks host artifacts, SSH keys, persistence, running processes, and live TCP connections. It does not remediate, delete files, or contact the attacker infrastructure.

Quick Start

make build;

# Linux
sudo ./build/check-claude-code-exfil_linux_amd64;

# macOS (Apple Silicon)
sudo ./build/check-claude-code-exfil_darwin_arm64;

# Windows (from an elevated terminal)
build\check-claude-code-exfil_windows_amd64.exe;

Running as root/administrator is recommended because it allows the scanner to inspect all user homes, processes, and network sockets. Without elevated privileges, the scanner reports anything it could not inspect as an incomplete scan.

Indicators Checked

Extension Compromise

Indicator Location Verification
Vulnerable extension version ~/./extensions/ Flags installed anthropic.claude-code version 2.1.313, including platform-specific directory names such as anthropic.claude-code-2.1.313-win32-x64. Also validates package.json metadata.
Backdoored extension.js IDE extension directories Computes the SHA-256 of extension.js files and compares against the documented bundle hash.

Known bundle SHA-256:

ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15

The scanner checks the known VS Code, Cursor, VS Code Server, Cursor Server, Windsurf, VSCodium, Positron, Trae, and Kiro extension roots. It also discovers additional `~/./extensions` directories under each scanned home.

SSH Backdoor Keys

Indicator Location Verification
Victim-login public key `~/.ssh/authoriz