Works with the AI Agents you already use

    Onchain Incident Forensics

    by BanditXBT

    1

    EVM exploit response: contain, trace with cast/anvil, reproduce, follow funds, blameless postmortem.

    $3.15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    About this skill

    Order of operations: contain → understand → recover → learn. Evidence is on-chain and permanent; act on it quickly but record every step with tx hashes and block numbers.

    • Confirm it is real: compare balances/TVL, check explorer for the drain pattern, check price/oracle anomalies.
    • Use pre-planned levers: pause (guardian multisig), disable markets/new positions, lower caps, revoke/upgrade, pause bridge routes (per chain). Know who holds keys before an incident; if the pause path is slow or contested, that is a postmortem finding.
    • Tell users to revoke approvals if a token-approval drain is possible.
    • Engage help early: the Security Alliance (SEAL 911) and your auditors; contact exchanges/stablecoin issuers/bridges to flag attacker addresses; consider a whitehat bounty offer (typically a negotiated percentage with a deadline) via an on-chain message.
    • Open a private incident channel, assign lead + scribe + comms; UTC timeline from the first moment.
    1. Find the transactions: explorer address pages, token transfer logs, internal txs, cast logs, or a subgraph query over the affected contract's events around the first anomalous block.
    2. Trace execution: cast run <txhash> --rpc-url <archive node> (replays and prints the call trace), or Tenderly/Phalcon/Dedaub tools for visual traces and state diffs. Identify: entry point, flash loan (Aave/Balancer/Uniswap) source, callback re-entry, swaps/price moves, the vulnerable call, and profit extraction/exit path.
    3. Reproduce on a fork: anvil --fork-url <archive> --fork-block-number <block-1>, then write a Foundry PoC that replays the exploit. A passing PoC proves the root cause and lets you test the patch against the same state.
    4. Classify the root cause: access control / reentrancy (incl. read-only) / oracle manipulation / rounding or share-inflation / signature replay / bridge verification / upgrade or init error / compromised key (off-chain: phishing, leaked secrets, supply-chain). Distinguish vulnerability from key/ops compromise: the response differs.
    5. Quantify: funds lost per asset at the time and USD value (state methodology/prices), affected users, attacker profit net of costs, remaining at-risk funds in sibling contracts/chains (check every deployment with the same code).

    Label attacker EOAs/contracts; watch movements via alerts; common exits: swap to ETH/stables, bridges, mixers/privacy tools, CEX deposits. Share addresses with exchanges and analytics firms quickly. Attribute only with evidence; use "consistent with" language.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    Software
    Foundry (cast, anvil)
    Optional
    Archive RPC

    Permissions

    No special permissions declared or detected

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    EVM exploit response: contain, trace with cast/anvil, reproduce, follow funds, blameless postmortem.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use onchain-incident-forensics on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.