Discover a web/API target's hidden surface with the ffuf fuzzer — directories, routes, and parameters that code, spec, and traffic did not reveal — and write them as endpoint nodes into the graph so dast-generation can ground real probes on them. A discovery step, not a vulnerability scanner; the proof comes from the follow-on probe. Use when a security engineer needs to expand a black-box target's known endpoint surface before active testing.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dast Ffuf?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/asterguard-dast-ffuf)
---
name: dast-ffuf
description: Discover a web/API target's hidden surface with the ffuf fuzzer — directories, routes, and parameters that code, spec, and traffic did not reveal — and write them as endpoint nodes into the graph so dast-generation can ground real probes on them. A discovery step, not a vulnerability scanner; the proof comes from the follow-on probe. Use when a security engineer needs to expand a black-box target's known endpoint surface before active testing.
---
# DAST Fuzz (ffuf)
Find the surface you didn't know was there. `ffuf` brute-forces directories, routes, and parameters;
this skill turns those hits into **`endpoint` nodes** in the graph. ffuf is a *discovery* tool — a 200
is a route, not a bug — so its output feeds `dast-generation`'s existing "enumerate targets from the
graph" loop, which then grounds the actual auth/authz/input probes. No new execution seam.
## When to Activate
- The target is a **live web/API endpoint** and its route/param surface is incomplete (black-box, or the
spec/code missed undocumented or legacy routes).
- Before `dast-generation` on a traffic/live target — expand the `endpoint` set first, then probe.
- You suspect hidden admin/debug routes or unlisted parameters worth probing.
## Core Concepts
- **Discovery → graph, not findings.** Each ffuf hit becomes a `comp:endpoint:` node in
`./.asterguard/graph.json` (`{method, path, auth:"unknown"}`), the same node type `data-flow` emits.
Once in the graph, `dast-generation` re-grounds probes on it — the loop already exists.
- **Not a proof-matcher.** Unlike the `nuclei` adapter, ffuf asserts *existence*, not exploitation. The
weakness verdict comes later from the grounded probe + `security-judge` (or a canary).
- **Optional param-fuzz probes.** For a discovered parameter, you may emit a `TestDefinition`
(`{id, kind:"dast", target, weakness_id, objective, steps, oracle}`) seeded by
`testgen.patterns(weakness_id)`, executed through the same pluggable HTTP/DAST adapter as
`dast-generation` — reusing that seam, never a built-in engine.
## Method
Bootstrap if absent: `scripts/bootstrap.sh ffuf` (or `go install github.com/ffuf/ffuf/v2@latest` / `brew install ffuf`).
1. **Route/content discovery:** `ffuf -u <base>/FUZZ -w <wordlist> -mc 200,204,301,302,307,401,403 -o routes.json -of json`.
`401/403` are kept — a protected route is still a real endpoint (and an auth finding candidate).
2. **Parameter discovery:** `ffuf -u "<base>/<route>?FUZZ=test" -w <param-wordlist> -fs 0 -o params.json -of json`.
3. **Emit endpoint nodes** into `./.asterguard/graph.json`: one `comp:endpoint:` per discovered route
(`method` from how it was probed, `auth:"unknown"` — or `"required"` when it returned 401/403);
attach discovered params to the endpoint for the probe step. Keep raw ffuf JSON in `./.asterguard/raw/`.
4. **Hand off to `dast-generation`** — it enumerates the new endpoints and generates grounded probes.
(Optional) emit param-fuzz `TestDefinition`s seeded by `testgen.patterns`, run via the configured
adapter, normalized broke/held for `security-judge`.
## Practical Guidance
- **Discovery is not a vulnerability (low freedom):** never report a 200 as a finding. The endpoint is an
input to probing; the finding is born from the grounded probe or a canary hit.
- **Authorized + rate-limited:** scope to the target you're authorized to test; throttle (`-rate`) so the
fuzz doesn't DoS the target. Pick a wordlist matched to the stack (API vs web).
- **Dedupe into the graph:** if an endpoint already exists (from spec/code/traffic), merge — don't create a
duplicate node; mark it `discovered_by:"ffuf"` for provenance.
## Integration
- data-flow / api-spec-lint — other sources of `endpoint` nodes; ffuf expands the set for live targets
- dast-generation — consumes the discovered endpoints and generates the grounded probes
- check-planner — plans this under the DAST check for live/traffic targets
- security-judge — scores any param-fuzz probes this skill emits
## References
- [AsterVault MCP tools](../weakness-graph/references/astervault-tools.md)
- [Graph schema (SSOT)](../../docs/graph-schema.md)