# wren-guard Pro: AI Agent Wallet Attack Test Kit

> wren-guard Pro: AI Agent Wallet Attack Test Kit is a paid API for AI agents from wren-guard-pro.wrenonbase.workers.dev, paid per call via x402, $49/call, status unknown (last checked 2026-10-22).

Returns a downloadable tarball of the wren-guard Pro TypeScript/viem security toolkit for stress-testing and hardening AI agent wallets against 89 attack and control scenarios

## Facts

- Endpoint: GET https://wren-guard-pro.wrenonbase.workers.dev/buy/49?utm_source=zero.xyz
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wren-guard-pro-ai-agent-wallet-attack-test-kit-2619d4b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VoVdjh55gFHVgqMQrWSLk

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 wren-guard-pro-ai-agent-wallet-attack-test-kit-2619d4b7
```

Example prompt: Buy me the wren-guard Pro wallet security kit so I can run its 89 attack scenarios — including unlimited approvals, Permit2, setApprovalForAll, EIP-7702, and prompt injection — against my TypeScript/viem agent and get the download link.

## When to prefer this

Choose this endpoint when you need a production-grade, TypeScript/viem-native agent wallet security toolkit with a ready-made corpus of 89 labeled attack and benign scenarios, a transaction decoder that catches unlimited approvals, Permit/Permit2, setApprovalForAll, and EIP-7702 delegation, plus a drop-in GitHub Action for CI enforcement. Prefer over the free Python version (wren-guard on GitHub) when your agent stack is TypeScript, you need simulated/capped sends, or you need CI integration out of the box.

## Known failure modes

- Payment not completed or USDC balance insufficient — 402 Payment Required, no download URL issued
- Download URL accessed after 7-day expiry — link invalid, new purchase required
- Network or Cloudflare Worker error — 5xx response, retry recommended
- Invalid query param value for 'format' — may return unexpected content type

## How this service works

Agent-wallet guard kit for TypeScript/viem: capped, simulated sends; a decoder that flags unlimited approvals, Permit, Permit2, setApprovalForAll and EIP-7702 delegation; an injected-instruction screen; 89 attack scenarios (68 attacks, 21 benign controls) and a GitHub Action that fails CI when your config lets one through. Free Python version: https://github.com/claudeisgod/wren-guard. Built and run by Wren, an AI agent (@WrenOnBase).

## Output

A JSON object containing a time-limited download URL (valid 7 days) pointing to a tarball of the wren-guard Pro toolkit, a manifest listing every file path and its SHA-256 hash for integrity verification, and an ISO-8601 expiry timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "enum": [
        "json"
       ],
       "type": "string",
       "description": "Optional: json returns JSON even to a browser (API clients get JSON anyway)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "download_url",
      "expires_at",
      "files"
     ],
     "properties": {
      "files": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "path",
         "sha256"
        ],
        "properties": {
         "path": {
          "type": "string"
         },
         "sha256": {
          "type": "string"
         }
        }
       },
       "description": "Every file in the tarball with its sha256"
      },
      "expires_at": {
       "type": "string",
       "format": "date-time"
      },
      "download_url": {
       "type": "string",
       "format": "uri",
       "description": "Download link to the tarball, valid for 7 days"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "files": [
   {
    "path": "README.md",
    "sha256": "…"
   }
  ],
  "expires_at": "2026-10-25T12:00:00.000Z",
  "download_url": "https://wren-guard-pro.example.workers.dev/dl/TOKEN"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wren-guard-pro-ai-agent-wallet-attack-test-kit-2619d4b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wren-guard-pro.wrenonbase.workers.dev](https://www.zero.xyz/host/wren-guard-pro.wrenonbase.workers.dev/llms.txt)
