技能潮 SkillTide 提交收录
官方说明浏览器自动化7 天前
Kirusshenkin/leash-firefox-extension

Kirusshenkin/leash-firefox-extension

Let Claude Code & Claude Desktop drive Firefox — safely. MCP bridge + Rust/WASM security policy that assumes the model is compromised by prompt injection.
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
0 ★ · Kirusshenkin/leash-firefox-extension · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-10 · 共见到 1 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
安装
go install wasm-bindgen-cli
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 go install wasm-bindgen-cli。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 浏览器自动化。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Kirusshenkin/leash-firefox-extension;我们收录于 2026-10-10;最近见到 2026-10-10。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Leash

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Let Claude drive Firefox — on a short leash.**
Claude Code and Claude Desktop read pages, click, type and navigate in your Firefox
through an MCP bridge. A security policy written in Rust and compiled to WebAssembly
decides what is allowed — not the model.
**English** · Русский
---
Why Leash
Browser agents read untrusted pages, and prompt injection has no complete fix. Leash
assumes the worst: **Claude is treated as compromised the moment it reads a page**.
Every action is checked by code against rules the page cannot change, so a successful
injection still can't do serious harm.
- 🔒 **Allowlist only.** Claude works only on sites you allowed — exact origin, no wildcards.
Banking, payments, mail, password managers, cloud consoles, sign-in pages, messengers and
marketplaces are blocked out of the box.
- ✋ **You confirm what matters.** Form submits, purchases, deletions, downloads and moving data
between sites wait for your click in a separate Leash window that pages cannot fake.
- 🕵️ **Injection signs are surfaced.** Fake delimiters, SYSTEM: roles, chat markup and
"ignore previous instructions" are flagged; after that, every non-read action needs approval.
- 🔑 **No API key.** Leash plugs into the Claude you already use — Claude Code or Claude Desktop.
- 📴 **The extension never goes online.** No default host permissions, connect-src 'self';
its only channel out is native messaging to the local bridge.
How it works
Claude gets these tools:
| Tool | What it does |
|---|---|
| read_page | Structured snapshot of the active tab: numbered elements, roles, names, visible text |
| click · type_text · select_option | Act on an element from the snapshot |
| scroll · navigate · go_back | Move around allowed sites |
| list_tabs · switch_tab | Work across tabs (closed sites stay hidden) |
Quick start
> Use a separate Firefox profile without important logged-in services
> (about:profiles → *Create a New Profile*).
**1. Bridge** (macOS arm64/x86_64, Linux x86_64) — prebuilt binary from GitHub Releases:
The script checks SHA-256 against the release's SHA256SUMS, installs leash-host into
~/.local/bin (override with LEASH_BIN_DIR=…, pin a release with LEASH_VERSION=v…) and
registers it with Firefox. Verify where the binary came from:
**2. Connect Claude:**
For Claude Desktop, the installer prints a snippet for claude_desktop_config.json.
**3. Extension.** Until the add-on is on addons.mozilla.org: make build, then
about:debugging#/runtime/this-firefox → *Load Temporary Add-on…* → extension/manifest.json.
**4. Go.** Restart Firefox — the Leash sidebar (*View → Sidebar → Leash*) shows the bridge as
connected. Allow a site in Leash settings (Firefox asks for access when you save), then ask
Claude to do something there. It works in the active tab; steps show up in the sidebar.
Uninstall: ~/.local/bin/leash-host uninstall and claude mcp remove leash.
Build the bridge from source instead
A binary downloaded by hand through a browser is blocked by macOS Gatekeeper (it isn't
notarized); get.sh and source builds are not affected.
Security model
What is enforced
- **Site access** = an allowlist entry **and** a host permission granted by your click in
Firefox. Exact match on https, host and port. The built-in deny list (payments, mail,
password managers, cloud consoles, sign-in, government services, messengers and social
networks, marketplaces with saved cards) cannot be lifted. Banks come pre-filled in your own
deny list — add yours there. Access is checked before every action, and the content script
re-checks the document origin right before acting.
- **Confirmation** happens in a separate Leash window; buttons unlock after 0.8 s. Asked for:
来源
github · https://github.com/Kirusshenkin/leash-firefox-extension
按领域浏览
浏览器自动化
收录于
7 天前

更多浏览器自动化

查看浏览器自动化全部 6 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引