rust_contract_audit
Audit Rust smart contracts for security vulnerabilities with automated framework detection. Analyzes source code or GitHub URLs and returns a severity-graded report with root cause analysis and fixes.
Instructions
Rust smart contract security audit powered by CottonmouthAI (Claude Opus). Auto-detects the framework (CosmWasm, Anchor/Solana, Stellar/Soroban, NEAR) and applies targeted checks: unsafe arithmetic, missing account validation, signer privilege escalation, PDA seed collisions, CPI reentrancy, storage layout bugs, and integer truncation. Returns a severity-graded report (Critical/High/Medium/Low) with root cause analysis and recommended fixes. Provide raw Rust source code or a GitHub URL. Cost: $2.00 via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| github_url | No | ||
| contract_name | No | Contract |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||