skills/cyfrin-findings/SKILL.md
Query the Cyfrin/Solodit findings database (50,530+ findings from 30+ audit firms) for vulnerability research, pattern extraction, and audit enhancement. Use when searching for historical findings by vulnerability type, protocol category, or severity, or when looking for similar bugs found in comparable protocols.
npx skillsauth add 0x-shashi/web3-audit-skills skills/cyfrin-findingsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query and leverage the Cyfrin/Solodit findings database — the largest aggregated repository of smart contract audit findings — for vulnerability research, pattern extraction, and audit enhancement. This skill provides structured access to historical audit data across the entire Web3 ecosystem.
| Metric | Value | |--------|-------| | Total findings indexed | 50,530+ | | Audit firms represented | 30+ (Code4rena, Sherlock, Spearbit, Trail of Bits, OpenZeppelin, ConsenSys Diligence, Cyfrin, Sigma Prime, MixBytes, Cantina, etc.) | | Protocols covered | 2,844+ | | Vulnerability categories/tags | 207 | | Protocol categories | 33 (Lending, DEX, Bridge, Yield, Governance, NFT, Stablecoin, Derivatives, Insurance, etc.) | | Chains covered | Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Solana, and more |
Based on the indexed findings:
| Severity | Percentage | Approximate Count | |----------|------------|-------------------| | Critical | ~5% | ~2,500 | | High | ~25% | ~12,600 | | Medium | ~40% | ~20,200 | | Low | ~20% | ~10,100 | | Informational/Gas | ~10% | ~5,050 |
Ranked by frequency across the entire database:
reentrancy, oracle-manipulation, access-control)| Property | Value |
|----------|-------|
| Base URL | https://api.solodit.xyz |
| Auth | API key in X-API-Key header |
| Rate limit | 100 requests/minute, 10,000 requests/day |
| Response format | JSON |
| Pagination | page (default: 1), per_page (default: 50, max: 100) |
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | /findings | Search findings with filters (severity, category, chain, protocol) |
| GET | /findings/:id | Get a specific finding by ID |
| GET | /protocols | List all audited protocols |
| GET | /categories | List all vulnerability categories |
See API Reference for full parameter documentation and response schemas.
| Workflow | When to Use | |----------|-------------| | Audit Preparation | Before starting an audit — build threat model from historical findings for the protocol type | | Code Review Enhancement | During code review — query past findings when encountering suspicious patterns | | Vulnerability Learning | Study sessions — deep-dive into a vulnerability category with 10+ real examples | | Pre-Development Research | Before writing smart contract code — learn what goes wrong in similar protocols |
| Resource | Purpose | |----------|---------| | API Reference | Full endpoint documentation, parameters, response schemas, error codes | | Query Templates | Ready-to-use query patterns for common research scenarios | | Rate Limiting | Rate limit details, caching strategies, backoff implementation | | Response Parsing | How to extract, normalize, and categorize findings from API responses |
This skill feeds data into multiple other skills in the system:
| Skill | Integration |
|-------|-------------|
| patterns/ | Findings data populates vulnerability pattern files (e.g., reentrancy-patterns.md, erc4626-patterns.md) |
| exploit-forensics/ | Past findings provide forensic case studies for exploit analysis |
| protocol-playbooks/ | Historical findings for specific protocol types inform playbook checklists |
| attack-trees/ | Finding severity and frequency data shapes attack tree probability nodes |
| checklists/ | Top vulnerability categories from findings become checklist items |
| scoring/ | Finding density by category informs risk scoring weights |
To research vulnerabilities for a lending protocol audit:
GET /findings?category=lending&severity=critical&per_page=50patterns/oracle-patterns.md and patterns/lending-patterns.mdchecklists/ templatesGET /findings?category=reentrancy&protocol_type=lendingdevelopment
Systematically hunt for every variant of a discovered vulnerability across the entire codebase. Use when a bug is found and all instances of the same root cause pattern must be identified, or when performing variant analysis during competitive audits on Code4rena or Sherlock.
testing
Use when the user wants to audit TON smart contracts for security vulnerabilities, scan FunC or Tact contracts for message chain replay, bounce handling, or gas issues, review TON DeFi protocols for actor-model concurrency flaws, or analyze asynchronous message passing security.
tools
Analyze ERC20/ERC721/ERC1155 token implementations for non-standard behavior, fee-on-transfer mechanics, rebasing logic, blacklists, pausability, and integration risks. Use when reviewing protocols that interact with external tokens or implementing token-related features.
testing
Use when the user wants to audit Sui Move smart contracts, scan Sui-specific patterns including object ownership, shared objects, or dynamic fields, review Sui DeFi protocols for object model security issues, or analyze Sui-specific transaction and consensus patterns.