Trust & Security
Security & architecture
addrbook operates security infrastructure for AI agents and MCP tooling. This page states only the technical controls that are implemented and enforced in production today.
API keys & webhook authentication
- Hashed API keys
- Bearer API keys (
ab_…) are generated from OS cryptographic randomness, displayed once at creation or rotation, and stored in PostgreSQL strictly as SHA-256 digests. addrbook cannot read back a previously issued key. - Self-serve key rotation
- Any key holder can atomically rotate their key via
POST /v1/billing/keys/rotateor the Watchlists console. Rotation migrates active watchlists, saved policy profiles, and monthly quota usage to the new key and revokes the old key immediately. - Signed webhooks
- Every watchlist alert and owner alert carries an
addrbook-signatureheader formatted ast=<unix_ts>,v1=<hmac_sha256_hex>, keyed per watchlist using a server-side signing secret and verified in constant time. - Replay-proof billing
- Stripe Billing webhooks are verified in constant time with timestamp replay windows and deduplicated in
stripe_billing_events. x402 USDC pay-per-call receipts are recorded inx402_paymentsby SHA-256 digest so a settled payment header can never be replayed.
Outbound probing & SSRF isolation
Every outbound HTTP request addrbook makes — endpoint probes, registration fetches, webhook deliveries, and billing callbacks — passes through a single hardened client (SafeClient):
- Public-only DNS resolution: loopback, link-local, RFC 1918 private, CGNAT, multicast, and cloud metadata addresses are refused at connect time.
- Hop-by-hop redirect checking: redirects are followed manually with strict hop limits and re-validated against the public-only policy on every hop.
- Bounded bodies & timeouts: every response stream is size-capped and time-bounded; addrbook reads MCP tool descriptions without ever executing a remote tool.
- Browser scanner privacy: /scan parses
mcp.jsonlocally in your browser and stripsenv,headers, URL credentials, and query strings before sending only public server URLs or names to/v1/policy/audit.
Tamper-evident ledger & prompt-injection defense
- Daily Merkle roots: every probe observation, tool-list diff, scan finding, and ownership check is appended to the evidence ledger and folded into daily keccak256 Merkle roots that anyone can verify independently.
- Hostile listing redaction: addrbook's MCP server (
POST /v1/mcp) and tool scanner detect prompt-injection instructions and invisible Unicode characters in third-party listings and withhold untrusted free text from agent-facing tool responses. - HTTP security headers: production endpoints enforce HSTS, strict Content Security Policies (
default-src 'none'on the API),X-Content-Type-Options: nosniff,X-Frame-Options: DENY, body limits, request timeouts, and per-IP / per-key rate limits. - Human-Backed Agent (HBA) isolation: cryptographic proof-of-human verification runs as a separate service at hba.addrbook.com using hardware passkeys, zero-knowledge uniqueness proofs, and transparency logs so relying parties verify human accountability without collecting government IDs or raw biometrics.
Vulnerability disclosure
If you discover a security vulnerability in addrbook or HBA, email optout@addrbook.com with reproduction steps and affected endpoints. Please do not test denial-of-service floods or access other customers' watchlists.