recon-05-openapi-enum
Installation
SKILL.md
Recon 05 Openapi Enum — Offensive Methodology
Shortcut
- Probe for spec files: /swagger.json, /openapi.json, /api-docs
- Parse discovered spec for all endpoints, methods, parameters
- Identify auth schemes per endpoint
- Map unauthenticated endpoints as attack surface
Detection
# Spec discovery
curl -s https://target.com/swagger.json -o /dev/null -w "%{http_code}"
curl -s https://target.com/openapi.json -o /dev/null -w "%{http_code}"
curl -s https://target.com/api/docs -o /dev/null -w "%{http_code}"
# Parse spec
curl -s https://target.com/openapi.json | jq '.paths | keys'