SSL audit
TLS/SSL security posture check: live certificate inspection, HTTP security headers, and CAA DNS records.
3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.
When to use this pack
Verifying a domain's TLS posture - cert validity, security headers, and who's authorized to issue certs.
Tools in this pack
All 3 run inside the single $0.006 call above. Each is also callable on its own if you only need one part.
- TLS certificate POST /api/tls-cert Inspect the TLS certificate of any public host: subject, issuer, validity window, days remaining, SANs, and SHA-256 fingerprint.
- HTTP headers + security analysis POST /api/http-headers Fetch a URL and return every response header plus a security analysis: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/CORP/COEP. Scores 0–100 by presence, flags weak HSTS, and warns on Server/X-Powered-By identity leaks. SSRF-protected.
- DNS lookup POST /api/dns-lookup Resolve any DNS record type for a host: A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR. Returns the records plus a count. Built on Node's native resolver - no external API.
Bought one at a time, these 3 tools cost $0.006 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.006.
Workflow
- Inspect the live TLS certificate - issuer, expiry, SANs, chain validity.
- Fetch HTTP response headers - HSTS, CSP, and other security headers.
- Check CAA DNS records to see which CAs are authorized to issue certs for this domain.
Arguments
| Name | Required | Description | Example |
|---|---|---|---|
domain | yes | Domain to audit (e.g. stripe.com) | stripe.com |
What one call returns
A JSON object with pack, args, steps, summary; steps holds one entry per tool (tls-cert, http-headers, dns-lookup), each with its own result or error. Full example on the API page.
Call it directly
Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):
import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-ssl-audit", {"domain":"stripe.com"});
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Run an SSL audit on stripe.com using Agent402's ssl-audit skill pack. Get (1) TLS cert details - issuer, expiry, SANs, (2) HTTP security headers - HSTS, CSP, (3) CAA DNS records. Flag any near-expiry or missing HSTS.