# 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

- Skill: `wsh7ash/anonymous-access-sweep` (Agent Skill)
- Install (CLI): `npx get-skill add wsh7ash/anonymous-access-sweep`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wsh7ash/anonymous-access-sweep/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Wsh7Ash (https://skillmd.com/u/wsh7ash)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/wsh7ash/anonymous-access-sweep

---


# 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

1. Take every endpoint in the inventory and issue one clean request per endpoint with no credential attached.
2. Record status, body summary and response headers, separating 200-class responses from refusals.
3. Repeat with plausible anonymous variants: alternate content types, missing required query parameters and empty bodies.
4. Compare anonymous access against the permission matrix, which must already have a written anonymous expectation per cell.
5. Watch for responses that leak existence, such as distinguishing an unknown identifier from a valid but protected one.
6. 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**

```text
GET /api/orders unauth -> 401 ok
GET /api/public/stats unauth -> 200 + tenant counts -> leak
```

**2. Existence probe**

```text
unknown-id -> 404, valid-id-wrong-owner -> 403 -> oracle for enumeration
```

**3. Result row**

```text
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.

## References

- [OWASP API Security Top 10](https://owasp.org/www-project-api-security/)
- [OWASP Web Security Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)

