yaklang/hack-skills

graphql-and-hidden-parameters

GraphQL and hidden parameter testing playbook.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/yaklang/hack-skills --skill graphql-and-hidden-parameters

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

SKILL: GraphQL and Hidden Parameters — Introspection, Batching, and Undocumented Fields

AI LOAD INSTRUCTION: Use this skill when GraphQL exists or when REST documentation suggests optional, deprecated, or undocumented fields. Focus on schema discovery, hidden parameter abuse, and batching as a force multiplier.

1. GRAPHQL FIRST PASS

graphql
query { __typename }
query {
  __schema {
    types { name }
  }
}

If introspection is restricted, continue with:

  • field suggestions and error-based discovery
  • known type probes like __type(name: "User")
  • JS and mobile bundle route extraction

2. HIGH-VALUE GRAPHQL TESTS

ThemeExample
IDORuser(id: "victim")
batchingarray of login or object fetch operations
hidden fieldsadmin-only fields exposed in type definitions
nested authz gapsrelated object fields with weaker checks

3. HIDDEN PARAMETER DISCOVERY

Look for:

  • fields present in admin docs but not public docs
  • additionalProperties or permissive schemas
  • frontend code using richer request bodies than visible UI controls
  • mobile endpoints carrying role, org, feature-flag, or internal filter fields

4. NEXT ROUTING

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills