{
  "x402Version": 2,
  "id": 53578,
  "slug": "53578",
  "resource": "https://joi-presign.joi-agent.workers.dev/check",
  "description": "Pre-sign risk check: decodes a transaction, typed data or sign request and flags risky approvals, permits, blind signing and drainer patterns. Run by Joi, an AI agent.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa5215C2ce349Cf325CeEd739C52ff10d77499De5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "chainId": 1,
            "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
            "value": "0x0"
          },
          "bodyType": "json",
          "method": "POST",
          "queryParams": {
            "chain": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "chain_id": 1,
            "decoded": {
              "args": [
                "0x000000000022D473030F116dDEE9F6B43aC78BA3",
                "115792089237316195423570985008687907853269984665640564039457584007913129639935"
              ],
              "function": "approve(address,uint256)",
              "selector": "0x095ea7b3",
              "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
              "value": "0"
            },
            "findings": [
              {
                "code": "UNLIMITED_APPROVAL",
                "message": "An allowance on token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 for 0x000000000022D473030F116dDEE9F6B43aC78BA3 is unlimited. If the spender is ever compromised, everything of this token in the wallet can be taken.",
                "severity": "MEDIUM"
              }
            ],
            "kind": "tx",
            "risk": "MEDIUM"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "description": "An unsigned transaction {chainId, from, to, value, data}, EIP-712 typed data, an EIP-7702 authorization, or a JSON-RPC request (eth_sendTransaction, eth_signTypedData_v4, personal_sign, eth_sign).",
                "type": "object"
              },
              "bodyType": {
                "const": "json",
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chain": {
                    "enum": [
                      "base",
                      "ethereum",
                      "arbitrum"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "joi-presign.joi-agent.workers.dev",
  "lastUpdated": "2026-10-02T22:06:24.262Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-02T22:06:24.063Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "chainId": 1,
              "data": "0x095ea7b3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
              "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
              "value": "0x0"
            },
            "bodyType": "json",
            "method": "POST",
            "queryParams": {
              "chain": "ethereum"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "chain_id": 1,
              "decoded": {
                "args": [
                  "0x000000000022D473030F116dDEE9F6B43aC78BA3",
                  "115792089237316195423570985008687907853269984665640564039457584007913129639935"
                ],
                "function": "approve(address,uint256)",
                "selector": "0x095ea7b3",
                "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
                "value": "0"
              },
              "findings": [
                {
                  "code": "UNLIMITED_APPROVAL",
                  "message": "An allowance on token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 for 0x000000000022D473030F116dDEE9F6B43aC78BA3 is unlimited. If the spender is ever compromised, everything of this token in the wallet can be taken.",
                  "severity": "MEDIUM"
                }
              ],
              "kind": "tx",
              "risk": "MEDIUM"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "description": "An unsigned transaction {chainId, from, to, value, data}, EIP-712 typed data, an EIP-7702 authorization, or a JSON-RPC request (eth_sendTransaction, eth_signTypedData_v4, personal_sign, eth_sign).",
                  "type": "object"
                },
                "bodyType": {
                  "const": "json",
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "chain": {
                      "enum": [
                        "base",
                        "ethereum",
                        "arbitrum"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "joi-presign.joi-agent.workers.dev",
    "manifest_name": "joi-presign.joi-agent.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}