1. Check All 12 Live Discovery Files
Audits all 12 real endpoints on this Worker, verifies Ed25519 signatures from the persistent Durable Object key store, matches SKILL.md SHA-256 bytes, and probes HTTP QUERY.
Track 9 · Agent Bridges & Discovery · Cloudflare Worker + SQLite Durable Object
Websites publish machine-readable files under standard RFC 8615 /.well-known/ and root paths so automated clients can discover APIs, OAuth RFC 9728 auth servers, RFC 9421 Bot Auth Directory keys, and IETF aipref usage rules without scraping HTML. In practice, discovery breaks silently when SPA routers return HTTP 200 HTML for missing files, ephemeral keys reset across serverless restarts, or skill hashes go stale. This lab hosts all 12 endpoints on a persistent Durable Object key store alongside 5 broken test fixtures and an SSRF-hardened verifier.
Checking res.ok is not enough: catch-all HTML routes mask missing manifests as 200 OK, recycled serverless isolates break RFC 9421 signatures, and unverified redirect chains can leak internal network addresses.
Reliable machine-readable discovery across 12 /.well-known/ and root conventions, where automated clients verify cryptographic signatures, exact SKILL.md SHA-256 digests, and HTTP QUERY filters before trusting a site.
First run Audit This Live Worker to pass all 12 live endpoints, then run the 5 Broken Fixtures gauntlet to trigger every fault code, and finish with the HTTP QUERY + SSRF check plus independent browser WebCrypto verification.
Audits all 12 real endpoints on this Worker, verifies Ed25519 signatures from the persistent Durable Object key store, matches SKILL.md SHA-256 bytes, and probes HTTP QUERY.
Runs the auditor against 5 intentionally broken routes to confirm it flags HTML soft-404 pages, stale file hashes, tampered signatures, wrong MIME types, and redirect loops.
Sends a live QUERY /api/skills/query filter request and attempts 4 private/local targets (127.0.0.1, 169.254.169.254, [::1], file:///etc/passwd) to verify HTTP 400 blocks.
POST /api/audit)
Pick this Worker, a broken test fixture, or any public https:// site, then click any row to inspect its headers, signature check, and body.
Run an audit to inspect all 12 discovery paths.
Verifies directory JWK thumbprint, Content-Digest SHA-256, and Ed25519 signatures via WebCrypto.
Fetches SKILL.md bytes and compares WebCrypto SHA-256 against agent-skills/index.json.
Sends HTTP QUERY with JSON filter body to /api/skills/query.
| Endpoint | Status | HTTP | Content-Type | Crypto / Faults | Summary |
|---|---|---|---|---|---|
| Click "Audit This Live Worker" or submit a target above. | |||||
| Fixture | Overall | RFC 9421 | SKILL SHA-256 | Detected Fault Codes | Inspect |
|---|
Click any row in the audit table or a live endpoint card to view its raw headers and verification trace.
Select a signed endpoint (such as /.well-known/http-message-signatures-directory or /.well-known/agent-card.json) to inspect the reconstructed RFC 9421 signature base and WebCrypto result.
Response body preview will appear here.
Verify the Worker's persistent WellKnownKeyStore Ed25519 signature and SKILL.md hash directly inside your browser tab.
Loading persistent Durable Object key metadata from /api/meta…
Every linked API (/api/audit, /api/skills/query, /api/mcp, /api/openapi.json) responds live with zero placeholder routes.
QUERY Filter & SSRF Guard (/api/skills/query)Send a safe read-only HTTP QUERY request with a JSON filter body, or compare GET and rejected DELETE calls.
Submit the form above to inspect the live HTTP QUERY request and response wire trace.
POST /api/audit · QUERY /api/skills/query
self, 5 broken fixtures, or any public https:// sitepublic/lib/verify-crypto.jssrc/worker.tsSignature and Content-Digest headersSKILL.md SHA-256 bytes against agent-skills/index.jsonAlso serves all 12 live discovery files, /SKILL.md, /api/mcp, and 5 broken routes under /fixtures/*.
WellKnownKeyStoreOne stable Ed25519 keypair in SQLite
SOFT_404 · BAD_DIGEST · BAD_SIG · BAD_MIME · REDIRECT_LOOP
Private IP targets and unsafe redirect hops reject immediately with HTTP 400 or SSRF_REDIRECT_BLOCKED.
Replacing isolate-local ephemeral keys, unverified signature headers, and stub /demo/* endpoints with SQLite Durable Object key persistence and real WebCrypto verification.
// Ephemeral isolate key drifts whenever Workers recycle isolates:
let keysPromise = null;
const keys = await (keysPromise ??= createDemoKeys());
// Inspector checked keys[] JSON shape only — never called WebCrypto verify():
const ok = Array.isArray(parsed.keys); // Skipped RFC 9421 Signature check!
// Manifest targets pointed at placeholder /demo/* JSON stubs.
// Single Ed25519 keypair persisted in SQLite Durable Object (WellKnownKeyStore):
const stub = env.WELL_KNOWN_KEY_STORE.get(
env.WELL_KNOWN_KEY_STORE.idFromName("well-known-ed25519-v1")
);
// Auditor verifies Content-Digest (RFC 9530) + Ed25519 Signature (RFC 9421):
const check = await verifyRfc9421Response({
authority, path, headers, bodyBytes, directoryKeys
});
const digest = await computeSha256Hex(skillMdBytes); // Exact SKILL.md match
Exact verification pipeline executed both inside POST /api/audit and directly in the browser tab when clicking "Verify Directly in Browser WebCrypto".
const digestCheck = await verifyContentDigest(headers.get("content-digest"), bodyBytes);
const built = buildSignatureBase(parsedInput.components, {
"@authority": authority,
"@path": path,
"content-digest": headers.get("content-digest"),
}, parsedInput.paramsRaw);
const publicKey = await crypto.subtle.importKey(
"jwk",
{ kty: "OKP", crv: "Ed25519", x: matchedKey.x },
{ name: "Ed25519" },
false,
["verify"]
);
const valid = await crypto.subtle.verify(
{ name: "Ed25519" },
publicKey,
signatureBytes,
new TextEncoder().encode(built.base)
);
SPA routers returning HTTP 200 HTML on /.well-known/*, isolate-local keys rotating mid-verification, stale SKILL.md SHA-256 digests, and redirect chains escaping into internal IPs.
Real Ed25519 signatures over RFC 9421 bases and RFC 9530 body digests, exact byte-level SKILL.md hashes, strict media types, HTTP QUERY responses, and SSRF fail-closed guards.
Five intentionally broken fixtures under /fixtures/* guarantee the auditor cannot pass by rubber-stamping HTTP 200 responses—every defect produces a concrete machine-readable fault code.
/.well-known//.well-known/http-message-signatures-directory used to verify RFC 9421 HTTP signatures.aipref (Content-Usage)QUERY Method