recon

recon is a command for Claude Code from ByamB4/find-cve-agent. It costs 40 tokens per session (793 once invoked), scanned A, original, Apache-2.0.

A command for finding candidate software packages in a chosen category for security research. CVE hunting means looking for publicly reportable security flaws, and package registries are services that list reusable software libraries.

In plain words
What is it for?
Use it to search npm and GitHub, filter projects by stars, recent activity, registry status, and CVE count, then evaluate the strongest candidates.
Why use it?
It narrows a broad package category to projects that meet stated activity, popularity, and existing-advisory filters before deeper review.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the find-cve-agent plugin — 21 skills, 7 commands, 5 agents shipped together

Good fit Use it to search npm and GitHub, filter projects by stars, recent activity, registry status, and CVE count, then evaluate the strongest candidates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/byamb4/find-cve-agent/recon
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/ByamB4/find-cve-agent

Made for: Claude Code.

Or install find-cve-agent, the plugin that ships this one along with the rest of its 21 skills, 7 commands, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/byamb4/find-cve-agent/recon.svg)](https://agentmods.dev/commands/byamb4/find-cve-agent/recon)
Your own site
<a href="https://agentmods.dev/commands/byamb4/find-cve-agent/recon"><img src="https://agentmods.dev/badge/commands/byamb4/find-cve-agent/recon.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 793 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.00040 $0.00793
Opus 5 $0.00020 $0.00396
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00079

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

Security

Grade A, and why

recon 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 8d 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://api.npmjs.org/downloads/point/last-week/<package>"
commands/recon.md · 99 lines

How it starts

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

/recon

Find promising targets in a specific package category for CVE hunting.

Process

Step 1: Search Package Registries

Based on the category argument, search for relevant packages:

# npm search
npm search "$ARGUMENTS" --long 2>/dev/null | head -20

# GitHub search (adjust language and keywords per category)
gh search repos "$ARGUMENTS" --language javascript --stars 500..15000 --sort stars --limit 20
gh search repos "$ARGUMENTS" --language python --stars 500..15000 --sort stars --limit 20
gh search repos "$ARGUMENTS" --language go --stars 500..15000 --sort stars --limit 20

Step 2: Filter Candidates

For each result, quickly evaluate:

  1. Stars: 500-15K? (skip if outside range)
  2. Last commit: within 6 months? (skip if abandoned)
  3. Already in REGISTRY.md? (skip if yes)
  4. More than 10 existing CVEs? (skip if over-audited)

Step 3: Deep Evaluation (Top 5)

For the top 5 candidates, gather detailed info:

# Download counts
curl -s "https://api.npmjs.org/downloads/point/last-week/<package>"

# Repo details
gh repo view <owner>/<repo> --json stargazerCount,pushedAt,description,licenseInfo

# Security advisories count
gh api "repos/<owner>/<repo>/security-advisories" 2>/dev/null | python3 -c "import sys,json; data=json.load(sys.stdin); print(len(data))" 2>/dev/null || echo "0"

Step 4: Rank and Present

Present candidates to the Director ranked by promise:

RECON RESULTS: <category>

#1. <package-name>
    Stars: <count> | Downloads: <count>/week | Language: <lang>
    Attack surface: <brief>
    Existing CVEs: <count>
    Top vector: <most promising>
    Rating: HIGH / MEDIUM / LOW

#2. <package-name>
    ...

#3. <package-name>
    ...

Step 5: Propose Top Pick

Recommend the best candidate to the Director:

Proposed target: <package-name>
Reason: <why this is the best candidate>
Approve? (I'll create the full brief on approval)

Category Keywords

Category Argument Search Terms
csv-parsers csv parse, csv parser, csv reader
xml-parsers xml parse, sax parser, xml reader
template-engines template engine, mustache, handlebars, nunjucks
archive-libs zip extract, tar extract, archive, decompress
validators validate, schema validator, json schema
file-handlers file upload, multipart, file process
serializers serialize, deep clone, deep merge, marshal
url-parsers url parse, uri, query string
image-libs image process, sharp, jimp, image resize
pdf-libs pdf parse, pdf generate, pdf reader
markdown markdown parse, markdown render, markdown-it
yaml yaml parse, yaml load
auth-libs jwt, oauth, session, authentication
crypto encrypt, decrypt, hash, cipher
cli-tools cli, command line, terminal, exec

Read the full file on GitHub · 99 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. 8d ago First seen · 99 lines · 40 tokens per session scan A a3ccc7ab4ba4

Subscribe to this mod's changes

recon is a command published in the GitHub repository ByamB4/find-cve-agent (48 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 793 once invoked, about $0.0002 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-30.