cbp-guard
v0.1.3Check an x402 payTo for scam/phishing and address-poisoning lookalikes before paying.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wallet_check
Check a destination wallet (x402 payTo) with CertBeforePay before paying: clear, caution (incl. address-poisoning lookalike) or block. Paid: $0.01 in USDC on Base via x402 from your key. Not an OFAC/sanctions screen.
| Parameter | Type | Description |
|---|---|---|
address * | string | Destination 0x wallet (the payTo you are about to pay) |
chain | string | CAIP-2 chain id; default eip155:8453 (Base) |
known_recipients | array | Optional: up to 50 0x addresses you expect to pay; a lookalike of one returns caution |
resource | string | Optional resource URL or domain context |
gate
Scan a skill, skills, an MCP server config or content with CertBeforePay POST /v1/gate. Paid: $0.02 in USDC on Base via x402 from your key.
| Parameter | Type | Description |
|---|---|---|
content | string | Free-form content to scan |
mcp | An MCP server config | |
skill | One skill (string or object) | |
skills | array | Several skills |
peer_challenge
Verify another agent's CertBeforePay certificate before you trust or pay it, with POST /v1/peer/challenge. Returns decision ACCEPT only if the certificate is signed by CertBeforePay, not expired and not revoked, its score is at least min_score and its tier meets require_tier; otherwise REJECT. A valid certificate whose subject is on the scam list is normally refused with 403 scam_wallet_blocked, and never gets ACCEPT. Also returns valid, reason, the peer's subject, tier, score, grade, expires and serial, and the policy applied. Paid: $0.01 in USDC on Base via x402 from your key.
| Parameter | Type | Description |
|---|---|---|
certificate * | object | The peer's CertBeforePay certificate: the signed JSON object (payload, signature, ...) returned as certificate by POST /v1/self-check or POST /v1/cert/issue |
min_score | integer | Optional minimum certificate score, 0-100; default 60. A lower score returns REJECT |
require_tier | string | Optional minimum tier: provisional, attested or endorsed (lowest to highest). A lower tier returns REJECT; any other value always returns REJECT |