keel
Keel
スキャナーのノイズをハンター級の非破壊的証明に変えるMCPコントロールプレーン
13のMCPツール。セマンティックな重複排除。ホストごとのレート制限。ターゲットを傷つけずにハンターができることを示す安全な証明。
Keel の理由 · インストール · クライアント · 証明 · ツール
エージェントに150個のツールを放り込むのは簡単です。難しいのは、ツール間の重複排除、悪用可能かノイズか、そしてターゲットを過剰に叩かないことです。Keelはこれら3つのためのコントロールプレーンです。
AIクライアントはhttpxやnuclei、シェルではなくKeelと通信します。Keelは一度に1つのウェーブを設計し、スコープとレート制限を強制し、スキャナーのヒットをセマンティックカードに統合し、テスター所有のデータに対するGET専用プレイブックを実行します。プレイブックがprovenを返すと、ハンターが追跡できるcurlリプレイが得られます — それでも書き込み、シェル、ペイロードのスパムはありません。
テストを許可されたプログラムでのみ使用してください。
Keel の理由
難しい問題 | スキャナーダンプがすること | Keelがすること |
ツール間の重複排除 | 1行に1つのNucleiテンプレートID。同じIDORが5回出現する | 脆弱性クラス + 正規化されたルート + メソッド + パラメータからセマンティックキーを生成。UUID/id/hexトークンは折りたたまれる。互換性のある観測結果はマージされる。 |
悪用可能かノイズか | 高重大度 = 「出荷だ」 | カードは |
ターゲットを過剰に叩かない | すべてのテンプレートを一度に発射し、429でリトライする | ホストごとに1つのアクティブウェーブ、トークンバケット、Nucleiの並行性1、OASTなし、リダイレクトなし、未署名テンプレートなし、dos/fuzz/bruteforce/intrusiveタグなし。HTTP 429はクールダウンになります。 |
巨大なツールボックスにシェルアウトするラッパーにはその層がありません。Keelにはあります — スケジューラー、アダプター、証明ブローカーに。
Related MCP server: apex
アーキテクチャ
flowchart TD
A[AI coding client] -->|stdio MCP| B[Keel]
B --> C[Scope and rate gate]
C --> W[Background job and wave scheduler]
W --> H[httpx: one target]
W --> N[nuclei: HTTP templates, bounded]
C --> P[Proof broker: GET only]
P --> T[Tester-owned resource]
H --> S[Semantic card store]
N --> S
P --> S
S --> Q[Triage and evidence states]テストを許可されたホスト名で
begin_engagementを実行します。draft_wavesは到達可能性とテンプレートのマイクロウェーブを提案します。まだトラフィックはありません。execute_waveは即座にジョブを返します。wave_statusをポーリングします。cancel_waveはスキャナーを停止します。query_cardsはハンターに関連するカードを返します。assess_exploitabilityは何がそれを証明するかを示します。draft_proofとexecute_proofはテスターデータに対してGET専用プレイブックを実行します。provenは不変条件が保持されたことを意味します。protectedはコントロールが機能したことを意味します。
インストール
macOS(Homebrew)。pipxは別のツールです — 最初にインストールしてください。Appleの/usr/bin/python3は多くの場合3.9で、Keelをインストールできません。
brew install pipx python@3.12
pipx ensurepath
# open a new terminal, then:
pipx install keel-pentest
keel-pentest setup
keel-pentest doctorpython3.12がすでにマシンにあり、Homebrew pipxを使いたくない場合:
python3.12 -m pip install --user pipx
python3.12 -m pipx ensurepath
python3.12 -m pipx install keel-pentestsetupはProjectDiscoveryのhttpxとnucleiを~/.keel/binにダウンロードします。GUIクライアントのPATHが薄くても、Keelはそこでそれらを見つけます。初回スキャンに追加のKEEL_HTTPX_BINは不要です。
次に、MCPクライアントをkeel-pentest実行可能ファイルに向けます:
claude mcp add --scope user --transport stdio keel -- keel-pentest
codex mcp add keel -- keel-pentest
hermes mcp add keel --command keel-pentestOpenCode: "command": ["keel-pentest"]。
Python 3.10以上。pip install keelを実行しないでください — それは別のプロジェクトです。OSの注意点とpip/venv: INSTALL.md。クライアントの形状: clients/README.md。
後で任意: スコープ、テンプレートID、証明ターゲットを固定するチームマニフェスト用のKEEL_APPROVAL_FILE。デフォルトモードは自己証明 — begin_engagementが承認です。レート制限、ホストごとの1ウェーブ、署名済みテンプレート、サニタイズされた証拠は引き続き適用されます。
それでも影響を証明する安全な証明
スキャナーの出力は仮説です。Keelは使い捨てのテスターアカウントと一意のカナリアでそれを証明(または反証)します。すべてのプレイブックはGET専用で、予算が設定され、curlリプレイを返します。リプレイはレポートの成果物です: これが修正されない場合、通常のアカウントを持つハンターがこれを実行できます。
プレイブック | 証明するもの | 損害なしの方法 |
| IDOR / BOLA | テスターAは自分のカナリアを読み、テスターBは同じA所有のURLをGETします。同一のカナリア + 2xx = |
| 反射型XSS / HTMLインジェクション | 一意のマーカーと無害な |
| オープンリダイレクト | リダイレクトパラメータを |
| 認可の欠如 | テスターAのベースラインはカナリアを示す必要があります。資格情報なしの同じURLは示してはいけません。2xx + カナリア未認証 = |
| 到達可能性のみ | Aは自分のカナリアを読みます。これは |
execute_proofはステータスコード、カナリアのブール値、切り詰めフラグ、ハッシュ、ハンターの影響テキスト、再現スクリプトを保存します。応答本文やシークレットは永続化しません。
cross_account_read / unauth_access_probeの前に、テスター所有のオブジェクトに非シークレットのカナリアを植えます。反射型XSSとオープンリダイレクトはマーカーを自分で注入します。
MCPツール
ツール | 役割 |
| スコープとトラフィック上限を登録 |
| 到達可能性 + テンプレートのマイクロウェーブを提案。トラフィックなし |
| 1つのバックグラウンドジョブをキューに入れる |
| ステージ、進捗、結果。 |
| キュー済みまたは実行中のスキャナーを停止 |
| 優先順位付けされたセマンティックカード |
| 元のNucleiテンプレートのみを再実行 |
| 候補となる影響、欠落している証拠、ネガティブコントロール、プレイブック |
| ハンターの仮説を記録 |
| 許可リストに登録された証明プラン。トラフィックなし |
| GET専用プレイブックを実行 |
| クールダウン、予算、保留中のウェーブ |
| 追記のみのアプリケーションイベント |
begin_engagementにはengagement_idとscope_hosts(プレーンなホスト名、例: target.example)が必要です。デフォルト: 3 req/s、一度に1ホスト、ウェーブごとに120秒 / 120リクエスト。allow_safe_proof=trueで証明が有効になります。テスターの資格情報の名前のみを渡し、シークレットはKEEL_CREDENTIALS_FILEに置きます。
プロンプト例
Use only Keel MCP tools. Do not shell out to httpx, nuclei, curl, or exploit tools.
1. begin_engagement for bb-2026-01 with scope_hosts ["target.example"], 3 req/s.
Set allow_safe_proof true if I will run proofs.
2. draft_waves for https://target.example.
3. execute_wave for each wave. Poll wave_status until completed, retryable_failed,
terminal_failed, or cancelled.
4. query_cards (include_noise false), then assess_exploitability on candidates.
5. For a card with a safe playbook, draft_proof then execute_proof using tester
credential names and the canary I planted. Treat protected as refuted.
6. Summarize duplicates, evidence state, hunter_impact, and the repro_script.
Claim exploitable only when Keel reports proven.トラフィック制御
ドラフト、受理、取り込み、証明における正確なスコープと除外
ホストごとに1ウェーブ。同じホストのジョブは待機
共有のグローバルおよびホストごとのトークンバケット
永続的なリクエスト予約。リトライは新しい予約を消費
Nuclei: 署名済みHTTPテンプレート、OASTなし、リダイレクトなし、リトライなし、dos/fuzz/bruteforce/intrusiveを除外
分離された空のスキャナー設定。プロキシとProjectDiscovery-cloudの環境変数は削除
HTTP 429はウェーブを停止し、Retry-Afterを尊重
応答読み取りは制限付き。生の本文なしで証拠を取得
トラブルシューティング
keel-pentest doctor
keel-pentest setup # if doctor reports missing httpx/nucleiクライアント再起動後のbegin_engagementはSQLiteエンゲージメントを復元します。スコープを変更した場合は、新しいengagement_idを使用してください。
証明にはallow_safe_proof=trueが必要で、セッションプレイブックにはKEEL_CREDENTIALS_FILEでtester-aなどの名前をAuthorizationまたはCookieにマッピングします。
ライセンス
MIT. Copyright (c) 2026 Lutfi Z.P.
PyPI: keel-pentest. MCP Registry: io.github.lutfizp/keel. ソース: github.com/lutfizp/keel.
Available Tools
9 toolsbegin_engagementC
Register scope, rate limits, and proof flags for one engagement.
Inputs: scope_hosts (required), engagement_id (required), exclude_hosts, allow_safe_proof, +4 more.
draft_proofD
Describe an allowlisted proof without sending traffic.
Inputs: card_id (required), playbook_id (required), engagement_id (required).
draft_wavesA
Propose probe_alive then template_scan waves without executing them.
Inputs: seed_url (required), engagement_id (required).
engagement_healthC
Report registered engagements, cooldowns, and pending waves.
Inputs: engagement_id.
execute_proofC
Run an allowlisted proof. Requires allow_safe_proof and operator_confirmed.
Inputs: card_id (required), session_a (required), playbook_id (required), engagement_id (required), +1 more.
execute_waveC
Run one admitted wave behind the per-host token bucket.
Inputs: wave_id (required), engagement_id (required).
query_cardsB
Return hunter-relevant cards. Informational and hardening are hidden by default.
Inputs: engagement_id (required), include_noise.
second_lookC
Re-run a bounded template scan on a single card URL.
Inputs: card_id (required), engagement_id (required).
state_impactC
Record hunter impact_class and preconditions on a card.
Inputs: impact (required), card_id (required), hunter_why (required), engagement_id (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource and action: engagements, waves, proofs, and cards are cleanly separated. The two execute tools are disambiguated by proof vs wave, and the two draft tools by waves vs proof, so an agent should not confuse them.
Most tools follow a clear verb_noun snake_case pattern like execute_proof, begin_engagement, draft_waves, and query_cards. engagement_health and second_look break the pattern by using noun phrases, but the overall convention remains readable and predictable.
Nine tools is a well-scoped size for this domain, covering engagement setup, wave and proof execution, and card interaction without unnecessary redundancy or bloat.
The core loop is represented, but there is no explicit admission step for drafted waves before execute_wave, and engagements lack update/close lifecycle operations. These are notable workflow gaps that could stall end-to-end operations.
Maintenance
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Find, document and execute authenticated API calls across 1000+ apps via one MCP server
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for authorized bug bounty work that enforces an evidence-driven workflow with session management, preflight checks, surface discovery, and verified scanning.12MIT
- AlicenseNot gradedqualityBmaintenanceEnables authorized bug bounty automation via a scope-enforced MCP bridge, supporting web, secrets, mobile, and LLM red-team scanning, with reporting and advisory.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to carry out a compliant, non-destructive, auditable authorized security-testing workflow — project intake, scope reading, asset discovery, non-destructive verification, evidence collection, and report-draft generation with manual submission tracking — where every outbound action is gated by scope checks, one-time human confirmation tokens, rate limits, and append-only audit logging.MIT
- AlicenseNot gradedqualityAmaintenanceEnables professional penetration testers to run reconnaissance, network and web scanning, content fuzzing, vulnerability templates, brute-force checks, SQLi extraction, traffic capture, and engagement report generation through MCP clients.157 npmGPL 3.0