IgorGanapolsky/ThumbGate
在AI编码代理执行工具调用前检查并拦截危险操作
解决什么问题
一次错误的工具调用就可能清空目录、泄露密钥或推送坏代码。没有它,代理会在你察觉之前就把这些操作执行完。
- 拦截密钥泄漏与灾难命令
- 点踩转为后续检查规则
- 本地运行无需账号云端
适用客户端
- claude-desktop
- cursor
- vscode
- cline
- cli
安装命令
npx thumbgate init # finds your agent (Claude Code, Cursor, Codex, ...) and installs the hooks npx thumbgate doctor # checks that the hooks are really wired npx thumbgate init --agent claude-code npx thumbgate doctor 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 是
维护状态
| 最近提交 | 2026-12-05(0d) |
|---|---|
| Star | 34 |
| 待处理 issue | 38 |
| 协议 | MIT |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-05 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
ThumbGate checks an AI coding agent's actions before they run.