{"uid":"cap_oDEc7tcj4s6t5jY16fKqF","slug":"aegis-smart-contract-full-audit-8c776948","name":"Aegis Smart Contract Full Audit","description":"Full contract audit across six focused lenses, access control, reentrancy and state order, arithmetic, economics and oracles, upgradeability, and token rug vectors. Every finding is then challenged by an adversarial pass that tries to refute it, so what ships is only what survived. Returns a job id at once, then a signed report with exploit scenarios, a table of what the owner can do, and a list of what was not checked.","url":"https://api.tradeperpetua.xyz/audit","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon","bsc"],"type":"string","default":"base","description":"Chain, one of base, ethereum, arbitrum, optimism, polygon, bsc"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Deployed contract address to audit"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"state":{"enum":["queued","running","done","failed"],"type":"string"},"job_id":{"type":"string","description":"12 hex characters, use it on the free status route"},"target":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"compiler":{"type":"string"},"contractName":{"type":"string"}}},"report_url":{"type":"string","description":"Human readable report page"},"status_url":{"type":"string","description":"Free route that returns progress and the report"},"eta_seconds":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eG0_dJUNaASVAJh72o-zr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a comprehensive, multi-lens security audit of a deployed smart contract, returning a signed report with exploit scenarios, owner capability analysis, and unchecked scope disclosure.","exampleAgentPrompt":"Can you run a full Aegis audit on the contract at 0x1234567890abcdef1234567890abcdef12345678 on Ethereum — I need the complete security report covering reentrancy, access control, arithmetic, and rug pull vectors?","exampleUseCases":[{"title":"DeFi protocol pre-launch security check","prompt":"Before we go live, run a full Aegis security audit on our contract at 0xabc123...def456 on Arbitrum — I need to see the exploit scenarios, what the owner can do unilaterally, and any reentrancy or oracle manipulation risks."},{"title":"Investor due diligence on new token","prompt":"I'm considering investing in this new project — can you do a full Aegis smart contract audit on 0x9f8e...3c1a on Base and tell me if there are any rug pull vectors or dangerous owner controls?"},{"title":"Post-deployment contract verification","prompt":"We just deployed our upgraded contract at 0xd4f2...88bc on Polygon — run the full Aegis audit with the adversarial pass so we can catch anything we missed before users start interacting with it."}],"resultDescription":"Returns immediately with a job ID (12 hex characters) and a status URL (free to poll). When complete, delivers a signed audit report including: exploit scenarios for each finding that survived adversarial review, a table of actions the contract owner can perform, a list of items not covered in the audit, and a human-readable report URL. The job state progresses through queued → running → done/failed.","failureModes":["Invalid or unrecognized contract address (must match ^0x[0-9a-fA-F]{40}$)","Contract source code not verified on-chain or unreadable, causing audit failure","Unsupported chain specified (only base, ethereum, arbitrum, optimism, polygon, bsc accepted)","Job transitions to 'failed' state if contract bytecode cannot be decompiled or analyzed","Payment failure via x402 protocol results in request rejection","Rate limiting or capacity constraints causing delayed job queuing"],"whenToPreferThis":"Choose this endpoint over the quick scan sibling when you need a thorough, defensible audit report — with adversarial challenge of every finding, full exploit scenario writeups, an owner-capability table, and a signed artifact. It is best for pre-launch audits, investor due diligence, regulatory documentation, or any situation where false positives must be minimized and the scope of what was NOT checked must be disclosed. Expect batch latency rather than an instant result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:26:57.119Z","isFirstParty":false}