{"uid":"cap_mWkwrvK0OUgYoAoVaASOv","slug":"erc-20-approval-risk-auditor-64e53781","name":"ERC-20 Approval Risk Auditor","description":"Audit standing ERC-20/Permit2 approvals for danger. Raw allowance lookups exist elsewhere; this is the risk layer: pass your current approvals and we rank which to revoke — unlimited allowance, unknown (non-registry) spender, or the classic drainer pattern (unlimited AND unknown). Deterministic, no LLM, no external calls. Answers an agent's question 'which of my approvals are dangerous?'","url":"https://x402.dailyelo.com/v1/approval-risk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"approvals":{"type":"array","items":{"type":"object","required":["spender","allowance"],"properties":{"token":{"type":"string","description":"ERC-20 token address (0x)"},"spender":{"type":"string","description":"approved spender address (0x)"},"allowance":{"type":"string","description":"raw approved amount (uint, decimal or 0x hex)"}}},"description":"standing approvals to audit"}}},"responseSchema":{"type":"json","example":{"count":2,"items":[{"token":"0x4200000000000000000000000000000000000006","spender":"0xdeadbeef00000000000000000000000000000001","allowance":"unlimited","risk_flags":["unlimited_allowance","unknown_spender"],"action_hint":"revoke_now","spender_known":null}],"summary":{"invalid":0,"unlimited":2,"revoke_now":1,"consider_revoke":1,"unknown_spender":1},"confidence":1,"action_hint":"revoke_now"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ChykSmNpFYSPdyXGoVOGZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ranks a wallet's standing ERC-20/Permit2 approvals by danger level, flagging unlimited allowances, unknown spenders, and classic drainer patterns","exampleAgentPrompt":"Audit these token approvals for me and tell me which ones are dangerous or should be revoked: USDC approved to 0xAbCd...1234 for unlimited amount, WETH approved to 0x1111...2222 for 1000000000000000000, and DAI approved to 0xDEAD...BEEF for unlimited amount.","exampleUseCases":null,"resultDescription":"A ranked list of the submitted approvals annotated with risk flags: whether the allowance is unlimited, whether the spender is unknown (not in a recognized registry), and whether the combination matches the classic drainer pattern (unlimited AND unknown spender). Each approval receives a risk classification so the agent can advise the user which to revoke first.","failureModes":["Missing required fields (spender or allowance) returns a validation error","Malformed addresses (non-0x, wrong length) may cause parsing errors","Empty approvals array returns no results","Invalid allowance format (non-numeric, non-hex) causes rejection","Payment failure or insufficient USDC balance blocks the call"],"whenToPreferThis":"Use this endpoint when you already have a list of raw approval records from on-chain lookups and need a deterministic, rule-based risk ranking — not a raw allowance fetch. Prefer this over generic blockchain APIs when the goal is specifically to identify dangerous approvals (unlimited, unknown spender, drainer pattern) and prioritize revocations. It is fully deterministic with no LLM or external dependencies, making it reliable and auditable for security-critical workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:41:58.616Z","isFirstParty":false,"canonicalSlug":"erc-20-approval-risk-auditor-64e53781"}