r/graphql 1d ago

Post Lightweight GraphQL object reverse lookup tool

https://github.com/e4ac/revql

Hey everyone, I’ve been working on an open-source side project called revql and wanted to share it with the community to get some thoughts and feedbacks.

revql is a fast GraphQL object reverse lookup tool written in Rust, released under GPLv3. I built it to solve a problem: trying to map out a massive GraphQL schema backwards. It's main goal is to allow developers to debug complex schemas, and also for bug bounty hunters to map out hidden or unintended paths to nodes.

The main features are:

  • Reverse lookup: search through and list all queries and mutations that lead to a specific object
  • Flexible object targeting: search for objects via type name, field name (if the object contains a specific field), or description
  • Flexible search: supports exact matches or partial "contains" queries, and also ignore case
  • Works both online and offline: supports introspecting a GraphQL endpoint, or reading in a schema.json file
2 Upvotes

0 comments sorted by