validate

validate is a command for Claude Code from elementalsouls/Claude-BugHunter. It costs 41 tokens per session (991 once invoked), scanned A, original, MIT.

A command that checks a security finding against a set of questions and review gates before it is reported. A security finding is a suspected bug that could affect a program’s safety.

In plain words
What is it for?
Checking the endpoint, bug type, proof of concept, target program, access requirements, scope, and likely consequences of a reported security issue.
Why use it?
It filters out findings that cannot be reproduced, are out of scope, or do not show a meaningful impact.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the Claude-BugHunter plugin — 11 skills, 15 commands shipped together

Good fit Checking the endpoint, bug type, proof of concept, target program, access requirements, scope, and likely consequences of a reported security issue.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/elementalsouls/claude-bughunter/validate
About the project

Claude Code Spec Workflow is a set of Claude Code commands and agents that organizes software work into documented stages for new features and bug fixes. It is for developers who want Claude Code to handle requirements, design, implementation, issue resolution, and verification through repeatable workflows, with the catalogue entries providing the associated commands and agents.

elementalsouls/Claude-BugHunter · 4,874 stars · on GitHub · elementalsouls.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter

Made for: Claude Code.

Or install Claude-BugHunter, the plugin that ships this one along with the rest of its 11 skills, 15 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/elementalsouls/claude-bughunter/validate/github.svg)](https://agentmods.dev/commands/elementalsouls/claude-bughunter/validate)
Your own site
<a href="https://agentmods.dev/commands/elementalsouls/claude-bughunter/validate"><img src="https://agentmods.dev/badge/commands/elementalsouls/claude-bughunter/validate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for validate

Your own site · 80×15
<a href="https://agentmods.dev/commands/elementalsouls/claude-bughunter/validate"><img src="https://agentmods.dev/badge/commands/elementalsouls/claude-bughunter/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00991
Opus 5.5 $0.00016 $0.00396
Sonnet 5.5 $0.00008 $0.00198
Haiku 4.5 $0.00004 $0.00099

Measured 1mo ago against content hash 25e79666e957, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • validate — 100% identical, 0 lines differ
  • validate — 97% identical, 1 lines differ
  • validate — 97% identical, 1 lines differ
commands/validate.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/validate

Run full validation on the current finding before writing a report.

What This Does

  1. Runs 7-Question Gate (one wrong answer = kill it)
  2. Checks against the always-rejected list
  3. Runs 4 pre-submission gates
  4. Outputs: PASS (write the report) or KILL (move on)

Usage

/validate

Describe the finding when prompted. Include:

  • The endpoint
  • The bug class
  • What the PoC shows
  • The target program

The 7-Question Gate

Answer each. ONE wrong answer = STOP.

Q1: Can I demonstrate this step-by-step RIGHT NOW?

Write this out:

1. Setup:   I need [own account / another user's ID / no account]
2. Request: [exact HTTP method, URL, headers, body]
3. Result:  Response shows [exact data / action completed]
4. Impact:  Real consequence is [account takeover / PII exposed / money stolen]
5. Cost:    Time: [X min], Capital: [$0 / $X]

If step 2 is "I need to look at the code more" → KILL IT.

Q2: Is the impact accepted by this program?

Check program scope page. Is your bug class listed? Is it excluded?

Q3: Is the vulnerable asset in scope?

Exact domain in scope? Not staging/dev? Not a third-party service?

Q4: Does it need admin or privileged access that an attacker can't get?

"Admin can do X" → KILL IT. "Regular user can do X that only admin should" → valid.

Q5: Is this known or documented behavior?

Search disclosed reports + changelog + API docs.

Q6: Can you prove impact beyond "technically possible"?

  • XSS → actual cookie value in exfil request, not just alert()
  • SSRF → response body from internal service, not just DNS callback
  • IDOR → actual other-user's private data in response, not just 200 status

Q7: Is this on the never-submit list?

Missing headers, GraphQL introspection alone, clickjacking without PoC,
self-XSS, open redirect alone, SSRF DNS-only, logout CSRF, banner disclosure,
rate limit on non-critical forms, missing cookie flags alone...

If yes → KILL IT unless you have a chain.

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 135 lines · 0 tokens per session scan A 25e79666e957

Subscribe to this mod's changes

validate is a command published in the GitHub repository elementalsouls/Claude-BugHunter (4,874 stars, last pushed 6d ago), licensed MIT. It adds 41 tokens to every session and 991 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories

web3-audit

Smart contract security audit — runs through 10 bug class checklist (accounting desync, access control, incomplete path, off-by-one, oracle errors, ERC4626, reentrancy, flash loan, signature replay, proxy/upgrade). Applies pre-dive kill signals first. Generates Foundry PoC template for confirmed findings. Usage…

Awarexone/Agentic-Bug-Hunter · 0 tokens

bypass-403

Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF fingerprint, vendor-specific). Wraps byp4xx when installed; otherwise runs a built-in matrix of 38+ techniques. Usage: /bypass-403 | /bypass-403 -l.

Awarexone/Agentic-Bug-Hunter · 0 tokens

spray

Password spray with hard guards — typed-hostname confirmation, lockout warning, audit log. Modes: http-form (custom login page), oauth (password grant), o365 + okta (via TREVORspray). Default delay 30min/round + 60s jitter. Usage /spray --mode --users --passes.

Awarexone/Agentic-Bug-Hunter · 0 tokens

autopilot

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable checkpoints. Usage: /autopilot target.com [--paranoid|--normal|--yolo].

Awarexone/Agentic-Bug-Hunter · 0 tokens

breach-check

HIBP k-anonymity check on a password wordlist. Enriches each password with its breach count, ranks DESC. Free API (no key), only first 5 chars of SHA-1 sent. Output -> -ranked.txt. Usage /breach-check [--min-count N] [--max-count N] [--with-counts].

Awarexone/Agentic-Bug-Hunter · 79 tokens

recon

Run the full recon pipeline by invoking tools/reconengine.sh — subdomain enum (subfinder + amass + crt.sh + wayback), httpx live host probing with tech detection, nmap port scan, gau URL collection, JS analysis, ffuf directory fuzzing, parameter discovery, config exposure check, CI/CD workflow scan. Outputs to recon/…

Awarexone/Agentic-Bug-Hunter · 0 tokens