mcpField
G
graphql-and-hidden-parameters

graphql-and-hidden-parameters

github.com/yaklangSecurity2.6k3.7k installsUpdated 6w ago
Repository

About graphql-and-hidden-parameters

A security-testing skill for agents and testers examining GraphQL and REST APIs. It focuses on schema discovery, undocumented parameters, and the security effects of batching.

Key features

  1. 01GraphQL schema discovery
  2. 02Error and field-suggestion probes
  3. 03Undocumented parameter checks
  4. 04Batching security tests
  5. 05Routes follow-up testing

Use cases

  1. 01Map a restricted GraphQL schema
  2. 02Check authorization on undocumented fields
  3. 03Test batching effects on auth or rate limits

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/yaklang/hack-skills --skill graphql-and-hidden-parameters

After installing, type/graphql-and-hidden-parametersin Claude Code to confirm it loaded.

Details

From the project README

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

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

Comments

Markdown supported