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

Add query complexity gate #934

Open
timonmasberg opened this issue Jun 18, 2024 · 0 comments
Open

Add query complexity gate #934

timonmasberg opened this issue Jun 18, 2024 · 0 comments
Labels
help-needed An Issue that can be worked on by external contributors. status:needs-triage type:feature-request type:security

Comments

@timonmasberg
Copy link
Member

A common thread for GraphQL APIs is to attack via complex queries (repeating resolvable fields multiple times etc...). We should protect against that by using the following package https://github.com/slicknode/graphql-query-complexity, first with default settings, later we should narrow down optimal settings.

@timonmasberg timonmasberg added status:needs-triage type:feature-request type:security help-needed An Issue that can be worked on by external contributors. labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-needed An Issue that can be worked on by external contributors. status:needs-triage type:feature-request type:security
Projects
None yet
Development

No branches or pull requests

1 participant