How uphiago/recon-skills works
Purpose and Consumption Model
This is a versioned, documentation-first security assessment skill pack, not an application service. Operators or automation load focused SKILL.md playbooks based on discovered target signals; commands generally persist artifacts under OUTPUT_DIR. Repository orientation and operating constraints are defined in README.md, AGENTS.md, and STYLE.md.
Entry Points and Orchestration
Broad assessments begin with planning and surface discovery, then branch into targeted validation:
• End-to-end recon gates: meta/recon-playbook/SKILL.md
• Broad web and bounty workflows: redteam/web2-recon/SKILL.md, redteam/bb-methodology/SKILL.md
• Asset discovery: recon/subdomain-enumeration/SKILL.md, recon/web-enumeration/SKILL.md
• Cross-skill sequencing is guidance rather than executable orchestration.
Discovery and Recon Stage
recon/ contains modular collection and classification playbooks for DNS/subdomains, ports/services, HTTP routes, technology fingerprints, JS, exposed source, and cloud-facing surfaces. These modules consume target scope and prior artifacts, then produce signals that select later skills. Representative boundaries: recon/port-service-discovery/SKILL.md, recon/js-secrets-extraction/SKILL.md, recon/asn-infrastructure-mapping/SKILL.md.
Targeted Validation Stage
redteam/hunt-* is the main vulnerability-validation catalog, organized by vulnerability class, framework, API style, identity system, and infrastructure platform. It should be invoked only after relevant discovery evidence, separating broad enumeration from focused exploit verification. Examples: redteam/hunt-ssrf/SKILL.md, redteam/hunt-oauth/SKILL.md, redteam/hunt-k8s/SKILL.md.
Identity, Infrastructure, and Specialized Paths
Dedicated domains address high-impact boundaries outside generic web testing:
• Authentication and SSO: auth/saml-sso-attack/SKILL.md, redteam/okta-attack/SKILL.md
• Infrastructure/container escalation: infra/docker-privesc/SKILL.md
• API, cloud, and SaaS exposure: recon/api-noauth-hunt/SKILL.md, recon/firebase-supabase-attack/SKILL.md
These playbooks interact with authorized external targets and may depend on credentials, network access, proxies, browsers, or platform-specific tooling; responsibility remains with the operator.
Evidence, Chains, and Reporting
Validated findings feed evidence capture, attack-path construction, and deliverables. chains/ defines multi-step compromise narratives, while red-team skills govern validation and communication: chains/cross-attack-chains/SKILL.md, redteam/triage-validation/SKILL.md, redteam/evidence-hygiene/SKILL.md, and redteam/report-writing/SKILL.md. Reference documents provide reusable templates and domain knowledge, e.g. chains/cross-attack-chains/references/exploit-chains-template.md.
Executable Utilities and Quality Boundary
Most repository content is Markdown; a small Python utility layer supports repeatable probes/scans, including recon/js-secrets-extraction/scripts/scan_js.py, redteam/offensive-osint/scripts/secret_scan.py, and meta/sector-recon-methodology/scripts/parallel_sector_probe.py. Catalog integrity is enforced by the primary CI/runtime entry point scripts/validate_skills.py, invoked in .github/workflows/validate.yml; it checks structural requirements while style debt remains warning-level.
Main entry points: port-service-discovery/SKILL.md Recon modules · triage-validation/SKILL.md Triage & validation · api-noauth-hunt/SKILL.md Specialized exposure paths · validate_skills.py Skill validator
Components 19
Orientation
- Repository guidance · Defines orientation and operating constraints.
README.md - Versioned skill catalog · Documentation-first pack of focused SKILL.md procedures.
- Catalog CI workflow
.github/workflows/validate.yml - Skill validator · Checks catalog structure; style debt is warning-level.
scripts/validate_skills.py
Assessment Guidance
- Recon playbook · Plans end-to-end reconnaissance and gates later work.
meta/recon-playbook/SKILL.md - Web & bounty workflows · Broad web and bounty assessment sequencing.
redteam/web2-recon/SKILL.md
Discovery
- Recon modules · Enumerate and classify DNS, services, HTTP, technologies, JS, source, and cloud surfaces.
recon/port-service-discovery/SKILL.md - JS secret scanner · Repeatable utility used by JS secrets extraction.
recon/js-secrets-extraction/scripts/scan_js.py - Specialized exposure paths · API, SaaS, ASN, and infrastructure-specific discovery.
recon/api-noauth-hunt/SKILL.md - Target signals & artifacts · Scope, discovery evidence, and persisted command outputs.
Validation
- Vulnerability hunt catalog · Focused exploit verification selected from relevant discovery evidence.
redteam/hunt-ssrf/SKILL.md - Identity & SSO paths · Authentication and identity-provider attack procedures.
auth/saml-sso-attack/SKILL.md - Infrastructure escalation · Container and platform escalation procedures.
infra/docker-privesc/SKILL.md
Evidence & Delivery
- Triage & validation · Confirms findings before they enter evidence and reporting.
redteam/triage-validation/SKILL.md - Attack-path narratives · Builds multi-step compromise narratives from validated findings.
chains/cross-attack-chains/SKILL.md - Evidence capture · Governs preservation and handling of validation evidence.
redteam/evidence-hygiene/SKILL.md - Assessment report · Communicates validated findings and attack paths.
redteam/report-writing/SKILL.md
Other components
- Operator / automation · Selects playbooks and retains responsibility for authorized target access.
- Authorized external targets · May require credentials, network access, proxies, browsers, or platform tooling.
Connections 23
- Repository guidance → Versioned skill catalog: orients
- Catalog CI workflow → Skill validator: invokes
- Skill validator → Versioned skill catalog: checks structure
- Operator / automation → Recon playbook: loads
- Operator / automation → Web & bounty workflows: loads
- Recon playbook → Recon modules: sequences
- Web & bounty workflows → Recon modules: guides
- Operator / automation → Authorized external targets: accesses
- Recon modules → Authorized external targets: collects from
- JS secret scanner → Recon modules: supports
- Specialized exposure paths → Authorized external targets: investigates
- Recon modules → Target signals & artifacts: produces
- Specialized exposure paths → Target signals & artifacts: produces
- Target signals & artifacts → Vulnerability hunt catalog: selects
- Target signals & artifacts → Identity & SSO paths: selects
- Target signals & artifacts → Infrastructure escalation: selects
- Vulnerability hunt catalog → Triage & validation: submits findings
- Identity & SSO paths → Triage & validation: submits findings
- Infrastructure escalation → Triage & validation: submits findings
- Triage & validation → Evidence capture: captures evidence
- Triage & validation → Attack-path narratives: builds chains
- Evidence capture → Assessment report: supplies evidence
- Attack-path narratives → Assessment report: supplies narratives