# ShieldAPI – CDP Skill Security Scanner

> ShieldAPI – CDP Skill Security Scanner is a paid API for AI agents from shield.vainplex.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Scans a CDP skill or plugin definition for vulnerabilities and returns skill-related security insights.

## Facts

- Endpoint: POST https://shield.vainplex.dev/api/cdp/scan/skill
- 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/shieldapi-cdp-skill-security-scanner-fde64036
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sjhSxgVwyfIp0TnXO79lR

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 shieldapi-cdp-skill-security-scanner-fde64036 -d '<json body>'
```

Example prompt: Can you scan this CDP skill definition for vulnerabilities and tell me what security risks it has? Here's the skill text: 'async function transferFunds(amount, recipient) { eval(recipient); }'

## When to prefer this

Use this endpoint when you need to security-audit a specific CDP (Coinbase Developer Platform) skill or plugin definition before deploying or trusting it. Prefer this over generic prompt-injection detection when the artifact being checked is specifically a CDP skill, as this scanner is tailored to skill-related vulnerability patterns.

## Known failure modes

- Missing required 'skill' query parameter returns validation error
- Skill text exceeds 10,000 character limit causing rejection
- Payment of $0.02 USDC not provided results in 402 Payment Required
- Malformed input object structure causes schema validation failure
- Empty skill text may return no actionable insights

## How this service works

ShieldAPI - x402 security preflight before agents install or execute AI skills and plugins

## Output

Returns skill-related security insights including detected vulnerabilities, risk indicators, and security findings specific to the CDP skill or plugin that was submitted for analysis.

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "skill"
     ],
     "properties": {
      "skill": {
       "type": "string",
       "maxLength": 10000,
       "description": "Text of the skill or plugin to scan for vulnerabilities"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shieldapi-cdp-skill-security-scanner-fde64036/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shield.vainplex.dev](https://www.zero.xyz/host/shield.vainplex.dev/llms.txt)
