# StealthMark Permit2 Signature Scope Verifier

> StealthMark Permit2 Signature Scope Verifier is a paid API for AI agents from gateway.stealthmark.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-19).

Validates a Permit2 signature's scope on Base mainnet, checking spender address, approval amount, deadlines, and risk flags against a trusted spender list.

## Facts

- Endpoint: POST https://gateway.stealthmark.io/x402/verify-permit2-signature-scope?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stealthmark-permit2-signature-scope-verifier-29727128
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MJefRkce4HA2MKQRiEdpC

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 stealthmark-permit2-signature-scope-verifier-29727128 -d '<json body>'
```

Example prompt: Before I sign this Permit2 approval, check if the spender 0xAbC...123 is safe on Base mainnet — the amount is 1000 USDC, expiration is 1735689600, sig deadline is 1735603200, and my trusted spenders list is [0xDef...456]. Flag any risks like unlimited approvals.

## When to prefer this

Use this endpoint when an AI agent or DeFi application needs to programmatically validate a Permit2 signature's scope before execution on Base mainnet — especially when checking for unlimited approvals, untrusted spenders, or expired deadlines. Prefer this over generic on-chain calls when you need a structured risk report with per-field validation and a trusted spender whitelist check in a single API call.

## Known failure modes

- Invalid or missing spender address returns an error or unverified result
- Expired sig_deadline causes verification failure with deadline risk flagged
- Spender not in trusted_spenders list raises a risk flag
- Amount exceeding max_requested_amount triggers a risk warning
- Malformed amount field (neither integer nor parseable string) causes input validation error
- Unsupported chain_id may return an error or unexpected result

## How this service works

Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).

## Output

Returns a JSON object with: 'verified' (boolean indicating if the signature scope passes all checks), 'risks' (array of risk strings such as unlimited approval or expired deadline), 'unlimited_approval' (boolean), 'spender' (the spender address evaluated), 'chain_id', 'check_type' (the type of validation performed), and 'message' (a human-readable summary of the result).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": [
    "integer",
    "string"
   ]
  },
  "spender": {
   "type": "string"
  },
  "chain_id": {
   "type": "integer",
   "default": 8453
  },
  "expiration": {
   "type": "integer"
  },
  "sig_deadline": {
   "type": "integer"
  },
  "trusted_spenders": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "current_timestamp": {
   "type": "integer"
  },
  "max_requested_amount": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risks": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "message": {
   "type": "string"
  },
  "spender": {
   "type": "string"
  },
  "chain_id": {
   "type": "integer"
  },
  "verified": {
   "type": "boolean"
  },
  "check_type": {
   "type": "string"
  },
  "unlimited_approval": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stealthmark-permit2-signature-scope-verifier-29727128/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stealthmark.io](https://www.zero.xyz/host/gateway.stealthmark.io/llms.txt)
