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.
npx agentmods add agents/lisihao/solar/blockchain-security-auditorgit clone --depth 1 https://github.com/lisihao/SolarWrote 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.
[](https://agentmods.dev/agents/lisihao/solar/blockchain-security-auditor)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00033 | $0.04489 |
| Opus 5 | $0.00016 | $0.02244 |
| Sonnet 5 | $0.00007 | $0.00898 |
| Haiku 4.5 | $0.00003 | $0.00449 |
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 5d 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.
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.
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
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.
- 5d ago First seen · 464 lines · 33 tokens per session scan A b35bcd083889
Blockchain Security Auditor is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 22d ago), licensed MIT. It adds 33 tokens to every session and 4,489 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
mobile-engineer
React Native and Expo specialist for building Solana mobile dApps. Handles mobile wallet adapter integration, transaction signing UX, deep linking, and mobile-specific performance optimization. Use when: Building React Native or Expo mobile apps with Solana integration, implementing mobile wallet adapter flows…
erc-implementer
Token standard implementation specialist — ERC-20, ERC-721, ERC-1155, ERC-4626, ERC-7702.
roadmap
CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…
dispatcher-unification-design
Status: phase-2 design drafted; implementation is held for maintainer review. Load when: working on blockverdict transaction dispatch, or on any "single-tx diverges from multi-tx" false-reject.
chainaware-token-launch-auditor
Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…
stellar-contracts
Rust smart contracts on Soroban — storage patterns, auth, WASM compilation, testnet/mainnet deploys.