Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Subfinder

$ subfinder Official Low Risk
ProjectDiscovery · Security & Secrets · MIT · macos / linux / windows

Subfinder (subfinder) discovers valid subdomains passively using certificate transparency logs, search engines, and passive DNS APIs without actively probing targets. Built for automation with -silent, -oJ (JSON Lines), -nc (no color), and clean Go binary portability.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install subfinder
CLI vs MCP Decision CLI Preferred vs MCP

subfinder queries dozens of passive sources concurrently and streams -oJ JSONL straight to stdout or pipes like httpx and jq.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Provides -oJ JSONL output, -silent banner suppression, -nc no-color mode, and zero interactive prompts.

  • Native -oJ, -silent, and -nc flags
  • Pipe-friendly stdout streaming
Trust & Safety 22 / 25

Strictly passive OSINT—never sends active packets to target hosts, and optional API keys stay in local config.

  • 100% passive enumeration with zero direct target probing
Setup & Portability 15 / 15

Single static Go binary available via brew, go install, Docker, and GitHub releases across macOS, Linux, and Windows.

  • Zero-dependency Go binary across all platforms
Utility & Efficiency 13 / 15

Aggregates dozens of passive DNS/CT sources concurrently in seconds.

  • Fast concurrent passive discovery across many providers
Maintenance & Lineage 9 / 10

Maintained by ProjectDiscovery (projectdiscovery/subfinder) under MIT license with frequent updates.

  • Official ProjectDiscovery MIT repository
Docs & Verifiability 8 / 10

Clean ProjectDiscovery documentation and well-organized -h flag list.

  • Structured docs at docs.projectdiscovery.io

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Works without keys on public sources; optional passive API keys live in ~/.config/subfinder/provider-config.yaml.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; free on public sources (optional third-party provider keys may have vendor quotas).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Subfinder (subfinder) Agent Rules
- Always pass `-silent` and `-oJ` (or `-nc`) when piping output into scripts or agent context.
- Only enumerate domains belonging to authorized scope.

Agent-Ready Command Recipes

Safe Read-Only Queries

Passive subdomain enumeration in JSONL
subfinder -d example.com -silent -oJ

Queries default passive sources for example.com, suppresses banners with -silent, and emits JSONL via -oJ.

Enumerate using specific sources only
subfinder -d example.com -sources crtsh,hackertarget -silent -nc

Restricts queries to explicit -sources and disables color codes (-nc) for clean plain-text output.

Strengths for Agents

  • + -silent -oJ streams clean JSONL records ready for jq or direct agent consumption.
  • + Purely passive queries avoid touching or stressing target infrastructure.

Caveats & Pitfalls

  • ! Passing -all expands coverage across more sources but can hit rate limits without keys in provider-config.yaml.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI