
Keel
io.github.lutfizp由 GitHub 帳號 lutfizp 發布v0.3.0更新於 Oct 24, 2026
Control plane MCP that dedups scanner output, rate-limits hosts, and runs non-destructive proofs.
概覽
Keel 是本地 MCP 控制平面,用於授權安全測試:對掃描器結果去重、限制主機請求速率,並執行非破壞性的唯讀驗證。
- 可以做什麼
- 登記測試範圍與流量上限,起草可達性與範本微批次方案,此階段不送出流量
- 排入佇列、輪詢並取消背景掃描批次,或只重跑某個來源 Nuclei 範本
- 查詢合併重複掃描結果的語意卡片,並評估可利用性、缺少的證據與陰性對照
- 針對測試者自有資料起草並執行唯讀驗證腳本,回傳 proven 或 protected 結論及 curl 重現指令
- 記錄測試假設,檢視參與健康度、冷卻、預算與僅附加的稽核日誌
- 適用情境
- 適用於已獲授權的漏洞賞金或滲透測試情境:掃描結果雜訊多,希望助理協助分流、避免對目標造成壓力,並產出安全且可重現的影響證明,而不是原始工具輸出。
- 執行需求
- 以本機 Python 程序執行,需 Python 3.10 以上,從 keel-pentest 套件安裝;setup 會把 ProjectDiscovery 的 httpx 與 nuclei 下載到本機目錄。選用 KEEL_APPROVAL_FILE 固定範圍與範本,KEEL_CREDENTIALS_FILE 依名稱提供測試帳號憑證。需要能連線到你獲授權測試的目標網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Keel,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Keel
The MCP control plane that turns scanner noise into hunter-grade, non-destructive proofs
[Python] [License] [MCP] [PyPI] [Registry] [Version]
Thirteen MCP tools. Semantic dedup. Per-host rate limits. Safe proofs that show what a hunter can do — without damaging the target.
Dumping 150 tools on an agent is easy. The hard problems are dedup across tools, exploitable vs noise, and not hammering the target. Keel is the control plane for those three.
An AI client talks to Keel, not to httpx, nuclei, or a shell. Keel drafts one wave at a time, enforces scope and rate limits, merges scanner hits into semantic cards, and runs GET-only playbooks on tester-owned data. When a playbook returns proven, you get a curl replay a hunter can follow — still without writes, shells, or payload spam.
Use it on programs you are authorized to test.
Why Keel
A wrapper that shells out to a huge toolbox does not have that layer. Keel does — in the scheduler, in the adapters, and in the proof broker.
Architecture
begin_engagementwith the hostname you are authorized to test.draft_wavesproposes reachability plus template micro-waves. No traffic yet.execute_wavereturns a job immediately. Pollwave_status.cancel_wavekills the scanner.query_cardsreturns hunter-relevant cards.assess_exploitabilitysays what would prove it.draft_proofthenexecute_proofrun a GET-only playbook against tester data.provenmeans the invariant held.protectedmeans the control worked.
Installation
macOS (Homebrew). pipx is a separate tool — install it first. Apple's /usr/bin/python3 is often 3.9 and cannot install Keel.
If python3.12 is already on the machine and you do not want Homebrew pipx:
setup downloads ProjectDiscovery httpx and nuclei into ~/.keel/bin. Keel finds them there even when a GUI client has a thin PATH. No extra KEEL_HTTPX_BIN for a first scan.
Then point your MCP client at the keel-pentest executable:
OpenCode: "command": ["keel-pentest"].
Python 3.10+. Do not pip install keel — that is a different project. OS notes and pip/venv: INSTALL.md. Client shapes: clients/README.md.
Optional later: KEEL_APPROVAL_FILE for a team manifest that pins scope, template IDs, and proof targets. Default mode is self-attested — begin_engagement is the authorization. Rate limits, one-wave-per-host, signed templates, and sanitized evidence still apply.
Safe proofs that still prove impact
Scanner output is a hypothesis. Keel proves (or refutes) it with disposable tester accounts and a unique canary. Every playbook is GET-only, budgeted, and returns a curl replay. The replay is the report artifact: if this is not fixed, a hunter with a normal account can do this.
execute_proof stores status codes, canary booleans, truncation flags, hashes, hunter impact text, and the repro script. It does not persist response bodies or secrets.
Plant a non-secret canary in a tester-owned object before cross_account_read / unauth_access_probe. Reflected XSS and open redirect inject the marker themselves.
MCP tools
begin_engagement needs engagement_id and scope_hosts (plain hostnames, e.g. target.example). Defaults: 3 req/s, one host at a time, 120s / 120 requests per wave. allow_safe_proof=true enables proofs. Pass tester credential names only; put secrets in KEEL_CREDENTIALS_FILE.
Example prompt
Traffic controls
- Exact scope and exclusions on draft, admit, ingest, and proof
- One wave per host; same-host jobs wait
- Shared global and per-host token buckets
- Persistent request reservations; retries consume a new reservation
- Nuclei: signed HTTP templates, no OAST, no redirects, no retries, exclude dos/fuzz/bruteforce/intrusive
- Isolated empty scanner configs; proxy and ProjectDiscovery-cloud env vars stripped
- HTTP 429 stops the wave and honors Retry-After
- Bounded response reads; evidence without raw bodies
Troubleshooting
begin_engagement after a client restart restores the SQLite engagement. If you changed scope, use a new engagement_id.
Proofs need allow_safe_proof=true and, for session playbooks, KEEL_CREDENTIALS_FILE mapping names like tester-a to Authorization or Cookie.
License
MIT. Copyright (c) 2026 Lutfi Z.P.
PyPI: keel-pentest. MCP Registry: io.github.lutfizp/keel. Source: github.com/lutfizp/keel.
來源:README.md,提交 e659b00
工具
0版本歷史
1- v0.3.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分