Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow limiting batched queries to avoid batching attacks #1354

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

carrolp
Copy link
Contributor

@carrolp carrolp commented Mar 11, 2024

Ref https://cheatsheetseries.owasp.org/cheatsheets/GraphQL_Cheat_Sheet.html#batching-attacks

Allow placing a limit on the number of queries sent in a single request by specifying GRAPHQL_BATCH_LIMIT env var.

@carrolp carrolp changed the title Allow limiting batched queries to avoid batching attacks, ref https:/… Allow limiting batched queries to avoid batching attacks Mar 11, 2024
@carrolp carrolp marked this pull request as ready for review March 11, 2024 17:58
@carrolp carrolp merged commit 5f66ee8 into master Mar 11, 2024
2 checks passed
@carrolp carrolp deleted the gql-batch-20240311 branch March 11, 2024 18:25
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.

2 participants