Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Enumerate subdomains of target domains using ProjectDiscovery's Subfinder passive reconnaissance tool to map the attack surface during security assessments.
Imported from mukul975/anthropic-cybersecurity-skills (skills/performing-subdomain-enumeration-with-subfinder/SKILL.md). Install upstream with npx skills add mukul975/anthropic-cybersecurity-skills --skill performing-subdomain-enumeration-with-subfinder. Copyright stays with the author (Apache-2.0).
Performing Subdomain Enumeration with Subfinder
When to Use
During the reconnaissance phase of penetration testing or bug bounty hunting
When mapping the external attack surface of a target organization
Before performing vulnerability scanning on discovered subdomains
When building an asset inventory for continuous security monitoring
During red team engagements requiring passive information gathering
# Single domain enumerationsubfinder -d example.com -o subdomains.txt# Multiple domains from a filesubfinder -dL domains.txt -o all_subdomains.txt# Use all passive sources (slower but more thorough)subfinder -d example.com -all -o subdomains_all.txt# Silent mode for piping to other toolssubfinder -d example.com -silent | httpx -silent -status-code
Step 3 — Filter and Customize Source Selection
# Use specific sources onlysubfinder -d example.com -s crtsh,virustotal,shodan -o filtered.txt# Exclude specific sourcessubfinder -d example.com -es github -o results.txt# Enable recursive subdomain enumerationsubfinder -d example.com -recursive -o recursive_subs.txt# Match specific patternssubfinder -d example.com -m "api,dev,staging" -o matched.txt
Step 4 — Control Rate Limiting and Output Format
# Rate limit to avoid API throttlingsubfinder -d example.com -rate-limit 10 -t 5 -o rate_limited.txt# JSON output for programmatic processingsubfinder -d example.com -oJ -o subdomains.json# Output with source informationsubfinder -d example.com -cs -o subdomains_with_sources.txt# Collect results in a directory per domainsubfinder -dL domains.txt -oD ./results/
Step 5 — Validate Discovered Subdomains with httpx
# Pipe subfinder output to httpx for live validationsubfinder -d example.com -silent | httpx -silent -status-code -title -tech-detect -o live_hosts.txt# Check for specific portssubfinder -d example.com -silent | httpx -ports 80,443,8080,8443 -o web_services.txt# Resolve IP addressessubfinder -d example.com -silent | dnsx -a -resp -o resolved.txt
Discovering subdomains without directly querying target DNS servers
Certificate Transparency
Public logs of SSL/TLS certificates revealing subdomain names
DNS Aggregation
Collecting subdomain data from multiple passive DNS databases
Recursive Enumeration
Discovering subdomains of subdomains for deeper coverage
Source Providers
External APIs and databases queried for subdomain intelligence
CNAME Records
Canonical name records that may reveal additional infrastructure
Wildcard DNS
DNS configuration returning results for any subdomain query
Tools & Systems
Tool
Purpose
Subfinder
Primary passive subdomain enumeration engine
httpx
HTTP probe tool for validating live subdomains
dnsx
DNS resolution and validation toolkit
Nuclei
Template-based vulnerability scanner for discovered hosts
Amass
Complementary subdomain enumeration with active/passive modes
gowitness
Web screenshot utility for visual reconnaissance
Shodan
Internet-wide scanning database for subdomain intelligence
crt.sh
Certificate transparency log search engine
Common Scenarios
Bug Bounty Reconnaissance — Enumerate all subdomains of a target program scope to identify forgotten or misconfigured assets that may contain vulnerabilities
Attack Surface Mapping — Build a comprehensive inventory of externally accessible subdomains for ongoing security monitoring and risk assessment
Cloud Asset Discovery — Identify subdomains pointing to cloud services (AWS, Azure, GCP) that may be vulnerable to subdomain takeover
CI/CD Integration — Automate subdomain monitoring in pipelines to detect new subdomains and alert on changes to the attack surface
Merger & Acquisition Due Diligence — Map the complete external footprint of an acquisition target during security assessment
Output Format
## Subdomain Enumeration Report
- **Target Domain**: example.com
- **Total Subdomains Found**: 247
- **Live Hosts**: 183
- **Unique IP Addresses**: 42
- **Sources Used**: crt.sh, VirusTotal, Shodan, SecurityTrails, Censys
### Discovered Subdomains
| Subdomain | IP Address | Status Code | Technology |
|-----------|-----------|-------------|------------|
| api.example.com | 10.0.1.5 | 200 | Nginx, Node.js |
| staging.example.com | 10.0.2.10 | 403 | Apache |
| dev.example.com | 10.0.3.15 | 200 | Express |
### Recommendations
- Remove DNS records for decommissioned subdomains
- Investigate subdomains with CNAME pointing to unclaimed services
- Restrict access to development and staging environments
Installed into a catalogue, chosen by a router
Install performing-subdomain-enumeration-with-subfinder and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.