OWASP Amass
$ amass Foundation Med RiskOWASP Amass (amass) performs deep network mapping of external attack surfaces using OSINT, DNS resolution, ASN discovery (amass intel), and graph persistence. In v4, it writes findings into a local asset database and outputs text/graph files rather than clean single-pass JSON stdout.
brew install amass amass runs long-lived DNS/ASN graph discovery and stores state locally on disk, making direct CLI invocation the only practical interface.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Non-interactive with -nocolor and -timeout, but v4 removed direct -json output on enum in favor of its local graph DB and text logs.
- Non-interactive flags (
-passive,-nocolor,-timeout) - v4 lacks direct JSON stdout on
amass enum
-passive avoids target probing, while -active and brute-forcing generate heavy DNS/network traffic and write to a local graph DB.
-passivemode separates OSINT from active DNS probing- Long-running active scans can stress DNS resolvers
Go binary distributed via brew, go install, Docker, and GitHub releases across macOS, Linux, and Windows.
- Single Go binary across major OSes
Deep ASN, WHOIS, and relationship mapping beyond simple subdomain lists, though noticeably slower than subfinder.
- Combines
intelASN mapping andenumgraph relationships
Flagship OWASP foundation project (owasp-amass/amass) under Apache-2.0.
- Official OWASP project under Apache-2.0
v3-to-v4 migration changed config and output flags (datasources.yaml, oam_subs), creating documentation drift across online guides.
- v4 breaking flag/config changes cause doc discrepancies
Security, Auth & Guardrails
Stores optional OSINT API keys in ~/.config/amass/datasources.yaml and persists graph state in ~/.config/amass/amass.db.
Apache-2.0 open-source CLI; free (optional paid OSINT API keys in datasources.yaml).
# OWASP Amass (amass) Agent Rules - Default to `-passive` and always set `-timeout <minutes>` so scans do not run indefinitely. - Avoid `-active` or DNS brute-forcing (`-brute`) unless explicitly authorized for active reconnaissance.
Agent-Ready Command Recipes
Safe Read-Only Queries
amass enum -passive -d example.com -timeout 5 -nocolor -o /tmp/amass-subs.txt
Gathers OSINT subdomains with -passive (no direct DNS brute-forcing), bounded by -timeout 5 minutes.
amass intel -org "Example Corp" -nocolor
Maps ASN blocks and associated root domains passively via amass intel.
Strengths for Agents
- + Rich ASN, org, and asset-relationship mapping (
amass intel+amass enum) under OWASP stewardship. - + Explicit
-passiveand-timeoutflags let agents bound scope and runtime.
Caveats & Pitfalls
- ! No native JSON stdout in v4
amass enum; agents must parse-otext or query the local DB. - ! Significantly slower and heavier on memory/disk than
subfinderfor basic subdomain enumeration.