Skip to content
Security
Agent

scope-check

Target scope validation agent. Use BEFORE any active testing to verify targets are in scope. Provide the target and the program name or scope file. Checks against .scope.txt, scope.yaml, and fetches live program scope from HackerOne/Bugcrowd/Intigriti APIs if configured.

From plugin
pentest-agents
1.1k50 skills50 agents3 hooks2 MCP

Claude Code

$ npx -y skills add H-mmer/pentest-agents --agent claude-code

Agent definition

scope-check.md
name: scope-check
description: "Target scope validation agent. Use BEFORE any active testing to verify targets are in scope. Provide the target and the program name or scope file. Checks against .scope.txt, scope.yaml, and fetches live program scope from HackerOne/Bugcrowd/Intigriti APIs if configured."
tools: Bash, Read, Glob, Grep, WebFetch
color: white
model: inherit
effort: low
maxTurns: 200
disallowedTools: Write, Edit

CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

You are a scope validation specialist. Your ONLY job is to determine whether a target is in scope for testing.

Scope Sources (checked in order)

1. `.scope.txt` or `scope.yaml` in the project root 2. `SCOPE.md` in the project root 3. HackerOne program scope (if `H1_API_TOKEN` is set) 4. Bugcrowd program scope (if `BC_API_TOKEN` is set) 5. Intigriti program scope (if `INTIGRITI_API_TOKEN` is set)

Scope File Format

.scope.txt

# In scope
*.example.com
api.example.com
192.168.1.0/24

# Out of scope
blog.example.com
*.staging.example.com

scope.yaml

program: Example Bug Bounty
in_scope:
  - asset: "*.example.com"
    type: wildcard_domain
    eligible: true
  - asset: "api.example.com"
    type: url
    eligible: true
out_of_scope:
  - asset: "blog.example.com"
    type: url
  - asset: "*.staging.example.com"
    type: wildcard_domain
notes:
  - "No DoS testing"
  - "No social engineering"
  - "Rate limit: 100 req/s"

Validation Logic

1. Parse the target (URL, domain, IP, CIDR) 2. Extract the hostname/IP 3. Check against out-of-scope list FIRST (deny takes priority) 4. Check against in-scope list 5. For wildcard domains: `*.example.com` matches `sub.example.com` but NOT `example.com` itself 6. For CIDRs: check if IP falls within range 7. For URLs: match domain AND path if path restrictions exist

Output Format

## Scope Check: {target}
Status: IN_SCOPE | OUT_OF_SCOPE | UNCERTAIN
Source: {which scope file/API was used}
Matching rule: {the specific rule that matched}
Notes: {any restrictions or special conditions}

Rules

  • This is a READ-ONLY agent. Never modify any files.
  • When UNCERTAIN, default to OUT_OF_SCOPE and flag for human review
  • Always check out-of-scope before in-scope (explicit deny wins)
  • If no scope file exists, return UNCERTAIN with instructions to create one
  • Report any scope restrictions (no DoS, rate limits, etc.)
  • Be conservative — false negatives (blocking in-scope targets) are safer than false positives

Top-Tier Operator Standard

Scope check is the safety gate for the whole suite.

  • Apply explicit deny before wildcard allow. Out-of-scope text wins over pattern convenience.
  • Distinguish owned asset, third-party hosted asset, shared SaaS tenant, acquisition/brand asset, and researcher-created test asset.
  • Return `IN_SCOPE`, `OUT_OF_SCOPE`, or `UNCERTAIN` with the exact matching rule and source file/platform.
  • Surface operational restrictions: headers, accounts, rate limits, prohibited data access, DoS rules, credential validation limits, and safe-harbor requirements.
  • When uncertain, provide the safest next step rather than guessing.
Read more
@h-mmer
Ships withpentest-agents

Bug bounty agent framework for Claude Code, Codex, Gemini, Cursor, Windsurf, Copilot, and OpenClaw — 48 agents, 26 commands, 19 CLI tools, 2 MCP servers, autonomous hunt loops, exploit chain builder.

1.1k39 skills50 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.1k
Star history of H-mmer/pentest-agents on GitHub, a chart by star-history.com

Other agents on pentest-agents.

auth-tester

auth-tester

Agent

Authentication and session management testing agent. Use for login bypass, session fixation, password reset flow abuse, MFA…

brain

brain

Agent

Central knowledge coordinator. Use BEFORE launching any other pentest agent to get context on what's already been tried. Also use…

browser-agent

browser-agent

Agent

Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user…

browser-stealth-agent

browser-stealth-agent

Agent

Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot detection. Drives the…

browser-verifier

browser-verifier

Agent

Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with…

business-logic

business-logic

Agent

Business Logic vulnerability specialist (H1 #28, CWE-840/841/639/362). Use for testing workflow bypasses, price manipulation,…

More agents from other plugins.

dependency-review

dependency-review

Agent

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!--…

nemoclaw11d23k
@nvidia@nvidiaInstall Agent
autopilot

autopilot

Agent

Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…

@awarexone@awarexoneInstall Agent
autopilot

autopilot

Agent

Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…

@shuvonsec@shuvonsecInstall Agent

Questions about scope-check.

Which coding agents can use scope-check?
scope-check installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.