13trust / 100

Check Explain

by presign-guard in Security & trust

x402 APIFailing, checked 2 h ago

Pre-sign risk verdict plus a plain-language explanation in Dutch or English

POST https://presign-guard.onrender.com/v1/check/explain

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
2 h ago: Amount "0.03" is not in atomic token units
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://presign-guard.onrender.com/v1/check/explain' \
  -H 'content-type: application/json' \
  --data-raw '{"amount":"1000000","chainId":8453,"spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","type":"approval"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpresign-guard.onrender.com%2Fv1%2Fcheck%2Fexplain
const res = await pay("https://presign-guard.onrender.com/v1/check/explain", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"amount\":\"1000000\",\"chainId\":8453,\"spender\":\"0x000000000022D473030F116dDEE9F6B43aC78BA3\",\"token\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\"type\":\"approval\"}",
});
console.log(await res.json());

Example input

{
  "amount": "1000000",
  "chainId": 8453,
  "spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "type": "approval"
}

Example output

{
  "reasons": [
    {
      "code": "UNLIMITED_APPROVAL",
      "details": {
        "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
      },
      "severity": "orange",
      "subject": "0x000000000022d473030f116ddee9f6b43ac78ba3"
    }
  ],
  "verdict": "orange"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoAmount "0.03" is not in atomic token units402239 ms$0.03
6 h agoAmount "0.03" is not in atomic token units402277 ms$0.03
11 h agoAmount "0.03" is not in atomic token units402813 ms$0.03
15 h agoAmount "0.03" is not in atomic token units402247 ms$0.03
19 h agoAmount "0.03" is not in atomic token units402824 ms$0.03
23 h agoAmount "0.03" is not in atomic token units402249 ms$0.03
27 h agoAmount "0.03" is not in atomic token units402253 ms$0.03
31 h agoAmount "0.03" is not in atomic token units402874 ms$0.03
35 h agoAmount "0.03" is not in atomic token units402798 ms$0.03
39 h agoAmount "0.03" is not in atomic token units402832 ms$0.03
44 h agoAmount "0.03" is not in atomic token units402267 ms$0.03
2 days agoAmount "0.03" is not in atomic token units402258 ms$0.03
2 days agoAmount "0.03" is not in atomic token units402275 ms$0.03
2 days agoAmount "0.03" is not in atomic token units402232 ms$0.03
2 days agoAmount "0.03" is not in atomic token units402292 ms$0.03