{"uid":"cap_PxsnQtCjAAQ0KtGTgHh4C","slug":"agentforge-smart-contract-security-auditor-5332f74b","name":"AgentForge Smart Contract Security Auditor","description":"Smart contract security audit for developers and auditors: finds vulnerabilities, gas optimizations, and best-practice violations in Solidity, Rust, Move, or TypeScript code, with a diff review mode for proposed changes. Category: inference.","url":"https://agentforge-taupe.vercel.app/v1/code-review?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","maxLength":50000,"minLength":1,"description":"Source code to review"},"focus":{"enum":["security","gas_optimization","best_practices","all"],"type":"string","default":"all"},"language":{"enum":["solidity","rust","move","typescript"],"type":"string","default":"solidity"},"previousCode":{"type":"string","maxLength":50000,"description":"Previous version of code for diff review mode"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KN8C8JmIZt8GVLVE7Qku8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits Solidity, Rust, Move, or TypeScript smart contract code for vulnerabilities, gas optimizations, and best-practice violations, with optional diff review mode for proposed changes.","exampleAgentPrompt":"Can you run a full security and gas optimization audit on this Solidity contract code I'm about to paste? Focus on all issues — security, gas, and best practices.","exampleUseCases":[{"title":"Pre-deployment DeFi contract audit","prompt":"Before I deploy this Solidity liquidity pool contract, can you audit it for security vulnerabilities, gas inefficiencies, and best-practice violations? Here's the full code: [paste code]"},{"title":"Code diff review after refactor","prompt":"I just refactored my ERC-20 token contract — can you compare the old and new versions and flag any new security or best-practice issues introduced by the changes?"},{"title":"Rust Move contract security check","prompt":"I've written a Move smart contract for an NFT marketplace — can you audit it specifically for security vulnerabilities? Here's the source code."}],"resultDescription":"Returns a structured audit report identifying security vulnerabilities (e.g. reentrancy, integer overflow), gas optimization opportunities, and best-practice violations found in the submitted smart contract code, with targeted findings and recommendations. In diff mode, highlights issues introduced or resolved by the proposed change.","failureModes":["Code exceeds 50,000 character limit — truncate or split the contract","Unsupported language submitted (only solidity, rust, move, typescript accepted)","Malformed or non-compilable code may produce incomplete analysis","Payment not completed or x402 auth header missing — 402 Payment Required","Network timeout for very large or complex contracts"],"whenToPreferThis":"Choose this endpoint when you need automated smart contract security analysis covering multiple languages (Solidity, Rust, Move, TypeScript) and multiple review dimensions (security, gas, best practices) in a single call. Especially valuable for diff reviews to catch regressions in proposed contract changes. Prefer over general-purpose LLM code review when you need structured, blockchain-domain-specific vulnerability detection with clear findings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:38:11.867Z","isFirstParty":false,"canonicalSlug":"agentforge-smart-contract-security-auditor-5332f74b"}