Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
GraphQLer — ☸The first ever dependency-aware GraphQL API testing tool! | Kitploit
Tools/GitLabGitLab/omar2535/graphqler
Vulnerability AnalysisAPI Security TestingWeb SecurityFuzzing
GitLabomar2535/graphqler

GraphQLer

☸The first ever dependency-aware GraphQL API testing tool!

View RepositoryWebsite
2 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

The only dependency-aware GraphQL API testing tool!

python3.12 Maintainability lint tests_status security

GraphQLer is a cutting-edge tool designed to dynamically test GraphQL APIs with a focus on adaptability. It offers a range of sophisticated features that streamline the testing process and ensure robust analysis of GraphQL APIs. GraphQLer proficiently manages created objects and resources, effectively identifies dependencies on objects, queries, and mutations, and dynamically rectifies errors within queries based on the API's restrictions. GraphQLer has been used to find many bugs in production-grade GraphQL APIs!

Video Demo

Key features

  • Dependency awareness: Run queries and mutations based on their dependencies!
  • Dynamic testing: Keep track of resources created during testing
  • Error correction: Try and fix requests so that the GraphQL API accepts them
  • Statistics collection: Shows your results in a nice file
  • Ease of use: All you need is the endpoint and maybe the authentication token 😁

Getting started

To begin using GraphQLer, check out the installation guide.

Usage

root@kitploit:~
❯ python3 main.py --help
usage: main.py [-h] [--compile] [--fuzz] [--run] --path PATH [--auth AUTH] --url URL

options:
  -h, --help   show this help message and exit
  --compile    runs on compile mode
  --fuzz       runs on fuzzing mode
  --run        run both the compiler and fuzzer (equivalent of running --compile then running --fuzz)
  --path PATH  directory location for saved files and files to be used from
  --auth AUTH  authentication token Example: 'Bearer arandompat-abcdefgh'
  --url URL    remote host URL

Below will be the steps on how you can use this program to test your GraphQL API. The usage is split into 2 phases, compilation and fuzzing.

  • Compilation mode:This mode is responsible for running an introspection query against the given API and generating the dependency graphh
  • Fuzzing mode: This mode is responsible for traversing the dependency graph and sending test requests to the API

A third mode is also included for ease of use, called run mode. this mode compiles both the compilation and fuzzing mode into one single command.

Compile mode

root@kitploit:~
(.env) python main.py --compile --url <URL> --path <SAVE_PATH>

After compiling, you can view the compiled results in the <SAVE_PATH>/compiled. Additionally, a graph will have been generated called dependency_graph.png for inspection. Any UNKNOWNS in the compiled .yaml files can be manually marked; however, if not marked the fuzzer will still run them but just without using a dependency chain.

Fuzz mode

root@kitploit:~
(.env) python main.py --fuzz --url <URL> --path <SAVE_PATH>

While fuzzing, statistics related to the GraphQL API and any ongoing request counts are logged in the console. Any request return codes are written to <SAVE_PATH>/stats.txt. All logs during fuzzing are kept in <SAVE_PATH>/logs/fuzzer.log. The log file will tell you exactly which requests are sent to which endpoints, and what the response was. This can be used for further result analysis.

Run mode

Runs both the Compile mode and Fuzz mode

root@kitploit:~
(.env) python main.py --run --url <URL> --path <SAVE_PATH>

Advanced features

There are also varaibles that can be modified in the constants.py file. These correspond to specific features implemented in GraphQLer, and can be tuned to your liking.

Download Tool
Variable NameVariable DescriptionVariable TypeDefault
MAX_LEVENSHTEIN_THRESHOLDThe levenshtein distance between objects and object IDsInteger20
MAX_OBJECT_CYCLESMax number of times the same object should be materialized in the same query/mutationInteger3
MAX_OUTUPT_SELECTOR_DEPTHMax depth the query/mutation's output should be expanded (such as the case of infinitely recursive selectors)Integer3
USE_OBJECTS_BUCKETWhether or not to store object IDs for future useBooleanTrue
USE_DEPENDENCY_GRAPHWhether or not to use the dependency-aware featureBooleanTrue
MAX_FUZZING_ITERATIONSMaximum number of fuzzing payloads to run on a nodeInteger5
MAX_TIMEThe maximum time to runInteger3600