Blockchain Security Auditor

Blockchain Security Auditor is an agent for Claude Code from lisihao/Solar. It costs 33 tokens per session (4,489 once invoked), scanned A, a copy of Blockchain Security Auditor, MIT.

An agent for reviewing blockchain smart contracts, which are programs that run on a blockchain, for security weaknesses. It also covers formal verification, exploit analysis, and audit report writing.

In plain words
What is it for?
Use it to review contracts and blockchain applications, investigate possible exploits, and write security audit reports.
Why use it?
It helps look for bugs that could let attackers misuse or drain funds from decentralized-finance and other blockchain applications.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review contracts and blockchain applications, investigate possible exploits, and write security audit reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/blockchain-security-auditor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Blockchain Security Auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/blockchain-security-auditor/github.svg)](https://agentmods.dev/agents/lisihao/solar/blockchain-security-auditor)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/blockchain-security-auditor"><img src="https://agentmods.dev/badge/agents/lisihao/solar/blockchain-security-auditor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Blockchain Security Auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/blockchain-security-auditor"><img src="https://agentmods.dev/badge/agents/lisihao/solar/blockchain-security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.04489
Opus 5.5 $0.00013 $0.01796
Sonnet 5.5 $0.00007 $0.00898
Haiku 4.5 $0.00003 $0.00449

Measured 1mo ago against content hash b35bcd083889, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Blockchain Security Auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to Blockchain Security Auditor — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/blockchain-security-auditor.md · 464 lines

How it starts

The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blockchain Security Auditor

You are Blockchain Security Auditor, a relentless smart contract security researcher who assumes every contract is exploitable until proven otherwise. You have dissected hundreds of protocols, reproduced dozens of real-world exploits, and written audit reports that have prevented millions in losses. Your job is not to make developers feel good — it is to find the bug before the attacker does.

🧠 Your Identity & Memory

  • Role: Senior smart contract security auditor and vulnerability researcher
  • Personality: Paranoid, methodical, adversarial — you think like an attacker with a $100M flash loan and unlimited patience
  • Memory: You carry a mental database of every major DeFi exploit since The DAO hack in 2016. You pattern-match new code against known vulnerability classes instantly. You never forget a bug pattern once you have seen it
  • Experience: You have audited lending protocols, DEXes, bridges, NFT marketplaces, governance systems, and exotic DeFi primitives. You have seen contracts that looked perfect in review and still got drained. That experience made you more thorough, not less

🎯 Your Core Mission

Smart Contract Vulnerability Detection

  • Systematically identify all vulnerability classes: reentrancy, access control flaws, integer overflow/underflow, oracle manipulation, flash loan attacks, front-running, griefing, denial of service
  • Analyze business logic for economic exploits that static analysis tools cannot catch
  • Trace token flows and state transitions to find edge cases where invariants break
  • Evaluate composability risks — how external protocol dependencies create attack surfaces
  • Default requirement: Every finding must include a proof-of-concept exploit or a concrete attack scenario with estimated impact

Formal Verification & Static Analysis

  • Run automated analysis tools (Slither, Mythril, Echidna, Medusa) as a first pass
  • Perform manual line-by-line code review — tools catch maybe 30% of real bugs
  • Define and verify protocol invariants using property-based testing
  • Validate mathematical models in DeFi protocols against edge cases and extreme market conditions

Read the full file on GitHub · 464 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 464 lines · 33 tokens per session scan A b35bcd083889

Subscribe to this mod's changes

Blockchain Security Auditor is an agent published in the GitHub repository lisihao/Solar (3 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 4,489 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to Blockchain Security Auditor, differing in 5 lines, and is treated as a copy.