graphql-methodology
Installation
SKILL.md
GraphQL 攻击方法论
Phase 1: 发现GraphQL端点
常见路径: /graphql, /api/graphql, /graphiql, /v1/graphql, /query
检测: POST {"query":"{ __typename }"} → 返回 {"data":{"__typename":"Query"}} 即确认
Phase 2: Introspection 查询(最重要)
获取完整Schema:
{"query":"{ __schema { types { name fields { name type { name } } } } }"}
精简版(只看Query和Mutation):
{"query":"{ __schema { queryType { fields { name args { name type { name } } } } mutationType { fields { name args { name type { name } } } } } }"}
Introspection结果包含所有类型定义和字段 — 这是最重要的信息源