← LeaderboardThe Skill Leaderboard

api-recon-and-docs

API reconnaissance and documentation review playbook. Use when discovering endpoints, schemas, versions, OpenAPI specs, hidden docs, and surface area for API testing.

Published by yaklang ↗yaklang/hack-skills

Try your first task

Build a first-pass API surface inventory

Start a fresh conversation.

Use the api-recon-and-docs skill to perform a first-pass review of my authorized API target. From the supplied base URL, client JavaScript, and any OpenAPI or Swagger documents, produce a compact inventory of reachable entry points, versions, schemas, optional fields, role differences, GraphQL endpoints, mobile paths, and undocumented parameters. Identify the three highest-value areas for follow-up testing without attempting exploitation.

Required inputs

  • Authorized API base URL
  • Client JavaScript files or URLs, if available
  • OpenAPI, Swagger, or other API documentation, if available
  • In-scope hosts and testing boundaries

Suggested template by Skill Leaderboard, grounded in the linked source. Task evidence ↗

SKILL.md

name: api-recon-and-docsdescription: >-  API reconnaissance and documentation review playbook. Use when discovering endpoints, schemas, versions, OpenAPI specs, hidden docs, and surface area for API testing.

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

FindingNext Skill
object IDs everywhereapi authorization and bola
JWT, OAuth, role claimsapi auth and jwt abuse
GraphQL or hidden fieldsgraphql and hidden parameters
strong auth boundary but suspicious business flowbusiness logic vulnerabilities