Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

onchain-forensics

БесплатноЗапускает вложенные скриптыНе проверен

Investigate on-chain fund flows and cluster addresses using the standard 6-stage forensic workflow — multi-input ownership, change-address & FIFO mixer…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

On-Chain Forensics

A disciplined methodology for tracing fund flows across one or more blockchains and clustering addresses to likely-controlling entities. The skill walks the canonical six-stage forensic workflow used by professional investigators (Chainalysis, TRM, Elliptic): collect → cluster → attribute → graph → cross-chain → document. It is grounded in the standard clustering heuristics — multi-input ownership and change-address detection for UTXO chains, plus account-based techniques (deposit-address clustering, common gas funder, ENS reuse, bridge-receipt matching) for EVM and Solana — and applies the published defeats against modern obfuscation chains (peel chain → bridge → DEX → mixer → bridge).

Honest scope and limits — read first. I cannot fetch on-chain state. I reason over what you provide (tx hashes, address lists, exported flow data, Etherscan/Arkham screenshots, prior analyst notes). I produce investigative leads using probabilistic heuristics — NOT court-ready evidence. For law-enforcement or litigation use, pair this with professional tooling (Chainalysis Reactor, TRM, Elliptic) and subpoena-backed exchange data. This is not legal advice.


When to Activate

Activate this skill when the user:

  • Wants to trace stolen funds from a hack, drainer, phishing victim, rug pull, or social-engineering theft across one or more chains.
  • Asks to vet a counterparty address (OTC desk, market maker, exchange, vendor) for prior sanctioned or mixer exposure.
  • Needs to screen for sanctioned-cluster exposure (OFAC SDN — e.g. Tornado Cash, Lazarus / DPRK wallets, named entities) on a list of addresses or a treasury.
  • Is building an investigative brief or public exposé in the style of ZachXBT / Chainalysis / TRM / Elliptic public reports, or preparing a pre-subpoena lead package for counsel.
  • Mentions tx hashes, addresses, mixers, bridges, peel chains, ZachXBT, Chainalysis, TRM, Elliptic, Arkham, Nansen, Lookonchain, OFAC SDN, Lazarus.

If the user only gives a single address with no context, ask for: case type, seed tx hash(es), chain(s), approximate value at risk, timeframe, and what exported flow data they can share. Do not fabricate transactions, balances, flows, or attributions.


Step 1: Intake & Scope

Anchor the investigation before any clustering. State each field explicitly in the report header.

Field Why it matters
Case type Theft / rug / sanctions screen / counterparty vet / AML exposure / public exposé. Different cases prioritize different outputs.
Chain(s) UTXO (BTC/LTC/BCH) and account-based (ETH/EVM L2s/SOL) use fundamentally different clustering methods — Step 2.
Seed addresses / tx hashes The known anchor points (victim address, exploit tx, drainer EOA). All tracing fans out from these.
Value at risk Native units and USD where computable from user-supplied prices; sizes the case.
Timeframe Funds older than the available exported window can't be traced; modern obfuscation completes in hours.
Provided data Raw txs? Explorer CSV export? Screenshots? Prior analyst notes? Heuristic strength depends on what's in hand.
Reporting target Internal brief / counsel / law enforcement / public report — controls tone, attribution thresholds, and disclosure.

If reporting target is law-enforcement or litigation, repeat the limits disclaimer at the top of the output and recommend professional tooling + subpoena for exchange KYC.


Step 2: Choose Heuristics by Chain Model

The chain's accounting model determines which heuristics apply. Never apply multi-input ownership to an account-based chain — it is undefined there.

2a. UTXO chains (BTC, LTC, BCH, Doge)

Heuristic What it does Known limits
Multi-Input Ownership (MIH / common-input) If multiple inputs sign one tx, they're probably one entity. The most studied and gold-standard UTXO heuristic. Defeated by CoinJoin / PayJoin / collaborative multi-sig — flag CoinJoin (equal-output co-spend) before clustering.
Change-address detection Identify the change output: one-time-use address, script-type match to inputs, non-round amount, no prior history. Probabilistic; randomized modern wallets defeat the round-amount signal. State confidence per hop.
Address reuse Same address across deposits & withdrawals trivially links them. Powerful against sloppy actors. None — but absence proves nothing.
Behavioral / temporal patterns Fee bands, batching cadence, dust outputs, tx-timing fingerprints. Soft evidence only; corroborate.

2b. Account-based chains (ETH, EVM L2s, Solana)

There is no MIH. A single EOA can transact infinitely. Use:

Heuristic What it does Known limits
Direct transfer chain EOA→EOA→EOA preserves identity unless laundered. Only attributes the
Полный SKILL.md на GitHub

Установить onchain-forensics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.github/workflows/validate.yml.gitignoreCHANGELOG.mdLICENSEREADME.mdSOURCE.mdTRUST.auto.yamlexamples/btc-rug-cluster.mdexamples/stolen-eth-trace.mdscripts/validate_skill.py

FAQ

Что делает скилл onchain-forensics?

Investigate on-chain fund flows and cluster addresses using the standard 6-stage forensic workflow — multi-input ownership, change-address & FIFO mixer heuristics, bridge/DEX hop tracing, OFAC-sanctioned-cluster checks, and Daubert-grade evidence documentation. Outputs an investigator's case report with cluster table, hop-by-hop flow, attribution confidence, and reproducibility notes. Use to trace stolen funds, vet a counterparty, screen exposure, or build an investigative lead.

Как установить скилл onchain-forensics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл onchain-forensics запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить onchain-forensics с