{"name":"approval-risk-auditor","description":"Audits an EVM wallet for risky ERC-20/ERC-721 token approvals (unlimited, stale, direct) and returns ready-to-submit revoke transaction calldata.","url":"http://agentauditor.highkingflower.com/","version":"0.1.0","capabilities":{"streaming":false,"pushNotifications":false,"stateTransitionHistory":true,"extensions":[{"uri":"https://github.com/google-agentic-commerce/ap2/tree/v0.1","description":"Agent Payments Protocol (AP2)","required":true,"params":{"roles":["merchant"]}}]},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json","text/plain"],"skills":[{"id":"audit","name":"audit","description":"Audit an EVM wallet for unlimited / stale / risky token approvals and return revoke calldata.","inputModes":["application/json"],"outputModes":["application/json","text/plain"],"streaming":false,"x_input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"wallet":{"type":"string","description":"Owner wallet address to audit (0x…)"},"chains":{"description":"Chain ids to scan. Default [1] (Ethereum mainnet). Multi-chain requires ETHERSCAN_API_KEY.","type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"mode":{"description":"Data source: 'logs' (no API key needed) or 'etherscan' (full history, needs key).","type":"string","enum":["logs","etherscan"]}},"required":["wallet"],"additionalProperties":false},"x_output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"number"},"wallet":{"type":"string"},"mode":{"type":"string"},"summary":{"type":"object","properties":{"total_approvals":{"type":"number"},"unlimited_count":{"type":"number"},"stale_count":{"type":"number"},"high_severity_count":{"type":"number"}},"required":["total_approvals","unlimited_count","stale_count","high_severity_count"],"additionalProperties":false},"approvals":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"token_symbol":{"type":"string"},"token_decimals":{"type":"number"},"owner":{"type":"string"},"spender":{"type":"string"},"raw_value":{"type":"string"},"value":{"type":"string"},"unlimited":{"type":"boolean"},"last_approved_at":{"type":["number","null"]},"source":{"type":"string"}},"required":["token","token_symbol","token_decimals","owner","spender","raw_value","value","unlimited","source"],"additionalProperties":false}},"risk_flags":{"type":"array","items":{"type":"object","properties":{"approval_index":{"type":"number"},"token":{"type":"string"},"token_symbol":{"type":"string"},"spender":{"type":"string"},"risk":{"type":"string"},"detail":{"type":"string"},"severity":{"type":"string"}},"required":["approval_index","token","token_symbol","spender","risk","detail","severity"],"additionalProperties":false}},"revoke_tx_data":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"spender":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"human_readable":{"type":"string"}},"required":["token","spender","to","data","human_readable"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"string"}}},"required":["chain_id","wallet","mode","summary","approvals","risk_flags","revoke_tx_data","notes"],"additionalProperties":false}},{"id":"echo","name":"echo","description":"Echo a message","inputModes":["application/json"],"outputModes":["application/json","text/plain"],"streaming":false,"x_input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string"}},"required":["text"],"additionalProperties":false}}],"supportsAuthenticatedExtendedCard":false,"entrypoints":{"audit":{"description":"Audit an EVM wallet for unlimited / stale / risky token approvals and return revoke calldata.","streaming":false,"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"wallet":{"type":"string","description":"Owner wallet address to audit (0x…)"},"chains":{"description":"Chain ids to scan. Default [1] (Ethereum mainnet). Multi-chain requires ETHERSCAN_API_KEY.","type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"mode":{"description":"Data source: 'logs' (no API key needed) or 'etherscan' (full history, needs key).","type":"string","enum":["logs","etherscan"]}},"required":["wallet"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"number"},"wallet":{"type":"string"},"mode":{"type":"string"},"summary":{"type":"object","properties":{"total_approvals":{"type":"number"},"unlimited_count":{"type":"number"},"stale_count":{"type":"number"},"high_severity_count":{"type":"number"}},"required":["total_approvals","unlimited_count","stale_count","high_severity_count"],"additionalProperties":false},"approvals":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"token_symbol":{"type":"string"},"token_decimals":{"type":"number"},"owner":{"type":"string"},"spender":{"type":"string"},"raw_value":{"type":"string"},"value":{"type":"string"},"unlimited":{"type":"boolean"},"last_approved_at":{"type":["number","null"]},"source":{"type":"string"}},"required":["token","token_symbol","token_decimals","owner","spender","raw_value","value","unlimited","source"],"additionalProperties":false}},"risk_flags":{"type":"array","items":{"type":"object","properties":{"approval_index":{"type":"number"},"token":{"type":"string"},"token_symbol":{"type":"string"},"spender":{"type":"string"},"risk":{"type":"string"},"detail":{"type":"string"},"severity":{"type":"string"}},"required":["approval_index","token","token_symbol","spender","risk","detail","severity"],"additionalProperties":false}},"revoke_tx_data":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"spender":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"human_readable":{"type":"string"}},"required":["token","spender","to","data","human_readable"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"string"}}},"required":["chain_id","wallet","mode","summary","approvals","risk_flags","revoke_tx_data","notes"],"additionalProperties":false},"pricing":{"invoke":"0.0025"}},"echo":{"description":"Echo a message","streaming":false,"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string"}},"required":["text"],"additionalProperties":false},"pricing":{"invoke":"0.0025"}}},"payments":[{"method":"x402","payee":"0x12A2b19eFA9D8BC48ac156Cc8FdfC7cC0Dff36aB","network":"base-sepolia","endpoint":"https://facilitator.daydreams.systems","priceModel":{"default":"0.0025"},"extensions":{"x402":{"facilitatorUrl":"https://facilitator.daydreams.systems"}}}]}