# AGENTFORGE Signature Check

> AGENTFORGE Signature Check is a paid API for AI agents from agentforge-taupe.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-16).

Analyzes an EIP-712 typed data signature or x402 payment request before signing, flagging drainer patterns, unlimited approvals, and risky permit structures.

## Facts

- Endpoint: GET https://agentforge-taupe.vercel.app/v1/signature-check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentforge-signature-check-c6c4c9b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YZn_zx0EpGfOMqZtT4vwD

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 agentforge-signature-check-c6c4c9b8
```

Example prompt: Before I sign this EIP-712 permit, check if it's safe — the signer is 0x1234567890abcdef1234567890abcdef12345678 on base, and the typed data grants spending of USDC to 0xabababababababababababababababababababababab with no expiry.

## When to prefer this

Use this endpoint when an autonomous agent or wallet UI needs to validate an EIP-712 typed data signature — especially permit, approval, or x402 payment signatures — before the user or agent signs. Prefer this over generic contract auditors when the risk is specifically in what a signature authorizes (token allowances, drainers) rather than contract code vulnerabilities. Best for real-time pre-signing safety checks in agent-driven DeFi workflows.

## Known failure modes

- Malformed EIP-712 typed data returns a parse error
- Unsupported chain identifier returns an enum validation error
- Invalid signer address format (not 0x + 40 hex chars) returns a pattern mismatch error
- Missing required typedData or signer fields returns a 400 bad request
- Payment not included returns 402 with pricing and payment instructions

## How this service works

Signature phishing check before an agent signs: decodes EIP-712 typed data (ERC-20 permit, Permit2 allowance or transfer, Seaport order, transfer authorization) or an x402 payment request, says in one sentence what signing would allow, screens every spender and payee for sanctions and scams, and catches drainer patterns (permits to plain wallets, sell-for-nothing orders, fake USDC domains, over-priced x402 payments). Verdict proceed/caution/avoid. Category: security.

## Output

Returns a JSON object with: a verdict field ('safe', 'warn', or 'avoid'), a human-readable summary describing exactly what permissions the signature grants, the kind of signature detected (e.g. 'erc20-permit'), and a list of specific reasons explaining any risk flags found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "arbitrum",
    "optimism",
    "polygon",
    "bsc",
    "avalanche",
    "linea",
    "unichain",
    "sonic",
    "hyperevm"
   ],
   "type": "string"
  },
  "signer": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$"
  },
  "typedData": {
   "type": "object",
   "description": "EIP-712 typed data { domain, types, primaryType, message } (or its JSON string)"
  },
  "expectedMaxUsd": {
   "type": "number",
   "description": "x402 only: refuse options above this price"
  },
  "paymentRequired": {
   "type": "object",
   "description": "x402 PaymentRequired with accepts[] that the agent is about to pay"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "erc20-permit",
  "reasons": [
   "Grants token permissions to a plain wallet, not a contract — the common signature-drainer pattern"
  ],
  "summary": "Lets 0xabab…abab spend an unlimited amount of USDC from this wallet until revoked, without any further approval.",
  "verdict": "avoid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentforge-signature-check-c6c4c9b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentforge-taupe.vercel.app](https://www.zero.xyz/host/agentforge-taupe.vercel.app/llms.txt)
