recon-subdomain

Discovers subdomains via passive intelligence and gated DNS resolution.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill recon-subdomain-salmanabdurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recon-subdomain
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/recon-subdomain
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill recon-subdomain-salmanabdurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of identifying an organization's external attack surface by discovering subdomains through a combination of passive intelligence and gated active resolution, ensuring all actions remain within defined scope and authorization boundaries.

Core Features & Use Cases

  • Passive-First Enumeration: Collects subdomains from certificate transparency logs, DNS databases, and web archives without sending traffic to the target.
  • Gated Active Resolution: Performs DNS resolution and wildcard detection only after verifying authorization and scope, preventing unauthorized scanning.
  • Takeover Detection: Identifies potential subdomain takeover vulnerabilities by analyzing CNAME records against known cloud service patterns.

Quick Start

Use the recon-subdomain skill to discover all subdomains for the authorized target domain example.com while strictly adhering to the provided scope file.

Frequently Asked Questions about recon-subdomain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover subdomains for an authorized target during a pentest?

Subdomain discovery for a pentest uses passive intelligence sources like certificate transparency logs and web archives, followed by gated active DNS resolution. This approach maps an organization's external attack surface while strictly enforcing authorization boundaries and scope validation.

What is the best way to detect potential subdomain takeover vulnerabilities?

Subdomain takeover detection involves analyzing CNAME records against known vulnerable cloud service patterns. This skill identifies dangling DNS entries pointing to unclaimed third-party resources, exposing potential external attack surface risks during authorized security assessments.

How does passive subdomain enumeration work without sending traffic to the target?

Passive subdomain enumeration collects hostnames from certificate transparency logs, DNS databases, and web archives. This reconnaissance technique maps target infrastructure using third-party data sources, ensuring zero direct network interaction with the assessed domain.

Can I perform active DNS resolution and wildcard detection safely?

Active DNS resolution and wildcard detection are gated behind strict authorization and scope verification checks. This ensures active network interactions like DNS queries and rate-limited scanning occur only against explicitly permitted target domains.

Do I need a scope file to enumerate subdomains for security assessments?

A scope file is required to validate target boundaries before initiating gated active DNS resolution. Strict adherence to authorization policies and rate-limiting rules ensures all subdomain discovery and attack surface mapping remains within permitted parameters.

Why does subdomain enumeration require authorization and rate-limiting?

Subdomain enumeration requires authorization and rate-limiting to prevent unauthorized scanning and potential service disruption. Gated active DNS resolution verifies scope compliance before sending traffic, ensuring reconnaissance activities remain ethical and legally bounded.