360 Secure SkillHub
360 安全技能中心

graphql-and-hidden-parameters

该 Skill 是一份 GraphQL 与隐藏参数测试手册,涵盖 introspection、字段建议、批处理、IDOR、隐藏字段和嵌套鉴权缺口,并引导发现未公开参数及按需转到 API 授权、JWT 滥用或 API 侦察相关 Skill。它只提供思路与查询示例,不包含可执行工具或具体目标信息。

yaklang
热度 0.00
最近更新 2026-10-19 02:00:21
分类:安全依赖:纯提示词应用场景:API 集成 / 研究

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add yaklang/hack-skills/graphql-and-hidden-parameters
Metadata
name
graphql-and-hidden-parameters
description
GraphQL and hidden parameter testing playbook. Use when exploring introspection, batching, undocumented fields, hidden parameters, schema abuse, and GraphQL authorization gaps.

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

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

Theme Example
IDOR user(id: "victim")
batching array of login or object fetch operations
hidden fields admin-only fields exposed in type definitions
nested authz gaps related 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