api-reconlisted
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# API Recon & Discovery
Map every endpoint, parameter, version, and host before attacking. Undocumented and shadow routes are where the bugs live. Points ref: `${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`.
## Trigger phrases
`api recon, api discovery, swagger, openapi, postman, api docs, endpoint mining, hidden endpoints, shadow api, api enumeration`
## Method
1. **Spec/doc probe** — request common paths: `/api`, `/api/docs`, `/swagger-ui.html`, `/swagger/index.html`, `/swagger.json`, `/openapi.json`, `/openapi.yaml`, `/v2/api-docs`, `/v3/api-docs`, `/api-docs`, `/redoc`, `/graphql`, `/graphiql`, `/postman`, `/.well-known/openid-configuration`, `/actuator`, `/actuator/mappings`.
```bash
ffuf -u https://TARGET/FUZZ -w api-paths.txt -mc 200,401,403
```
2. **Walk up the base path** — given `/api/v1/users/123`, also hit `/api/v1/users`, `/api/v1`, `/api`.
3. **Import & exercise** — load any OpenAPI/Swagger spec into Postman/SoapUI or Burp (OpenAPI Parser BApp) and fire every documented endpoint; diff docs vs. live to find undocumented routes.
4. **JS endpoint mining** — pull routes the UI never calls:
```bash
getJS --url https://TARGET | tee js.txt
xnLinkFinder -i https://TARGET -sf TARGET # or LinkFinder / JS Link Finder BApp
grep -rEo '/(api|v[0-9])/[a-zA-Z0-9/_-]+' js.txt | sort -u
```
regex sinks: `fetch\(|axios|XMLHttpRequest|/api/`.
5. **Hidden endpoints/verbs** — Intruder position on the action segment (`PUT /api/user/update` → `delet