validate

validate is a command for Claude Code from adriannoes/awesome-agentic-ai. It costs 39 tokens per session (987 once invoked), scanned A, a copy of validate, MIT.

A command that checks whether a suspected security finding is real, reproducible, in scope, and worth reporting.

In plain words
What is it for?
It is for reviewing an endpoint, vulnerability type, proof of concept, target program, impact, access requirements, and scope before writing a report.
Why use it?
It helps remove weak or unsupported reports before submission, reducing the chance of reporting a harmless or excluded issue.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument.

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.

agentmods
npx agentmods add commands/adriannoes/awesome-agentic-ai/validate
Clone the repo
git clone --depth 1 https://github.com/adriannoes/awesome-agentic-ai

Made for: Claude Code.

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/adriannoes/awesome-agentic-ai/validate.svg)](https://agentmods.dev/commands/adriannoes/awesome-agentic-ai/validate)
Your own site
<a href="https://agentmods.dev/commands/adriannoes/awesome-agentic-ai/validate"><img src="https://agentmods.dev/badge/commands/adriannoes/awesome-agentic-ai/validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 987 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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.00039 $0.00987
Opus 5 $0.00019 $0.00494
Sonnet 5 $0.00008 $0.00197
Haiku 4.5 $0.00004 $0.00099

Measured 3d ago against content hash b4dd1a220925, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 3d 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

This is a copy

97% identical to validate — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cursor-claude-codex/skills/bug-hunter/commands/validate.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 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 · 134 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. 3d ago First seen · 134 lines · 0 tokens per session scan A b4dd1a220925

Subscribe to this mod's changes

validate is a command published in the GitHub repository adriannoes/awesome-agentic-ai (55 stars, last pushed 8d ago), licensed MIT. It adds 39 tokens to every session and 987 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to validate, differing in 1 line, and is treated as a copy.