Skip to main content
Glama

nuclei-mcp

HackerOne 범위 스냅샷에 없는 것은 스캔하지 않는 범위 제한형 Nuclei MCP 서버입니다. h1-scope-watcher와 함께 사용하도록 설계되었습니다.


아키텍처

Copilot/Claude (AI agent)
    │
    │  MCP (stdio)
    ▼
nuclei-mcp container
    │  reads scope
    ├──────────────────► /data/snapshots/*.json  ◄─── h1-scope-watcher writes here
    │  runs scan
    └──────────────────► nuclei binary (built-in)

두 컨테이너는 볼륨으로 마운트된 동일한 호스트 디렉토리를 공유합니다. h1-scope-watcher는 JSON 파일을 최신 상태로 유지하고, nuclei-mcp는 이를 읽기만 합니다.


Related MCP server: shodan-mcp

범위 게이트(Scope Gate) — 작동 방식

nuclei_scan 또는 check_scope에 대한 모든 호출은 네트워크에 접근하기 전에 다음 로직을 실행합니다:

  1. /data/snapshots에서 모든 *.json 파일을 로드합니다.

  2. 정확한 호스트 이름 일치를 시도합니다 (예: api.life360.comapi.life360.com과 일치)

  3. 와일드카드 일치를 시도합니다 (예: sub.tile.com*.tile.com과 일치)

  4. 퍼지 키워드 일치를 시도합니다 (예: life360api.life360.com, api-cloudfront.life360.com 등을 찾음)

  5. eligible_for_bounty == true AND eligible_for_submission == true인지 확인합니다.

  6. 확인에 실패하면 차단합니다 — 예외나 무시 기능은 없습니다.


빠른 시작

1. 이미지 빌드

cd nuclei-mcp
docker build -t nuclei-mcp .

2. Claude/Copilot MCP 설정에 추가

claude_desktop_config.json(또는 이에 상응하는 파일) 및 mcp-config.json(copilot)을 열고 다음을 추가합니다:

{
  "mcpServers": {
    "h1-scope-watcher": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "D:/projects/H1-Scope-Watcher/snapshots:/data/snapshots",
        "-e", "SNAPSHOTS_DIR=/data/snapshots",
        "mcp/h1-scope"
      ]
    },
    "nuclei-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "D:/projects/H1-Scope-Watcher/snapshots:/data/snapshots",
        "-e", "SNAPSHOTS_DIR=/data/snapshots",
        "nuclei-mcp"
      ]
    }
  }
}

핵심 포인트: 두 컨테이너 모두 정확히 동일한 호스트 경로(D:/projects/H1-Scope-Watcher/snapshots)를 마운트하므로 추가적인 네트워킹이나 IPC 없이 범위 데이터를 공유합니다.

H1-Scope-Watcher

MCP 도구

nuclei_scan

Nuclei 스캔을 실행합니다(범위 제한 적용).

매개변수

타입

기본값

설명

target

string

도메인, URL 또는 퍼지 이름 (예: "life360")

templates

string

""

쉼표로 구분된 템플릿 경로 / 태그

severity

string

""

"critical,high" 등 (비어 있으면 전체)

rate_limit

int

150

초당 요청 수

extra_flags

string

""

추가적인 원시 nuclei 플래그

예시 프롬프트:

  • "Run nuclei on life360"

  • "Scan api.tile.com for critical and high findings"

  • "Run nuclei on production.tile-api.com with cve templates only"

check_scope

스캔 없이 범위 게이트 결과를 미리 확인합니다.

매개변수

타입

설명

target

string

도메인, URL 또는 퍼지 이름

예시 프롬프트:

  • "Is tile.com in scope?"

  • "Check if snipeit.corp.tile.com is bounty eligible" → BLOCKED(차단됨) 표시

list_programs

모든 스냅샷 파일의 자산을 자격 요건별로 그룹화하여 표시합니다.


환경 변수

변수

기본값

설명

SNAPSHOTS_DIR

/data/snapshots

H1 범위 JSON 파일 경로

NUCLEI_BIN

nuclei

Nuclei 바이너리 경로

SCAN_TIMEOUT_SECONDS

300

스캔당 타임아웃


범위 동작 참조

tile.com 프로그램 예시:

자산

타입

바운티

스캔 허용 여부?

tile.com

URL

✅ 예

thetileapp.com

URL

✅ 예

production.tile-api.com

URL

✅ 예

*.tile.com

WILDCARD

⛔ 차단됨

snipeit.corp.tile.com

URL

⛔ 차단됨

ci-android.tile.com

URL

⛔ 차단됨


법적 고지

본인이 소유하거나 명시적인 서면 허가를 받은 대상만 스캔하십시오. 이 도구는 어떠한 권한도 부여하지 않으며, 귀하의 HackerOne 프로그램 계약서가 곧 권한 부여 문서입니다.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive MCP server for automated bug bounty hunting and security reconnaissance, featuring over 28 specialized tools for subdomain discovery, vulnerability scanning, and traffic analysis. It integrates automated scope validation and professional reporting across multiple platforms like HackerOne and Bugcrowd to streamline security testing.
    5
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    A local Python MCP server for safe, human-led bug bounty recon, providing lightweight helpers for scope checks, headers, robots.txt, sitemap.xml, JavaScript URL collection, endpoint extraction, URL deduplication, evidence notes, and manual test planning.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A scope-aware bug-bounty & reconnaissance MCP server that works out of the box on the Python standard library and augments itself with your favourite CLI tools when they're present.
    22
    MIT