{"uid":"cap_soq_fx-nh_OTNe4fOyi1F","slug":"stealthmark-ast-blast-radius-analyzer-9a179e07","name":"StealthMark AST Blast Radius Analyzer","description":"Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).","url":"https://gateway.stealthmark.io/x402/verify-ast-blast-radius?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fork_code":{"type":"string","description":"Fork repository source code"},"graph_data":{"type":"object","description":"NetworkX/Graphify node-link format graph data"},"patch_text":{"type":"string","description":"Unified git diff of the patch"},"source_code":{"type":"string","description":"Python source code to extract call-graph from"},"modified_symbols":{"type":"array","items":{"type":"string"},"description":"Explicit list of modified symbol names"},"upstream_patch_spec":{"type":"object","description":"Upstream security patch specification"}}},"responseSchema":{"type":"json","example":{"verified":{"type":"boolean"},"one_hop_callees":{"type":"array","items":{"type":"string"}},"one_hop_callers":{"type":"array","items":{"type":"string"}},"two_hop_callees":{"type":"array","items":{"type":"string"}},"two_hop_callers":{"type":"array","items":{"type":"string"}},"modified_symbols":{"type":"array","items":{"type":"string"}},"patch_gap_report":{"type":["object","null"]},"blast_radius_score":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nQi5HpbfPWvfE9MqAUwCD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes source code patches to compute the call-graph blast radius of modified symbols, identifying one-hop and two-hop callers/callees and generating a patch gap security report.","exampleAgentPrompt":"Can you analyze the blast radius of this patch to our Python vault contract — here's the unified diff — and tell me which functions are one-hop and two-hop callers of the modified symbols, plus a patch gap report?","exampleUseCases":[{"title":"Security patch coverage audit","prompt":"We just applied a security fix to our ERC-4626 vault — here's the git diff. Can you compute the blast radius of the modified symbols and tell me if there are any call paths the patch missed?"},{"title":"DeFi fork vulnerability surface analysis","prompt":"I've forked a Polymarket basket contract and made changes to the settlement logic. Can you extract the call graph from the source code and show me all one-hop and two-hop callers affected by the modified symbols so I know what else needs review?"},{"title":"ZK circuit change impact assessment","prompt":"Before I merge this ZK circuit patch, can you run a blast radius analysis on the modified symbols and give me a score plus a full patch gap report highlighting any uncovered callers?"}],"resultDescription":"Returns a JSON object containing: a boolean verified status, lists of one-hop and two-hop callers and callees of modified symbols, the list of modified symbols identified, a blast radius score (integer), and a patch gap report (object or null) highlighting call paths not covered by the patch.","failureModes":["Malformed or unparseable source code returns an error or empty call graph","Missing required fields (source_code or modified_symbols) may result in incomplete analysis","Very large codebases may time out or return partial results","Graph data in incorrect format causes deserialization errors","Patch text that doesn't correspond to the provided source code yields inaccurate gap reports","Payment failure on x402 returns 402 before analysis begins"],"whenToPreferThis":"Choose this endpoint when you need to quantify the propagation impact of a code change across a Python or smart contract codebase — especially for security-critical patches on ERC-4626 vaults, ZK circuits, or DeFi protocols. It is superior to manual code review for systematically identifying uncovered callers and assessing patch completeness. Best suited when you have a unified diff and want both a numeric blast radius score and a structured gap report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:36:25.056Z","isFirstParty":false,"canonicalSlug":"stealthmark-ast-blast-radius-analyzer-9a179e07"}