Using yawast
yawast has one command for each kind of target. Each runs the checks that apply and reports what it found.
Only scan systems you own or have permission to test. yawast’s active checks send attack payloads, as a penetration tester would.
Commands
| Command | Scans | Guide |
|---|---|---|
yawast scan <url> |
A website: crawl, passive checks, injection testing, TLS, DNS | Websites |
yawast tls <host:port> |
Any TLS service, including STARTTLS (SMTP, IMAP, LDAP, PostgreSQL, …) | TLS services |
yawast dns <domain> |
A domain’s DNS: records, CAA, DNSSEC, mail policies | DNS |
yawast mail <domain> |
A domain’s mail: MX, SPF, DMARC, DKIM, MTA-STS, DANE, each mail server | |
yawast mcp |
Runs an MCP server for AI agents | AI agents |
yawast checks list |
Lists the checks (--json for machines) |
Checks |
yawast rules list |
Lists the kinds of finding | Rules |
Your first scan
yawast scan https://staging.example.com
yawast follows the target’s redirects (HTTP to HTTPS, www), crawls the site, works out its technology stack, and runs the checks that apply. Then it prints findings, most severe first, each with the evidence behind it:
[HIGH] SQL Injection (inject.sqli)
at: GET https://staging.example.com/user?name=alice
parameter: name (query)
payload: "' AND '2228'='2228 / ' AND '2228'='2277"
details: context=string; technique=boolean-based
Each finding names its rule (inject.sqli). yawast rules list describes each rule and how to fix it. After the findings come observations: facts about the target that are not problems, such as the software and versions it runs, its TLS configuration, and how much the crawl covered.
Intrusiveness levels
--level sets how far yawast may go:
| Level | Allows |
|---|---|
passive |
Only the requests a browser would make. |
safe (default) |
Harmless probes: injection into GET parameters, requests for known paths. |
intrusive |
Probes that may change state or add load: POST form injection, time-based payloads (--time-delay), login attempts. |
yawast scan https://staging.example.com --level intrusive
Checks above the level are listed in the report as skipped, so a clean result is not mistaken for full coverage.
Choosing checks
Every check has an ID (inject.sqli, tls.certificate, http.headers); see the check reference. Select them by pattern or tag:
yawast scan https://example.com --checks 'http.*' # only HTTP checks
yawast scan https://example.com --tags injection # only injection checks
yawast scan https://example.com --exclude 'discovery.crawl' # everything but the crawl
Some checks are opt-in because they send many requests. Examples are the wordlists, backup files, subdomain enumeration, browser-based DOM XSS confirmation, and the open relay test. Turn them on with --enable:
yawast scan https://example.com --enable discovery.backups
yawast scan https://example.com --enable 'discovery.wordlist.*'
Testing one request
To ask about one URL or parameter without crawling the site, give the request and select the check. The target’s query parameters, and a body given with --data, are tested directly:
# Is the id parameter injectable?
yawast scan 'https://shop.example.com/item.php?id=7' --checks inject.sqli --param id
# A JSON API: body fields are tested as non-idempotent, so at --level intrusive
yawast scan https://app.example.com/api/search --data '{"q":"x","limit":10}' --checks 'inject.*' --level intrusive
--param limits testing to the named parameters. JSON fields are named by path, such as filter.limit.
Being a good neighbor
| Option | Default | Effect |
|---|---|---|
--rate |
20 | Maximum requests per second (0 for unlimited). |
--max-pages |
1000 | Pages to crawl. The report notes when the limit was reached. |
--max-time |
none | Abort the scan after this long, keeping what was found. |
--timeout |
15s | Per-request timeout. |
--concurrency |
4 | Checks run in parallel. |
--proxy |
Send HTTP traffic through a proxy such as Burp (http://127.0.0.1:8080) or SOCKS5. |
|
-H, --cookie, --user-agent |
Extra headers, a session cookie, and the User-Agent. |
Output
The default is readable text, colored in a terminal. For machines, use --format json, jsonl (streaming events), or sarif, and -o to write a file. Output formats describes each one, and CI pipelines shows how to use them.
Exit codes
| Code | Meaning |
|---|---|
0 |
The scan ran. No finding reached --fail-on, if it was given. |
1 |
A finding at or above --fail-on (info, low, medium, high, critical). |
2 |
A usage or runtime error, including an unreachable target. |
All options
yawast <command> --help lists every option with its default.