# EIP-712 Signature Safety Screener

> EIP-712 Signature Safety Screener is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Pre-signs an off-chain EIP-712 typed-data signature (EIP-2612 Permit, Permit2, EIP-3009) and returns an allow/warn/block verdict with a 0-100 risk score based on decoded authorization, domain-spoof detection, and scam blocklist checks.

## Facts

- Endpoint: POST https://api.agentstools.dev/tx/signature
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eip-712-signature-safety-screener-1e6f2b64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eRYKmJqjHr8fUM4QyYRtM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eip-712-signature-safety-screener-1e6f2b64 -d '<json body>'
```

Example prompt: Before I sign this Permit2 typed-data, can you decode what it's actually authorizing — spender address, token, amount, and deadline — and tell me if it's safe to sign or if there are any domain-spoof or scam flags? Here's the full EIP-712 object on Base.

## When to prefer this

Use this endpoint when an agent or user needs to evaluate the safety of an off-chain EIP-712 signature (EIP-2612 Permit, Permit2, EIP-3009) before signing, particularly to catch domain spoofing, scam drainer contracts, or unexpectedly large/permanent approvals. Prefer this over generic transaction simulators when the concern is specifically about typed-data permit signatures rather than on-chain transaction execution.

## Known failure modes

- Malformed or incomplete EIP-712 typed-data object causes a 400 validation error
- Unsupported network enum value rejected
- Signature provided but recovery fails (invalid signature format)
- Expected signer mismatch flagged as a risk indicator rather than a hard error
- Payment not included or insufficient USDC causes x402 payment-required response

## How this service works

Pre-sign safety verdict for an off-chain EIP-712 signature (EIP-2612, Permit2, EIP-3009). Decodes what it authorizes (spender, token, amount, deadline), checks domain-spoof, approval-hygiene and scam-blocklist, returns allow, warn or block plus a 0-100 risk. Risk indicators, not advice.

## Output

Returns a verdict of 'allow', 'warn', or 'block', a 0-100 integer risk score, decoded authorization details (spender address, token, amount, deadline), and a list of risk indicators such as domain-spoof flags, approval hygiene issues, or scam blocklist hits. These are risk indicators, not financial advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "enum": [
    "base",
    "ethereum",
    "arbitrum",
    "optimism",
    "polygon",
    "bnb"
   ],
   "type": "string",
   "description": "EVM network the signature is for (default base)"
  },
  "signature": {
   "type": "string",
   "description": "Optional 0x signature to recover the signer"
  },
  "typed_data": {
   "type": "object",
   "description": "Full EIP-712 typed-data object with domain, primaryType and message"
  },
  "expected_signer": {
   "type": "string",
   "description": "Optional address to compare the recovered signer against"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eip-712-signature-safety-screener-1e6f2b64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
