360 Secure SkillHub
360 安全技能中心

api-recon-and-docs

该 Skill 提供 API 侦察与文档审查清单,指导从客户端脚本、常见文档和 schema 路径、版本路径中发现端点与隐藏接口面,并提取可选字段、弃用接口和权限相关线索;最后按发现类型路由到后续安全测试方向。

yaklang
热度 48.49
最近更新 2026-10-19 02:00:10
分类:安全依赖:代码执行 / 第三方 API应用场景:研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yaklang/hack-skills/api-recon-and-docs
Metadata
name
api-recon-and-docs
description
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

Finding Next Skill
object IDs everywhere api authorization and bola
JWT, OAuth, role claims api auth and jwt abuse
GraphQL or hidden fields graphql and hidden parameters
strong auth boundary but suspicious business flow business logic vulnerabilities