vetkit.js.graphql.introspection-enabled
GraphQL introspection or a GraphQL IDE is enabled unconditionally. This exposes the full API schema in production.
Last updated:
Suite: Security
javascript, typescript
GraphQL introspection or a GraphQL IDE is enabled unconditionally. This exposes the full API schema in production.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Tie these options to the environment, e.g. introspection: process.env.NODE_ENV !== 'production', unless the API is intentionally public.
References
Source: packages/engine/rules/sast/javascript.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.