vulnforge_audit_graphql
Audits GraphQL schemas, resolvers, queries, and server configurations for introspection exposure, cyclic query depth DoS, query batching attacks, field complexity bypass, and sensitive field leakage without authorization.
Instructions
Audits GraphQL schemas, resolvers, queries, and server configurations for introspection exposure, cyclic query depth DoS, query batching attacks, field complexity bypass, and sensitive field leakage without authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceFile | No | Source filename or endpoint identifier for reporting (optional) | |
| queryPayload | No | Client GraphQL query string or batch array payload to analyze for depth and complexity (optional) | |
| resolversCode | No | Resolver definitions code (optional) | |
| rawCodeOrQuery | No | Unified raw GraphQL code, query, or server script if not pre-split (optional) | |
| schemaOrTypeDefs | No | GraphQL SDL schema or typeDefs string (optional) | |
| serverConfigCode | No | Server initialization code for Apollo Server, Yoga, Express GraphQL, etc. (optional) |