Leash

•

Drive Firefox safely from Claude Code and Claude Desktop using an MCP bridge fortified with Rust and WebAssembly security policies.

Leash bridges Claude Code and Claude Desktop with Mozilla Firefox while strictly operating under the assumption that the language model may be compromised by prompt injection. Instead of relying on model self-restraint, Leash enforces deterministic security boundaries through a Rust and WebAssembly policy engine. The system locks down automation exclusively to user-approved domains with built-in protections against critical web destinations, prompts for explicit user approval before executing sensitive operations like form submissions or cross-site data transfers, and operates via a local native messaging bridge that requires no external network access or separate API keys.

主な機能

01Active prompt-injection detection that flags malicious tokens and forces manual approvals on subsequent non-read actions
020 GitHub stars
03Strict allowlist enforcement with permanent blocks on sensitive sites like banking, auth, and cloud portals
04Isolated confirmation window requiring user consent for form submissions, purchases, deletions, and cross-site data transfers
05Swap-after-snapshot protection that verifies element integrity before executing clicks or typing
06Zero external network exposure for the extension, relying exclusively on a local native messaging bridge via Unix sockets

ユースケース

01Allowing Claude to safely research, navigate, and summarize data on specific web domains without prompt injection risks
02Automating multi-step web workflows while keeping sensitive actions like checkout and account changes gated behind user confirmation
03Interacting with web applications programmatically through Claude Code without granting blanket access to sensitive personal browser profiles