Skip to content

Add GraphQL introspection detection (#95)#228

Open
jthack wants to merge 2 commits intomainfrom
issue-95-graphql-introspection
Open

Add GraphQL introspection detection (#95)#228
jthack wants to merge 2 commits intomainfrom
issue-95-graphql-introspection

Conversation

@jthack
Copy link
Copy Markdown
Contributor

@jthack jthack commented Oct 23, 2025

Summary

  • parse GraphQL responses for data.__schema / data.__type to spot enabled introspection
  • provide fallback regex detection when JSON parsing fails
  • register the passive check and enable it in the Balanced preset

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test -- --match 'GraphQL introspection'

Closes #95

@jthack jthack requested a review from a team as a code owner October 23, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL introspection enabled

1 participant