rust_contract_audit
ActiveTool of xyz.lonestaroracle/mcp-server
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.
Parameters schema
{
"type": "object",
"properties": {
"source": {
"type": "string",
"default": ""
},
"github_url": {
"type": "string",
"default": ""
},
"contract_name": {
"type": "string",
"default": "Contract"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
xyz.lonestaroracle/mcp-server
https://github.com/Homie4570/lso-mcp
2/7 registries