Agent Skill
2/7/2026

solodit-skill

Smart contract security audit assistant powered by Solodit API and professional audit tools. Capabilities: (1) Search 50,000+ vulnerabilities from top audit firms, (2) Fetch verified contracts from Etherscan/BSCScan/etc by URL or address, (3) Run static analysis with Slither/Aderyn/Mythril, (4) Fuzz testing with Echidna/Medusa/Foundry, (5) Write security tests for EVM/Solana/Neo/TON/Move/Cairo/CosmWasm, (6) Generate PoC exploits, (7) Create audit reports in Code4rena/Sherlock/Cyfrin style, (8) Debug transactions with Phalcon/Tenderly. Triggers: "audit", "security review", "vulnerability", "exploit", "PoC", "solodit", "slither", "aderyn", "echidna", "fuzz", "reentrancy", "flash loan", "oracle manipulation", "etherscan", "contract address".

O
os
1GitHub Stars
1Views
npx skills add OS-Lihua/solodit-skill

SKILL.md

Namesolodit-skill
DescriptionSmart contract security audit assistant powered by Solodit API and professional audit tools. Capabilities: (1) Search 50,000+ vulnerabilities from top audit firms, (2) Fetch verified contracts from Etherscan/BSCScan/etc by URL or address, (3) Run static analysis with Slither/Aderyn/Mythril, (4) Fuzz testing with Echidna/Medusa/Foundry, (5) Write security tests for EVM/Solana/Neo/TON/Move/Cairo/CosmWasm, (6) Generate PoC exploits, (7) Create audit reports in Code4rena/Sherlock/Cyfrin style, (8) Debug transactions with Phalcon/Tenderly. Triggers: "audit", "security review", "vulnerability", "exploit", "PoC", "solodit", "slither", "aderyn", "echidna", "fuzz", "reentrancy", "flash loan", "oracle manipulation", "etherscan", "contract address".

name: solodit-skill description: | Smart contract security audit assistant powered by Solodit API and professional audit tools.

Capabilities: (1) Search 50,000+ vulnerabilities from top audit firms, (2) Fetch verified contracts from Etherscan/BSCScan/etc by URL or address, (3) Run static analysis with Slither/Aderyn/Mythril, (4) Fuzz testing with Echidna/Medusa/Foundry, (5) Write security tests for EVM/Solana/Neo/TON/Move/Cairo/CosmWasm, (6) Generate PoC exploits, (7) Create audit reports in Code4rena/Sherlock/Cyfrin style, (8) Debug transactions with Phalcon/Tenderly.

Triggers: "audit", "security review", "vulnerability", "exploit", "PoC", "solodit", "slither", "aderyn", "echidna", "fuzz", "reentrancy", "flash loan", "oracle manipulation", "etherscan", "contract address".

Solodit Security Audit Skill

Configuration

Required Environment Variables:

# Solodit API (required)
export SOLODIT_API_KEY=sk_your_key_here

# Blockchain Explorers (optional, for fetching contracts)
export ETHERSCAN_API_KEY=xxx
export BSCSCAN_API_KEY=xxx
export ARBISCAN_API_KEY=xxx

# RPC URLs (optional, for fork testing)
export ETH_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/xxx

Get Solodit API key: https://solodit.cyfrin.io (Profile → API Keys)

Quick Commands

# Search vulnerabilities
python3 scripts/solodit_api.py search --keywords "reentrancy" --impact HIGH

# Fetch contract from Etherscan URL
python3 scripts/fetch_contract.py "https://etherscan.io/address/0x..."

# Fetch by address
python3 scripts/fetch_contract.py 0x1234... --chain ethereum

# Detect project framework
python3 scripts/project_detector.py /path/to/project

# Run static analysis
slither .
aderyn .

# Run fuzzing
forge test --fuzz-runs 10000
echidna . --contract InvariantTest

Workflows

1. Audit from Contract Address/URL

# Fetch verified source
python3 scripts/fetch_contract.py "https://etherscan.io/address/0x..."

# Run static analysis
cd contracts/ContractName
slither .
aderyn . -o report.md

# Search similar vulnerabilities
python3 scripts/solodit_api.py search --keywords "relevant keyword"

2. Search Vulnerabilities

python3 scripts/solodit_api.py search --keywords "flash loan"
python3 scripts/solodit_api.py search --impact HIGH --firms Cyfrin,Sherlock
python3 scripts/solodit_api.py search --tags "Oracle,Reentrancy" --category DeFi
python3 scripts/solodit_api.py search --days 30 --limit 50

See references/filters.md for all filter options.

3. Static Analysis

ToolCommandBest For
Slitherslither .Quick comprehensive scan
Aderynaderyn .Fast Rust-based analysis
Mythrilmyth analyze src/Contract.solDeep symbolic execution
Solhintsolhint 'src/**/*.sol'Code style/linting
4naly3eryarn analyze /pathAuto QA reports

See references/audit_tools.md for detailed usage.

4. Fuzzing & Invariant Testing

ToolCommandUse Case
Foundry Fuzzforge test --fuzz-runs 10000Property testing
Echidnaechidna . --contract TestInvariant testing
Medusamedusa fuzzParallel fuzzing
Halmoshalmos --contract TestSymbolic testing

5. Transaction Analysis

ToolUsage
Phalconhttps://phalcon.blocksec.com - Paste tx hash
MetaSleuthhttps://metasleuth.io - Address tracing
Tenderlytenderly debug tx <hash>
Foundrycast run <tx_hash> --debug

6. Write Security Tests

Detect framework → Use appropriate template:

ChainFrameworkReference
EVMFoundrytest_frameworks/evm_foundry.md
EVMHardhattest_frameworks/evm_hardhat.md
SolanaAnchortest_frameworks/solana_anchor.md
Neo N3Neo-Test/Express/Fairytest_frameworks/neo.md
TONBlueprint/Tacttest_frameworks/ton.md
MoveAptos/Sui CLItest_frameworks/move.md
CairoStarknet Foundrytest_frameworks/cairo.md
CosmWasmcw-multi-testtest_frameworks/cosmwasm.md

7. Generate PoC Exploits

VulnerabilityTemplate
Reentrancypoc_templates/reentrancy.md
Flash Loanpoc_templates/flash_loan.md
Oracle Manipulationpoc_templates/oracle_manipulation.md
Access Controlpoc_templates/access_control.md
Integer Overflowpoc_templates/integer_overflow.md
Price Manipulationpoc_templates/price_manipulation.md

8. Generate Audit Reports

StyleTemplateUse Case
Code4renareport_templates/code4rena.mdCompetitions
Sherlockreport_templates/sherlock.mdSherlock platform
Cyfrinreport_templates/cyfrin.mdProfessional
Genericreport_templates/generic.mdGeneral

Supporting: finding_template.md | severity_guide.md

Full Audit Workflow

# 1. Get code (local or from explorer)
python3 scripts/fetch_contract.py "https://etherscan.io/address/0x..."

# 2. Detect framework
python3 scripts/project_detector.py ./contracts/Target

# 3. Quick static analysis
slither . --filter-paths "test|lib"
aderyn . -o aderyn-report.md

# 4. Search similar vulnerabilities
python3 scripts/solodit_api.py search --keywords "lending oracle" --impact HIGH

# 5. Run tests
forge test -vvv

# 6. Fuzz critical functions
forge test --fuzz-runs 10000

# 7. Generate report (choose template)
# Use report_templates/*.md
Skills Info
Original Name:solodit-skillAuthor:os