Built for x402 payment flows and agent identity/reputation stacks such as ERC-8004 and ERC-8183: check prompt injection, MCP server trust, AI skill/package supply-chain risk, and URL/domain/IP reputation in the same paid workflow.
- Agent builders: block prompt-injection and risky tool instructions before execution.
- MCP clients: score a server before granting it tool access or workspace context.
- x402 marketplaces: check URLs, domains, IPs, packages, and skills before an autonomous paid action.
Cost: $0.001–$0.02 per call, paid in USDC via x402. Trust: no API key, public OpenAPI, x402 discovery, live health endpoint, and MCP/CLI packages listed in npm directories.
- About to connect to an MCP server? Run
POST /api/cdp/check/mcp/trustand require at least silver/gold for tool access. - About to install code or a skill? Run
GET /api/cdp/check/packageorPOST /api/cdp/scan/skillbefore execution. - About to obey webpage, issue, email, README, or tool-output instructions? Run
POST /api/cdp/check/promptbefore shell, wallet, browser, filesystem, or delegation calls. - About to pay, browse, scrape, or trust an external counterparty? Run
GET /api/cdp/full/scan, or the cheaper URL/domain/IP check when you only need one signal.
Policy default: allow low risk, require human confirmation on medium risk, and block high risk or active compromise signals.
npx agentcash@latest discover https://shield.vainplex.dev
npx agentcash@latest check 'https://shield.vainplex.dev/api/cdp/check/ip?ip=8.8.8.8&shieldapi_source=landing-quickstart'
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/check/ip?ip=8.8.8.8&shieldapi_source=landing-quickstart'
| Agent Job | Portal Endpoint | Price |
|---|---|---|
| Preflight an MCP server | POST /api/cdp/check/mcp/trust | $0.020 |
| Scan a skill before install | POST /api/cdp/scan/skill | $0.020 |
| Check package supply-chain risk | GET /api/cdp/check/package | $0.010 |
| Detect prompt injection | POST /api/cdp/check/prompt | $0.005 |
Discovery: OpenAPI · x402 · llms.txt
Measuring a pilot? Add shieldapi_source=<campaign> to endpoint URLs, or send header X-ShieldAPI-Source: <campaign>. Source tags appear in the live /api/health telemetry for attribution triage; confirm revenue with Base USDC settlement before making customer or revenue claims.
For external marketplaces, MCP registries, and agent framework pilots, use the canonical /api/cdp/... paths below.
Each call is x402-paid, needs no API key, and carries a source tag so the first real pilot can be separated from self-canaries.
# Package install preflight
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/check/package?ecosystem=npm&name=express&version=4.18.2&shieldapi_source=landing-agent-task'
# MCP registry admission / first connection preflight
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/check/mcp/trust?shieldapi_source=landing-mcp-preflight' -m POST -b '{"endpoint":"https://example.com/mcp"}'
# Delegation or x402 payment counterparty preflight
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/full/scan?target=example.com&shieldapi_source=landing-delegation-preflight'
# AgentKit / wallet-funded x402 payment preflight
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/full/scan?target=https://seller.example/.well-known/x402&shieldapi_source=landing-wallet-preflight'
# ERC-8183 / agent-commerce checkout preflight
npx agentcash@latest fetch 'https://shield.vainplex.dev/api/cdp/check/domain?domain=seller.example&shieldapi_source=landing-erc8183-commerce'
Agents should treat 402 Payment Required as the expected handshake: inspect price with agentcash check, pay via x402, then use the returned risk verdict before connecting, installing, delegating, or paying.
For wallet-funded agents, run the preflight before signing or settling payment to an unfamiliar seller endpoint.
For ERC-8183-style commerce flows, check the seller domain, checkout URL, and fulfillment/MCP endpoint before accepting the offer or giving the seller tool access.
Pick your workflow: framework tool hooks · AgentKit/x402 wallet guard · Apify paid Actor preflight · ERC-8183 checkout preflight
# Minimal ShieldAPI stoplight policy for agents if shieldapi.verdict in ["malicious", "phishing", "high_risk", "blocked"]: do_not_continue() elif shieldapi.verdict in ["medium_risk", "unknown"]: ask_human_before_payment_or_tool_access() else: continue_with_action() # Always attach a named source tag for paid pilots: # ?shieldapi_source=<agent-or-channel>
POST
/api/check-mcp-trust
$0.020
▸
Multi-signal Trust Oracle for MCP servers. Returns a composite trust score (0–100) and tier rating.
Signals Analyzed
What It Checks
Domain reputation (DNS, SSL cert, SPF/DMARC) · Prompt injection patterns in tool descriptions · Toxic skill categories (filesystem, network, crypto) · Server uptime, latency, MCP protocol compliance · ERC-8004 on-chain reputation via AgentProof
Returns
trust_score (0–100), tier (platinum ≥90 / gold ≥75 / silver ≥60 / bronze ≥45), per-signal breakdown, risk factors, recommendations
Example Response
POST
/api/scan-skill
$0.020
▸
Deep security scanner for AI agent skill definitions. Detects dangerous capabilities before your agent uses them.
Signals Analyzed
What It Checks
Skill name & description for dangerous patterns · Categories: filesystem access, network calls, crypto operations, code execution · Tool description injection attempts · Permission escalation risks
Returns
risk_level (critical/high/medium/low), toxic_categories array, findings with severity and description
Example Response
POST
/api/check-prompt
$0.005
▸
Prompt injection detection engine. Scans text for 208+ known injection patterns before your agent processes it.
Signals Analyzed
What It Checks
208+ known prompt injection patterns · System prompt overrides ("ignore previous instructions") · Role/persona hijacking · Encoded/obfuscated payloads (base64, unicode) · Multi-turn injection chains
Returns
is_injection (boolean), confidence (0–1), patterns_matched array, risk_level
Example Response
GET
/api/check-url
$0.003
▸
URL safety evaluation. Checks if a link is safe before your agent clicks it.
Signals Analyzed
What It Checks
Known phishing URLs · Malware distribution domains · Suspicious redirect chains · Brand impersonation (look-alike domains) · URL shortener abuse · Newly registered domain risk
Returns
safe (boolean), risk_level, threats array, final_url (after redirects), domain_age
Example Response
GET
/api/check-domain
$0.003
▸
Comprehensive domain reputation scoring. Evaluates the security posture of any domain.
Signals Analyzed
What It Checks
DNS records (A, MX, NS, TXT) · SSL certificate validity & chain · SPF record configuration · DMARC policy enforcement · DNSBL blacklist presence · Domain age & registrar
Returns
reputation_score (0–100), ssl status, spf/dmarc config, blacklisted (boolean), findings
Example Response
GET
/api/check-email
$0.005
▸
Email breach intelligence. Checks if an email address appears in known data breaches.
Data Sources
What It Checks
Known data breaches (HIBP-style) · Paste site appearances · Exposed credential databases · Breach severity and data types leaked
Returns
breached (boolean), breach_count, breaches array (name, date, data types), first_seen/last_seen
Example Response
GET
/api/check-ip
$0.002
▸
IP reputation mapping. Identifies Tor exit nodes, proxies, and blacklisted addresses.
Signals Analyzed
What It Checks
Tor exit node database · Multiple DNSBL blacklists · Known proxy/VPN ranges · Abuse history · Geolocation & ASN ownership
Returns
risk_level, is_tor, is_proxy, blacklists array, geo (country, city, ASN)
Example Response
GET
/api/check-password
$0.001
▸
Deprecated full SHA-1 password hash lookup against 900M+ indexed password hashes. Prefer /api/check-password-range for k-anonymity privacy.
How It Works
What It Checks
Full SHA-1 hash against 900M+ known breached passwords · HIBP-style breach corpus · Kept for legacy integrations; new agents should use the range endpoint so the full hash never leaves the client.
Returns
breached (boolean), count (times seen in breaches), strength assessment
Example Response
GET
/api/check-password-range
$0.001
▸
k-Anonymity password range validation. Returns all hash suffixes for a given prefix — your app checks locally.
How It Works
What It Checks
Send first 5 chars of SHA-1 hash · Receive all matching suffixes + breach counts · Your app checks locally if the full hash matches · Maximum privacy — server never sees the full hash
Returns
Array of suffix:count pairs for client-side matching
Example Response
GET
/api/check-package
$0.010
▸
Supply-chain preflight for npm/PyPI-style packages before an agent installs or executes code.
Signals Analyzed
What It Checks
Package identity and ecosystem · Known malicious or suspicious package signals · Pre-install risk evidence for autonomous agents and CI workflows
Returns
verdict, risk_level, findings, and install/delegation recommendations
Example Response
GET
/api/full-scan
$0.010
▸
Comprehensive security scan. Runs domain, IP, URL, and email checks in a single call.
Included Scans
What It Checks
Everything from check-domain, check-ip, check-url combined · Single API call, one price · Aggregated risk score across all vectors · Ideal for "tell me everything about this target"
Returns
overall_risk, individual scan results (domain, ip, url, email), summary
Example Response
npm install shieldapi-mcp
npm install -g @vainplex/shieldapi-cli
ShieldAPI is used as the security backend in @vainplex/openclaw-governance — an Agent Firewall for the OpenClaw runtime.
$ curl "https://shield.vainplex.dev/api/check-url?url=https://example.com"
← Hit RUN to query the live API (free tier, no account needed)