Anonymous Access Sweep
Call every endpoint with no credential at all and classify which ones respond, because anonymous reachability is the lowest boundary to hold
Use when: you have the endpoint inventory and want the fastest structural picture of what a caller with nothing can reach
Avoid when: half the inventory is still missing, since the sweep is only meaningful against a complete endpoint list
Procedure
- Take every endpoint in the inventory and issue one clean request per endpoint with no credential attached.
- Record status, body summary and response headers, separating 200-class responses from refusals.
- Repeat with plausible anonymous variants: alternate content types, missing required query parameters and empty bodies.
- Compare anonymous access against the permission matrix, which must already have a written anonymous expectation per cell.
- Watch for responses that leak existence, such as distinguishing an unknown identifier from a valid but protected one.
- Record per-endpoint anonymous verdicts so the sweep output becomes a coverage row in the report.
Signals
- An endpoint documented as requiring authentication returns useful data to an anonymous caller.
- Error bodies differ between valid and invalid identifiers for protected endpoints, enabling existence probing.
- Rate limits or quotas are tracked by credential, so anonymous callers face no shared ceiling.
- A health or status endpoint reveals names, counts or versions that belong behind authentication.
Patterns
1. Sweep row
GET /api/orders unauth -> 401 ok
GET /api/public/stats unauth -> 200 + tenant counts -> leak
2. Existence probe
unknown-id -> 404, valid-id-wrong-owner -> 403 -> oracle for enumeration
3. Result row
endpoints=50 anonymous-open=6 anonymous-leak-adjacent=2 refuse-correct=42
Pitfalls
- Sending decorated requests with the framework's default headers and mistaking that for a clean anonymous caller.
- Recording one request per endpoint and ignoring content negotiation, where anonymous access may vary by representation.
- Reporting anonymous reachability without the matching matrix expectation, which leaves the finding unverifiable.
Done when
- Every inventory endpoint has an anonymous-credential verdict recorded and compared against its written expectation.
- Existence-probing differences between unknown and protected identifiers are documented per endpoint family.