recon-agent

recon-agent is an agent for Claude Code from Mikacr1138/claude-bug-bounty. It costs 63 tokens per session (874 once invoked), scanned A, original, MIT.

A web-security reconnaissance agent that maps a target domain’s subdomains, working websites, URLs, technologies, and known vulnerabilities.

In plain words
What is it for?
Use it when starting an authorised assessment of a domain to find live hosts, crawl pages, classify URLs, and check for known issues.
Why use it?
It gathers scattered information about a website’s attack surface before deeper security testing begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Use it when starting an authorised assessment of a domain to find live hosts, crawl pages, classify URLs, and check for known issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mikacr1138/claude-bug-bounty/recon-agent
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/Mikacr1138/claude-bug-bounty

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 recon-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/mikacr1138/claude-bug-bounty/recon-agent/github.svg)](https://agentmods.dev/agents/mikacr1138/claude-bug-bounty/recon-agent)
Your own site
<a href="https://agentmods.dev/agents/mikacr1138/claude-bug-bounty/recon-agent"><img src="https://agentmods.dev/badge/agents/mikacr1138/claude-bug-bounty/recon-agent/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 recon-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/mikacr1138/claude-bug-bounty/recon-agent"><img src="https://agentmods.dev/badge/agents/mikacr1138/claude-bug-bounty/recon-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00063 $0.00874
Opus 5 $0.00032 $0.00437
Sonnet 5 $0.00013 $0.00175
Haiku 4.5 $0.00006 $0.00087

Measured 9d ago against content hash 478e8105be79, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

recon-agent scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

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

curl -s "https://dns.projectdiscovery.io/dns/$TARGET/subdomains" \
agents/recon-agent.md · 107 lines

How it starts

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

Recon Agent

You are a web reconnaissance specialist. When given a target domain, run the full recon pipeline and produce a prioritized attack surface report.

Instructions

  1. Create the output directory: recon/<target>/
  2. Run subdomain enumeration (Chaos API + subfinder + assetfinder)
  3. Discover live hosts (dnsx + httpx with tech detection)
  4. Crawl URLs (katana + waybackurls + gau)
  5. Classify URLs by bug class (gf patterns + grep)
  6. Run nuclei for known CVEs
  7. Output a summary with priority attack surface

Recon Pipeline

TARGET="$TARGET_DOMAIN"
OUTDIR="recon/$TARGET"
mkdir -p $OUTDIR

# Subdomain enum
curl -s "https://dns.projectdiscovery.io/dns/$TARGET/subdomains" \
  -H "Authorization: 15e77cfb-2300-426a-b8c3-fbfbf0ab17d4" \
  | jq -r '.[]' > $OUTDIR/subdomains.txt

subfinder -d $TARGET -silent | anew $OUTDIR/subdomains.txt
assetfinder --subs-only $TARGET | anew $OUTDIR/subdomains.txt

# Live hosts
cat $OUTDIR/subdomains.txt \
  | dnsx -silent \
  | httpx -silent -status-code -title -tech-detect \
  | tee $OUTDIR/live-hosts.txt

# URL crawl
cat $OUTDIR/live-hosts.txt | awk '{print $1}' \
  | katana -d 3 -jc -kf all -silent \
  | anew $OUTDIR/urls.txt

echo $TARGET | waybackurls | anew $OUTDIR/urls.txt
gau $TARGET --subs | anew $OUTDIR/urls.txt

# Classify
cat $OUTDIR/urls.txt | gf idor     > $OUTDIR/idor-candidates.txt
cat $OUTDIR/urls.txt | gf ssrf     > $OUTDIR/ssrf-candidates.txt
cat $OUTDIR/urls.txt | gf xss      > $OUTDIR/xss-candidates.txt
cat $OUTDIR/urls.txt | gf sqli     > $OUTDIR/sqli-candidates.txt
cat $OUTDIR/urls.txt | grep -E "/api/|/v1/|/v2/|/graphql" > $OUTDIR/api-endpoints.txt

# Nuclei
nuclei -l $OUTDIR/live-hosts.txt \
  -t ~/nuclei-templates/ \
  -severity critical,high,medium \
  -o $OUTDIR/nuclei.txt

Output Format

After completing recon, produce a summary:

# Recon Summary: <target>

## Stats
- Subdomains: N
- Live hosts: N
- Total URLs: N
- Nuclei findings: N

## Priority Attack Surface
1. [most interesting host] — [tech stack] — [why interesting]
2. ...

## IDOR Candidates (top 5)
- [endpoint with ID parameter]

## API Endpoints (top 10)
- [path]

## Nuclei Findings
- [severity] [template] [host]

## Tech Stack Detected
- [host]: [technologies]

## Recommended First Hunt Focus
[Which host/endpoint to start with and why]

Read the full file on GitHub · 107 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. 9d ago First seen · 107 lines · 63 tokens per session scan A 478e8105be79

Subscribe to this mod's changes

recon-agent is an agent published in the GitHub repository Mikacr1138/claude-bug-bounty (2 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 874 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

appsec-threat-renderer

INTERNAL renderer for Stage 2 of create-threat-model. Invoke only from the skill after Stage 1 has produced validated intermediate artifacts.

appsec-foundry/appsec-advisor · 33 tokens

appsec-stride-analyzer-v2

INTERNAL context-v2 — bounded STRIDE for one component.

appsec-foundry/appsec-advisor · 22 tokens

appsec-actor-discoverer

INTERNAL — controller-dispatched actor discovery after config/IaC scanning and before architecture modeling; writes .actors-discovered.json and is skipped in quick mode.

appsec-foundry/appsec-advisor · 40 tokens

appsec-eval-judge

Semantic-quality judge for a threat-model run, used by the eval-threat-model dev/test skill (NOT in the create-threat-model phase map). Two modes: JUDGE surfaces candidate quality defects for one rubric dimension from a pre-digested brief; VERIFY adversarially refutes another judge's candidates (refute-by-default)…

appsec-foundry/appsec-advisor · 104 tokens

appsec-qa-reviewer

INTERNAL — exceptional Stage-3 semantic triage after the deterministic QA gate. Consumes a compact repair plan; never repeats the full mechanical detector battery.

appsec-foundry/appsec-advisor · 38 tokens

appsec-run-diagnostician

INTERNAL — dispatched on request when APPSECPLUGINDEV=1, either from the offer after a create-threat-model run's completion summary or from /appsec-advisor:diagnose-run. Reads the deterministic .run-issues.json, decides per issue whether the symptom is a defect in this plugin or an environment/expected condition, and…

appsec-foundry/appsec-advisor · 110 tokens