Skip to main content
Glama

Keel

스캐너 노이즈를 헌터급 비파괴 증명으로 바꾸는 MCP 컨트롤 플레인

Python License MCP PyPI Registry Version

열세 개의 MCP 도구. 의미 기반 중복 제거. 호스트별 속도 제한. 헌터가 무엇을 할 수 있는지 보여주는 안전한 증명 — 대상에 피해를 주지 않으면서.

왜 Keel인가 · 설치 · 클라이언트 · 증명 · 도구


에이전트에 150개의 도구를 던지는 것은 쉽습니다. 진짜 어려운 문제는 도구 간 중복 제거, 실제 악용 가능 여부 vs 노이즈, 그리고 대상을 두드리지 않는 것입니다. Keel은 이 세 가지를 위한 컨트롤 플레인입니다.

AI 클라이언트는 httpx, nuclei, 또는 셸이 아니라 Keel과 대화합니다. Keel은 한 번에 하나의 웨이브를 설계하고, 범위와 속도 제한을 적용하며, 스캐너 히트를 의미 기반 카드로 병합하고, 테스터 소유 데이터에 대해 GET 전용 플레이북을 실행합니다. 플레이북이 proven을 반환하면 헌터가 따라 할 수 있는 curl 재현 명령을 얻습니다 — 여전히 쓰기, 셸, 페이로드 스팸 없이.

테스트 권한이 있는 프로그램에만 사용하세요.

왜 Keel인가

어려운 문제

스캐너 덤프가 하는 일

Keel이 하는 일

도구 간 중복 제거

행마다 Nuclei 템플릿 ID 하나; 동일한 IDOR이 다섯 번 나타남

취약점 클래스 + 정규화된 경로 + 메서드 + 파라미터에서 의미 키 생성. UUID/id/hex 토큰은 축소됨. 호환 가능한 관측값은 병합됨.

악용 가능 vs 노이즈

높은 심각도 = "바로 적용"

카드는 observed → hypothesis → corroborated → proven / refuted 단계를 거침. 정보성 및 강화 항목은 숨겨짐. 유형화된 악용 가능성은 누락된 증거와 음성 대조군을 명명함.

대상을 두드리지 않기

모든 템플릿을 한 번에 발사, 429에서 재시도

호스트당 활성 웨이브 하나, 토큰 버킷, 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]
  1. 테스트 권한이 있는 호스트 이름으로 begin_engagement을 시작합니다.

  2. draft_waves가 도달 가능성과 템플릿 마이크로 웨이브를 제안합니다. 아직 트래픽은 없습니다.

  3. execute_wave가 즉시 작업을 반환합니다. wave_status로 폴링합니다. cancel_wave가 스캐너를 중단합니다.

  4. query_cards가 헌터 관련 카드를 반환합니다. assess_exploitability가 무엇이 증명이 될지 말해줍니다.

  5. 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 doctor

python3.12이 이미 머신에 있고 Homebrew pipx를 원하지 않는다면:

python3.12 -m pip install --user pipx
python3.12 -m pipx ensurepath
python3.12 -m pipx install keel-pentest

setup은 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-pentest

OpenCode: "command": ["keel-pentest"].

Python 3.10+. pip install keel은 하지 마세요 — 그것은 다른 프로젝트입니다. OS 참고 사항 및 pip/venv: INSTALL.md. 클라이언트 형태: clients/README.md.

선택 사항(나중에): 팀 매니페스트로 범위, 템플릿 ID, 증명 대상을 고정하는 KEEL_APPROVAL_FILE. 기본 모드는 자기 증명(self-attested)입니다 — begin_engagement이 인가입니다. 속도 제한, 호스트당 웨이브 하나, 서명된 템플릿, 정화된 증거는 여전히 적용됩니다.

여전히 영향력을 증명하는 안전한 증명

스캐너 출력은 가설입니다. Keel은 일회용 테스터 계정과 고유 카나리로 그것을 증명(또는 반증)합니다. 모든 플레이북은 GET 전용, 예산 제한, curl 재현 명령 반환입니다. 재현 명령이 보고서 산출물입니다: 이것이 수정되지 않으면, 일반 계정을 가진 헌터가 이것을 할 수 있습니다.

플레이북

증명하는 것

피해 없이 증명하는 방법

cross_account_read

IDOR / BOLA

테스터 A가 자신의 카나리를 읽음; 테스터 B가 동일한 A 소유 URL에 GET 요청. 동일한 카나리 + 2xx = proven. 401/403/404 또는 카나리 없는 2xx = protected (반증됨).

reflected_marker

반사형 XSS / HTML 인젝션

고유 마커와 무해한 <keel> 프로브를 주입. 이스케이프되지 않은 반사 = proven. HTML 인코딩된 반사 = protected. 대조군 GET에는 프로브가 이미 포함되어 있지 않아야 함.

open_redirect_canary

오픈 리다이렉트

리다이렉트 파라미터를 https://keel-proof.invalid/<marker>로 지정. Location 호스트가 그 카나리인 3xx = proven.

unauth_access_probe

인증 부재

테스터 A 기준선에 카나리가 표시되어야 함; 자격 증명 없는 동일 URL에는 표시되지 않아야 함. 인증 없는 2xx + 카나리 = proven.

own_session_marker

도달 가능성만

A가 자신의 카나리를 읽음. 이것은 corroborated이며, 취약점 증명이 절대 아님.

execute_proof는 상태 코드, 카나리 불리언, 잘림 플래그, 해시, 헌터 영향 텍스트, 재현 스크립트를 저장합니다. 응답 본문이나 비밀은 영속화하지 않습니다.

cross_account_read / unauth_access_probe 전에 테스터 소유 객체에 비밀 아닌 카나리를 심으세요. 반사형 XSS와 오픈 리다이렉트는 마커를 스스로 주입합니다.

MCP 도구

도구

역할

begin_engagement

범위와 트래픽 상한 등록

draft_waves

도달 가능성 + 템플릿 마이크로 웨이브 제안; 트래픽 없음

execute_wave

백그라운드 작업 하나 대기열에 추가

wave_status

단계, 진행률, 결과; job_id 생략 시 목록 표시

cancel_wave

대기 중이거나 실행 중인 스캐너 중지

query_cards

우선순위가 매겨진 의미 카드

second_look

원래 Nuclei 템플릿만 재실행

assess_exploitability

후보 영향, 누락된 증거, 음성 대조군, 플레이북

state_impact

헌터 가설 기록

draft_proof

허용 목록 증명 계획; 트래픽 없음

execute_proof

GET 전용 플레이북 실행

engagement_health

쿨다운, 예산, 대기 중인 웨이브

engagement_audit

추가 전용 애플리케이션 이벤트

begin_engagement에는 engagement_id와 scope_hosts(일반 호스트 이름, 예: target.example)가 필요합니다. 기본값: 3 req/s, 한 번에 호스트 하나, 웨이브당 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.

트래픽 제어

  • 초안, 승인, 수집, 증명 시 정확한 범위 및 제외

  • 호스트당 웨이브 하나; 동일 호스트 작업은 대기

  • 공유 전역 및 호스트별 토큰 버킷

  • 지속적 요청 예약; 재시도는 새 예약을 소비

  • 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에 매핑해야 합니다.

keel MCP server

라이선스

MIT. Copyright (c) 2026 Lutfi Z.P.

PyPI: keel-pentest. MCP 레지스트리: io.github.lutfizp/keel. 소스: github.com/lutfizp/keel.

keel MCP server

Available Tools

9 tools
begin_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

    C2.9/5.0

    Scored across 9 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for authorized bug bounty work that enforces an evidence-driven workflow with session management, preflight checks, surface discovery, and verified scanning.
      12
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables authorized bug bounty automation via a scope-enforced MCP bridge, supporting web, secrets, mobile, and LLM red-team scanning, with reporting and advisory.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      GPL 3.0