New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Api Recon And Docs

API reconnaissance playbook that maps endpoints, schemas, API versions, and hidden documentation before testing.

skills.sh installs
4.1K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the discovery phase for REST, mobile, and GraphQL APIs: client-side JavaScript mining, documentation paths, and version drift
  • Includes a curl-and-grep pass over client JavaScript plus common schema paths such as /swagger.json, /openapi.json, and /graphql
  • Extracts undocumented and optional fields, deprecated endpoints still active, and parameters tied to IDs, roles, or tenancy
  • Routes findings to follow-on skills for authorization, JWT and OAuth, GraphQL hidden parameters, and business logic

Install

$ npx -y skills add yaklang/hack-skills --skill api-recon-and-docs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: API Recon and Docs — Endpoints, Schemas, and Version Surface

AI LOAD INSTRUCTION: Use this skill first when the target is a REST, mobile, or GraphQL API and you need to enumerate endpoints, documentation, versions, and hidden surface area before exploitation.

1. PRIMARY GOALS

  1. Discover all reachable API entrypoints.
  2. Extract schemas, optional fields, and role differences.
  3. Identify old versions, mobile paths, GraphQL endpoints, and undocumented parameters.

2. RECON CHECKLIST

JavaScript and client mining

curl https://target/app.js | grep -oE '(/api|/rest|/graphql)[^"'\'' ]+' | sort -u

Common documentation and schema paths

/swagger.json
/openapi.json
/api-docs
/docs
/.well-known/
/graphql
/gql

Version and product drift

/api/v1/
/api/v2/
/api/mobile/v1/
/legacy/

3. WHAT TO EXTRACT FROM DOCS

  • optional and undocumented fields
  • admin-only request examples
  • deprecated endpoints that may still be active
  • schema hints like additionalProperties: true
  • parameter names tied to filtering, sorting, IDs, roles, or tenancy

4. NEXT ROUTING

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Api Recon And Docs

More Security