Back to skills
SKILL.md
Api Recon
ASecurityAPI reconnaissance and discovery — find the real attack surface via OpenAPI/Swagger/Postman specs, JS endpoint+parameter mining, mobile-APK API extraction, and versioned/shadow/undocumented endpoints (OWASP API9). Tier 1. Use at the start of any API engagement to map endpoints, params, verbs, and hidden hosts before testing other classes.
- 16 stars
- 0 votes
- 0 copies
- 6 views
- Added November 17, 2026
Works with
Security analysis
92/100- Uses curl or wget to download content
npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-recon --agent claude-codeAre you the author of Api Recon?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-api-recon)---
name: api-recon
description: API reconnaissance and discovery — find the real attack surface via OpenAPI/Swagger/Postman specs, JS endpoint+parameter mining, mobile-APK API extraction, and versioned/shadow/undocumented endpoints (OWASP API9). Tier 1. Use at the start of any API engagement to map endpoints, params, verbs, and hidden hosts before testing other classes.
---
# 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` → `delete`/`add`), fuzz with API verb/noun wordlists; cycle `GET/POST/PUT/PATCH/DELETE/OPTIONS/HEAD` per route — error messages reveal valid formats/params.
6. **Hidden parameters** — `arjun -u https://TARGET/api/x`, Param Miner, `x8`; seed with app-specific terms from recon.
7. **Mobile-APK extraction** (shadow APIs, ties to API9):
```bash
adb shell pm path com.target.app && adb pull <path> target.apk
apktool d target.apk -o unpacked # manifest, strings.xml, assets
apkleaks -f target.apk # URLs + secrets; also apkurlgrep, apk2url
jadx-gui target.apk # Ctrl+Shift+F: api_key, bearer, firebase, base_url
```
check `res/values/strings.xml` (`api_base_url`, `debug_endpoint`) and exported components.
## Modern / rare techniques
- **[RARE] Versioned/zombie enumeration (API9)** — `/api/v1..v3`, `/beta`, `/internal`; deprecated versions often lack newer fixes/auth.
- **[RARE] Non-prod hosts** — `staging.`, `dev.`, `uat.`, `api-test.` subdomains with weaker controls; cross-ref `api-improper-inventory`.
- **[RARE] Mobile/undocumented shadow APIs** — APK-sourced endpoints bypass WAF/monitoring; verify live with discovered cloud endpoints (`curl https://app.firebaseio.com/.json`, `aws s3 ls s3://bucket --no-sign-request`).
- **GraphQL fingerprint** — `graphw00f` to detect engine; `query{__typename}` universal probe.
## Escalation / chaining
Discovered surface feeds every other skill: object IDs → `api-bola`, admin routes → `api-bfla`, URL fields → `api-ssrf`, versions/hosts → `api-improper-inventory`, GraphQL → `graphql`.
## Backend & tooling
Use the preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Route browsing through Burp proxy to populate target map and history. See `zazy-orchestrator`.
## Verification (background, before reporting)
Confirm each discovered endpoint actually responds (not a wildcard/catch-all 200); de-dupe versions; validate undocumented routes return real data before claiming them.
## Evidence
Endpoint inventory (path, verb, auth state, params, source: spec/JS/APK), highlighting undocumented/shadow/versioned routes and any exposed secrets, with impact.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.