searchHacks

1 credit per call

Search historical DeFi hack and exploit incidents. Filter by chain or bridge hacks, search by protocol name or technique. Use this for security due diligence.

Try it

Open in playground
kirha tools run defillama_searchHacks \
  --input '{}'

Uses the key saved by kirha auth login.

  • bridgeHackboolean

    if true, only show bridge hacks

  • chainstring

    blockchain name (e.g., 'Ethereum', 'BSC', 'Solana')

  • limitnumber, default 10, 1 to 25
  • querystring

    protocol name, technique, or classification (e.g., 'compound', 'flash loan', 'reentrancy')

  • sortBystring, default "date:desc"

    One of date:desc, date:asc, amount:desc, amount:asc

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot