Repository navigation
Releases
Releases · adcaudill/yawast2
0.14.0
yawast has been rewritten in Go, as a single static binary built for automation:
CI pipelines and AI agents first, humans too. See docs/parity.md for a
check-by-check comparison with yawast-ng.
Scanning and output
- Commands:
yawast scan(websites),yawast tls(any TLS service, including STARTTLS),yawast dns,yawast mail, andyawast mcp. - Selectable checks (
--checks,--tags,--exclude, opt-in checks with--enable) and intrusiveness levels (--level passive|safe|intrusive). - Output as text, JSON (versioned schema), streaming JSONL, and SARIF, with stable rule IDs, finding fingerprints, and
--fail-onexit codes. Observations (technologies, TLS details, DNS and mail records) are kept apart from findings. - Follows the target's redirects (HTTP to HTTPS, www), as yawast-ng did.
--proxy(http, https, socks5) for all HTTP traffic,--rate,--max-time, and--max-pages.- Stack-aware scanning: probes the identified technology stack rules out (PHP file names on an ASP.NET site, Windows payloads on Linux) are skipped, and noted;
--stack offand--assume. - Targeted testing of a single request without a crawl (
--data,--method,--param).
Discovery
- Parallel crawler seeded from robots.txt and sitemaps, with coverage notes.
- Client-rendered applications are loaded in headless Chrome (
--render), and the API requests they make become injection points (query, form, and JSON bodies). - Authenticated scanning: sign in through the browser (
--login-user,--login-password), for HTML forms and script-driven sign-ins. - yawast-ng's wordlists for file and directory discovery (opt-in), sensitive files and backups,
.DS_Storeparsing, directory listings, and linked phpinfo() pages.
Active testing
- SQL injection (error, boolean, and time-based), cross-site scripting, command injection, open redirects, and DOM-based XSS (static analysis, and browser confirmation as an opt-in check).
- User enumeration through login and password reset forms, including script-driven ones.
- Application checks for Tomcat (versions, Manager default credentials, PUT and CGI RCE), PHP-FPM (CVE-2019-11043), Struts, Jira, ASP.NET, Telerik, Rails, and WordPress.
Passive checks
- Security headers, cookies, CORS, Content-Security-Policy evaluation (not just presence), HTTP methods, error messages, internal IP disclosure, vulnerable JavaScript libraries (Retire.js data), and outdated or unsupported software (current_versions data).
TLS
- Rebuilt TLS checks: certificate and chain validation against Mozilla's root store (with distrust dates), revocation, Certificate Transparency, protocol and cipher suite enumeration with its own ClientHellos, key exchange groups, protocol features, and implementation vulnerabilities (including Heartbleed, ROBOT, and POODLE), for HTTPS and any other TLS service.
DNS and mail
- DNS records, CAA, DNSSEC, SRV and subdomain enumeration, and network owners (embedded IP-to-ASN data).
yawast mail: MX records, SPF (evaluated across includes, with lookup limits), DMARC, DKIM keys at common selectors, MTA-STS, TLS-RPT, DANE, BIMI, each MX host's SMTP service and TLS configuration, an opt-in open relay test, and the domain's submission, IMAP, and POP3 endpoints.
AI agents
yawast mcp: an MCP server whose tools list checks, rules, and options, run scans (targeted or full), and return results and evidence, within limits set by whoever runs it (--allow-target,--max-level).
Not carried over
- The plugin system, replaced by compiled and declarative checks.
- HSTS preload lookups, which sent the domain to a third-party service.
- Open port scanning (
--ports), deferred for now.