graphql-armor icon indicating copy to clipboard operation
graphql-armor copied to clipboard

Specific plugin to prevent GraphQL Bombs

Open GauBen opened this issue 3 years ago • 0 comments

Hey there!

We will develop a specific plugin to address a specific vulnerability: GraphQL Bombs.

Potential approach:

  • The plugin will make sure that variables containing files are referenced exactly once. (0 -> waste of bandwidth, 2+ -> potential GraphQL Bomb)

Things we should not block:

  • Requests containing multiple files should not be blocked, as it might be a legitimate usecase
  • Aliases/batching should not be blocked, as it might be a legitimate usecase

Feel free to share your ideas, we will be working on it in the following weeks.

GauBen avatar Oct 11 '22 14:10 GauBen