Inspiration

In 1995, the early web ran on plain HTTP—anyone could spoof traffic or intercept data until SSL/TLS (HTTPS) introduced cryptographic identity and made safe web commerce possible. Today, the Open Agentic Web is in that exact same pre-HTTPS phase. When a browser-based agent discovers an external agentic website via its .json manifest and delegates a task, it has no zero-server way to verify that the manifest wasn't tampered with or guarantee that the remote agent isn't injecting malicious prompts to exfiltrate local keys. I built VouchWeb to serve as the missing HTTPS trust and sandboxing layer for browser-native agent networks.

What it does

VouchWeb is both a conforming Open Agentic Web site and a drop-in, zero-dependency browser security runtime (runtime.js) that allows browser agents to discover, verify, and safely collaborate with each other without central servers:

  • Cryptographic Manifest Attestation: Uses the browser's native WebCrypto API (crypto.subtle) to generate ECDSA P-256 keypairs, sign agent.json capability manifests, and cryptographically verify remote agent identities before any task is delegated.
  • Ephemeral Web Worker Airgap: Isolates untrusted cross-origin agent payloads inside a locked-down Blob Web Worker (with fetch, XMLHttpRequest, and importScripts disabled) to strip hidden prompt injections, unauthorized URLs, and schema violations before returning sanitized JSON to the main thread.
  • Proof-of-Capability Dry-Run Probes: Fires synthetic micro-challenges at discovered agents to measure latency and schema adherence, computing a live 0–100 Trust Score.
  • Interactive Security Control Plane: Includes a Live Trust Arena simulating cross-site agent workflows (including live prompt-injection interception), a Manifest Signer & Auditor that outputs a 3-line <script type="module"> integration snippet for other developers, a Live Spec Inspector, and Zero-Key / BYOK execution modes.

How I built it

  • Core Protocol & Runtime (public/agent.json, public/.well-known/agent.json, public/runtime.js): Built as a zero-dependency ES module exposing VouchWebRuntime alongside a window.postMessage cross-origin listener so external agentic websites can invoke VouchWeb directly in the browser.
  • Browser Cryptography & Sandboxing: Implemented ECDSA P-256 signing and verification via window.crypto.subtle and built a dynamically generated Blob Web Worker sandbox that shadows network globals and runs deterministic regex/AST sanitization rules.
  • Frontend Control Plane: Built with React 18, TypeScript, Vite, and Tailwind CSS, supporting instant Zero-Key deterministic execution, Chrome's built-in window.ai, and localStorage-only Bring-Your-Own-Key (OpenAI, Anthropic, Groq) configurations.

Challenges I ran into

  • Strict Browser Sandbox Isolation: Designing a Blob-based Web Worker that strips access to network APIs (fetch, XMLHttpRequest, importScripts) while still maintaining fast, deterministic JSON schema validation and prompt-injection filtering without external dependencies.
  • Zero-Server Key Distribution & Verification: Ensuring manifest signatures could be generated, exported, and verified purely client-side using standard WebCrypto JWK formats so any developer can adopt VouchWeb on static hosting without spinning up a backend.
  • Zero-Friction Judge Experience: Balancing deep cryptographic and runtime inspection tools with a deterministic Zero-Key fallback mode so anyone testing the live site can run full multi-agent security simulations immediately without entering API keys.

Accomplishments that I'm proud of

  • Shipping a 100% browser-native, zero-backend security primitive that directly addresses decentralized trust for the Open Agentic Web.
  • Building a genuinely reusable open-source runtime (runtime.js) that any other participant can drop into their own agentic website in three lines of code.
  • Creating a real-time visual Trust Arena where users can watch an untrusted agent's hidden prompt-injection attack get caught and quarantined inside an isolated Web Worker airgap.

What I learned

  • How to leverage native browser primitives (SubtleCrypto, Blob Web Workers, MessageChannel, and ES Modules) to build zero-trust security boundaries entirely on the client side.
  • Why standardized, machine-readable .json capability manifests combined with verifiable cryptographic signatures are essential for preventing cross-agent prompt injection as browser agents begin interacting autonomously across origins.

What's next for VouchWeb

  • DNS-over-HTTPS (DoH) Public Key Binding: Automatically resolving agent public keys from domain _vouchweb DNS TXT records via DoH for zero-config domain-level trust.
  • WebGPU / Local Micro-Classifier: Upgrading the Web Worker inspection pipeline with an optional lightweight local transformer model to catch semantic prompt injections alongside deterministic pattern rules.
  • Browser Extension & NPM Package: Publishing @vouchweb/runtime to npm and releasing a companion browser extension that displays a live "HTTPS-style" trust badge whenever a user visits an Open Agentic Web site.

Built With

Share this project:

Updates

Submission history