Changelog¶
All notable changes. Format: Keep a Changelog; versions follow Semantic Versioning.
[0.2.1] - 2026-11-24¶
Fixed¶
- The README published with 0.2.0 (and shown on its PyPI page) said the
fuzzowlpackage on PyPI was an unrelated project and not to install it: a sentence about the otherapifuzzpackage that the rename turned around. The README and the docs now install from PyPI (pip install fuzzowl) or GHCR. No code changes.
[0.2.0] - 2026-11-24¶
Hardening release: v0.1.0's findings could not be trusted (on the VAmPI benchmark it detected 0 of 9 documented vulnerabilities and reported 25 false positives per build with auth tokens). This release fixes correctness, removes false positives, makes scans safe to point at real systems, adds coverage, and measures the result.
Renamed¶
- apifuzz is now fuzzowl (package, command, Python module, repository, docs site; rule ids
APIFUZZ-*→FUZZOWL-*, ignore file.apifuzz-ignore.yaml→.fuzzowl-ignore.yaml). An unrelated OWASP API scanner already publishesapifuzzon PyPI and installs the sameapifuzzcommand and module, so the two would clash.
Benchmark¶
benchmarks/: reproducible scoring against VAmPI's own list of documented vulnerabilities, on its vulnerable and secure builds. Current: 7/9 detected by default (6 firm), 8/9 with--time-based(7 firm), 0 false positives on both builds. Rules changed or added after seeing benchmark output are disclosed inbenchmarks/README.md.- Second benchmark target: OWASP crAPI, measured before any tuning (held-out): 5/18 documented challenges detected (3 firm), 10 false positives among 39 findings outside the documented list. After the fixes that run prompted (disclosed): 7/18 (4 firm), 6 false positives (all tentative) among 38.
- VAmPI with the new checks: 7/9 detected by default (weak JWT key added), 8/9 with
--time-based(RegexDoS added), 0 false positives on both builds.
Fixed (correctness)¶
- SARIF
tool.driver.versionis the package version (it was hard-coded0.1.0). --tokenwithout--auth-typenow authenticates as bearer. Before, the defaultnonesilently ignored the token and scanned unauthenticated;--auth-type nonetogether with a token is now an error.- The configured token no longer overwrites the auth and cross-user BOLA probes' headers (v0.1.0 reported false CRITICAL bypasses on secure APIs). The second user's credential is sent in the same scheme.
- Request bodies are built from schema examples instead of sending the JSON schema itself; path parameters are always filled and percent-encoded.
- OWASP labels match the 2023 list (mass assignment is API3; injection maps to A03:2021).
- SSTI/command-injection detection uses computed canaries instead of matching any
49or$; NoSQLi and XSS are actually detected; a lone-quote payload catches SQL errors that' OR '1'='1hides. - Rate limiter is concurrency-safe; rate-limit bursts aren't throttled, run last, one endpoint at a time.
- The HTML report template ships in the package (wheel installs could not render HTML); the Docker image builds.
- The "empty bearer" auth probe is actually sent (its trailing space made it an illegal header).
Endpoint.response_schemaholds plain dicts and lists instead of jsonref proxies, so it serialises withjson.dumps; a recursive$refis kept as{"$ref": ...}where it loops back.
Changed (fewer false positives)¶
- Findings carry
confidence: firm | tentative; tentative findings are SARIF notes under a separate medium-severity rule, and--min-confidence firmhides them. - The auth check reads the spec's
securityrequirements and skips public endpoints; a bypass must look like the authenticated response. - BOLA: cross-user findings need user B to get user A's object; ID enumeration alone is not a finding.
- Mass assignment needs the injected value, confirmed by a follow-up GET; blind SQLi (boolean, and time-based
with
--time-based); rate limiting honours429,Retry-AfterandX-RateLimit-*. - From misses in the crAPI held-out run (generic, disclosed in
benchmarks/README.md): required query params are sent on every request (only injection probes set them before); BOLA also probes id-like query params; rate limiting on login/one-time-code/reset operations is reported (tentative) when every attempt gets the same error with no throttling or lockout. - From the hand triage of the crAPI held-out run (each rule generic, disclosed in
benchmarks/README.md): - Boolean SQLi sends the control again after the true/false pair and runs the four requests one at a time
(in the serial pass): both controls must answer alike, and false must differ from both. A
POSTwhose response grows with every request (each probe appends a comment to the post it returns) is no longer reported. - BOLA reads every
GETwithout path params once as user B. When user A's object also shows up there (by its identifying fields), it is public by design (forum posts): B reading it orPOSTing to it is tentative;PUT/PATCHon it stays firm, since a public object still has an owner. EXPOSURE-002ignores empty undocumented fields (null,"",[],{}) and pagination fields of the top-level envelope (count,total,next,previous,offset,limit,page,next_offset, …).EXPOSURE-001treats masked values as placeholders: mask characters with at most the first 6 / last 4 digits visible (XXXXXXXXXXXX9999,xxxx-xxxx-xxxx-1234,•••• 1234).- Mass-assignment
POSTprobes give unique-looking fields (username,email,login,nickname,handle,slug) a random suffix (emails keep their domain): the baseline already created the example record, and an API enforcing uniqueness rejected the probe as a duplicate.
Added (safety and scope)¶
- Safe by default:
PUT/PATCH/DELETEare skipped unless--allow-destructive;--dry-runprints the plan. - Scope lock: every request (redirects included) stays on the
--targetorigin;--include/--excludeglobs. --max-requests,429/503retries honouringRetry-After; TLS verified by default (--insecure),--proxy.--max-body(default 8192 characters) sets how much of each response body is kept for detection; it used to be a fixed 8 KB.- Credentials are redacted in every report; findings show the request as sent.
- A scan in which every request failed exits
2(inconclusive) instead of reporting a clean result.
Added (coverage)¶
data_exposure(API3),user_enum(API2),bflawith--low-priv-token(API5),inventory(API9, once per scan), and blind SSRF via--oob-url. Coverage: API1, 2, 3, 4, 5, 7, 8 and 9.- JWT attacks (API2), when the configured bearer token is a JWT: unverified signature (garbage signature),
kidpath traversal signed with a null key, and — for HS256 tokens — a weak signing key cracked offline (no requests) against a bundled public wordlist (wallarm/jwt-secrets, MIT, top 10000 verbatim entries; seesrc/fuzzowl/jwt_secrets.README.md). A cracked key is proved by re-signing the token (same identity) and by an expired copy; the guessed key is masked in the evidence like any other credential. This joins the existingalg:noneprobe; all keep theFUZZOWL-AUTH-JWT*rule-id family. RS256→HS256 confusion andjkuinjection are not implemented (they need the server's published key or an attacker-hosted JWKS, which the current request model does not provide cleanly). redoscheck (API4,FUZZOWL-REDOS-001, medium), only with--time-basedbecause a vulnerable target really burns CPU: query params and top-level body fields with apattern, an email/uri/hostname format or an email/url/domain/host-like name get 3 evil inputs ("a"×27 + "!") interleaved with 3 same-length controls ("!" + "a"×27), sent one at a time in the time-based pass. Firm only if every evil request is at least 2 s and 5× slower than the slowest control (timeouts count as slow); no tentative verdict. OpenAPI query params now keep theirformatandpattern. Motivated by VAmPI's documented RegexDoS on its email update; the rule is generic (no VAmPI path or field is special-cased).- The blind-SSRF probe map (
fuzzowl-<id>→METHOD /path [param]) is in every report, not only the console: SARIFruns[0].properties.oobProbes, an HTML section, and in JSON an object{"findings": [...], "oob_probes": {...}}(only with--oob-url; otherwise JSON stays a plain array). - Resource linking: when a
POSTresponse has noLocationheader orid, the object it created is found through a siblingGETwhose path ends in a param named like a response or request-body field (POST /users/registerwithusername->GET /users/{username}; a<x>_id/<x>Idparam also takes the response'sid). Used to confirm mass assignment (firm only if the injected values come back and the sibling's normal read doesn't already have them), and, with--second-token, to read as user B each object user A'sPOSTbaseline created (firm only if B gets what A's own read of it returned), so BOLA no longer needs hand-seeded ids. Reads only; public endpoints are skipped. Motivated by a VAmPI miss (mass assignment on register, whose response has no id).
Added (CI/CD)¶
- Documentation website (MkDocs Material, GitHub Pages): a page per check, a CLI reference generated from the code (CI fails if it drifts), CI recipes, safety, benchmarks with every disclosure.
- SARIF
partialFingerprints(stable across runs),--fail-on <severity>,.fuzzowl-ignore.yamlaccepted findings with expiry (--write-ignorebootstraps one). - CI runs ruff and mypy plus the end-to-end suite; a weekly benchmark workflow fails on regressions.
- Release workflow: PyPI as
fuzzowl(trusted publishing) andghcr.io/dragonday3/fuzzowl.
[0.1.0] - 2026-06-03¶
Initial version: OpenAPI/Swagger, HAR and Postman parsers; 7 checks (bola, auth, mass_assignment, ssrf, injection, rate_limit, cors); JSON, SARIF and HTML reports; Typer CLI.