p6-pentest-recon

p6-pentest-recon is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (836 once invoked), scanned A, original, MIT.

A reconnaissance security check that gathers publicly visible details about a system, including its technologies, exposed endpoints, administrative areas, and leftover debugging information. Reconnaissance means mapping what an attacker could discover before trying to break in.

In plain words
What is it for?
Use it to fingerprint the technology stack, list exposed endpoints, find debug remnants, and map the attack surface of your own system.
Why use it?
It shows which parts of a deployed system are visible from the outside and where unnecessary information may be revealed.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to fingerprint the technology stack, list exposed endpoints, find debug remnants, and map the attack surface of your own system.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jonase47/ccpr/p6-pentest-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/jonase47/ccpr

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 p6-pentest-recon

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p6-pentest-recon/github.svg)](https://agentmods.dev/commands/jonase47/ccpr/p6-pentest-recon)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p6-pentest-recon"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p6-pentest-recon/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 p6-pentest-recon

Your own site · 80×15
<a href="https://agentmods.dev/commands/jonase47/ccpr/p6-pentest-recon"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p6-pentest-recon.svg" alt="Reviewed on agentmods" width="80" 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 836 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.00000 $0.00836
Opus 5.5 $0.00000 $0.00334
Sonnet 5.5 $0.00000 $0.00167
Haiku 4.5 $0.00000 $0.00084

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

Security

Grade A, and why

p6-pentest-recon 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 2mo 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.

commands/p6-pentest-recon.md · 89 lines

How it starts

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

/p6-pentest-recon – Reconnaissance

Collects publicly available information: tech fingerprinting, exposed endpoints, debug remnants.

Argument: $ARGUMENTS = [target URL/system]

If provided: Focus recon on the specified target. If not provided: Ask about the pentest scope.

Prerequisites

  • System deployed or running locally
  • ARCHITECTURE.md present

Agent

  • Type: pentester
  • Model: sonnet

Context (Orchestrator prepares)

Orchestrator reads in advance and delivers inline:

  • From ARCHITECTURE.md: System components, technologies
  • From SECURITY.md: Known threats from the threat model
  • From SECURITY_AUDIT_REPORT.md: Audit findings as starting points (if present)

Prompt Template

Goal: Reconnaissance for: [target/system]

Known Architecture: [inline from ARCHITECTURE.md]

Output Format:

# Information Type Found Risk Note

Categories: Tech Stack, Exposed Endpoints, Admin Areas, Debug Info, Error Leaks Max. 15 findings

Constraints:

  • Reconnaissance ONLY – no active attacks
  • Only against own system
  • Gather information, do not exploit

Orchestrator Checkpoint

  • Recon covers all attack surfaces?
  • Found information usable as basis for further pentest phases?

Write Detail File

Write the result to docs/quality/pentest_recon.md (overwrite). Frontmatter:

---
phase: P6
subskill: pentest-recon
status: active
last_updated: <DD.MM.YYYY>
---

Body sections: ## Scope, ## Findings (recon results table), ## Notable Disclosures.

Update Sub-Index

Update docs/quality/PENTEST.md (the pentest sub-index, created by /p6-pentest if missing):

  • Set **Last Updated:** <DD.MM.YYYY>.
  • In its Detail Files table: ensure a row for [pentest_recon.md](pentest_recon.md) with status complete.
  • Lift any sensitive disclosure (exposed admin endpoints, leaked metadata, etc.) into Open Risks of the sub-index.
  • Do not edit QA.md directly.

Handover Epilogue

Before writing. docs/HANDOVER.md is capped — the file states its own limit in its header (default: ≤5 KB / ~150 lines). Two rules follow from that, and neither is optional:

  • Replace this command's previous epilogue block, do not append a second one. Stacking is what pushes the file over; one command run has been measured adding 1021 B, ~20 % of the cap.
  • If the file is already near its cap, shorten before you add. Reading the cap sentence is not the same as measuring: check the actual size, and when there is no room, condense existing content or hand the user /cleanup instead of growing the file further.

Read the full file on GitHub · 89 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. 2mo ago Changed e53df510b9a0
  2. 2mo ago First seen · 89 lines · 0 tokens per session scan A e53ecbaba944

Subscribe to this mod's changes

p6-pentest-recon is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 836 tokens. 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-09-03.

Related

p6-pentest-recon compared with commands from other repositories

p6-pentest-recon next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
p6-pentest-reconjonase47/ccprCommand12mo agoMITA0Claude Code
statsAR6420/Hail_HydraCommand5229d agoMITA29Claude Code
mapAR6420/Hail_HydraCommand5229d agoMITA11Claude Code
design-intentjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA16Claude Code
ralphjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA10Claude Code
debugjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA48Claude Code
double-checkjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA50Claude Code