Passhold Agents 开源:让 AI Agent 用密钥但读不到密钥
Keyrook-com · reddit · 2026-12-01
Passhold Agents(GPL-3.0)是一个零知识本地 MCP 服务器,让 Claude Code、Cursor、浏览器 agent、云端 VM 等可以调用登录凭据、2FA 码和 API key,而模型本身永远读不到原始密钥。0.6.0/0.7.0 版本要点:
- 9 个 MCP 工具:listitems、httprequest、runcommand、filllogin、gettotp、saveapikey、requestaccess、reveal、status
- 双传输:本地 stdio(Claude Code/Cursor/VS Code 等)+ 加固的 Streamable HTTP,绑定 127.0.0.1 配合自有 HTTPS 隧道供云端 VM 使用
- 凭据注入仅限 allowlist 的 host/path/method,拒绝重定向、忽略代理环境变量,并在返回模型前清洗 raw/base64/hex/URL 编码形式的密钥
- runcommand 以 shell:false 启动并清洗输出;gettotp 只返回短时效 6 位码,base32 种子不出保险库
- 支持浏览器/Android 远程审批与一键「停止所有机器」kill switch
源码:github.com/keyrook/passhold,已上架 MCP Registry。
「编程与Agent」频道最新
- KGQA 新方法:LLM 规划、便宜决策模型读图,LLM token 少用 4-6 倍 — _reachsumit · 2026-12-01
- 安全团队开源 ArtexPot:用 7 个蜜罐反向攻破 AI 渗透测试智能体 — ycombinator · 2026-12-01
- 网友晒出 13 个模型的 Agent 军团:Grok、Qwen、DeepSeek 全上阵 — Yamapama · 2026-12-01
- AI 图书俱乐部场均 250 人直播,12 月起连读 RLHF、Agent 与 Eval 三书 — sh_reya · 2026-12-01
- teortaxesTex 晒区域提示工作流,欲打造 agentic Photoshop — teortaxesTex · 2026-12-01
- antfu 发布 WebComponent:一个 <img> 标签让照片在端侧「活起来」 — shuding · 2026-12-01