graphql_find_hidden
Discover undocumented GraphQL fields by analyzing suggestion errors and probing for sensitive field names. This tool sends read-only queries to reveal hidden type information for security testing.
Instructions
Find hidden/undocumented fields on a GraphQL type using field suggestion errors. Sends queries with intentionally misspelled field names to trigger GraphQL's field suggestion feature, which reveals valid field names. Also tries common sensitive field names directly. Returns: {discovered_fields: [str], suggestion_results: [...], direct_probe_results: [...]}. Side effects: Read-only POST requests. Sends ~25 requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | GraphQL endpoint URL | |
| type_name | Yes | GraphQL type to probe for hidden fields, e.g. 'User', 'Post', 'BlogPost' | |
| known_field | No | A known field on this type to use in queries, e.g. 'id' or 'title' | id |
| query_name | No | Query name to use for fetching objects, e.g. 'getUser' or 'getBlogPost' | |
| query_arg | No | Query argument, e.g. 'id: 1' or 'slug: "test"' | |
| auth_header | No | Authorization header value | |
| auth_cookie | No | Session cookie |