# InQL v5: A Technical Deep Dive

DevFeed: [InQL v5: A Technical Deep Dive](<https://devfeed.tech/articles/inql-v5-a-technical-deep-dive-92038.md>)

Original publisher: [Read original article](<https://blog.doyensec.com/2023/08/17/inql-v5.html>)

Published: 2023-08-16T22:00:00Z

Content type: article

Language: en

Sources: [Doyensec](<https://devfeed.tech/sources/doyensec.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>)

Tags: [annotations](<https://devfeed.tech/tags/annotations.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [automation](<https://devfeed.tech/tags/automation.md>), [bug-bounty](<https://devfeed.tech/tags/bug-bounty.md>), [burp-suite](<https://devfeed.tech/tags/burp-suite.md>), [contributors](<https://devfeed.tech/tags/contributors.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [developer-community](<https://devfeed.tech/tags/developer-community.md>), [doyensec](<https://devfeed.tech/tags/doyensec.md>), [doyensecurity](<https://devfeed.tech/tags/doyensecurity.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [hacking](<https://devfeed.tech/tags/hacking.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [logging](<https://devfeed.tech/tags/logging.md>), [offensive](<https://devfeed.tech/tags/offensive.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pentest](<https://devfeed.tech/tags/pentest.md>), [pentester](<https://devfeed.tech/tags/pentester.md>), [python](<https://devfeed.tech/tags/python.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [security](<https://devfeed.tech/tags/security.md>), [students](<https://devfeed.tech/tags/students.md>), [technical-deep-dive](<https://devfeed.tech/tags/technical-deep-dive.md>), [testing](<https://devfeed.tech/tags/testing.md>), [v5](<https://devfeed.tech/tags/v5.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

InQL v5 moves the Burp Suite extension from Jython toward Kotlin while embedding the Jython runtime to keep older code working. Kotlin's compatibility with Burp's Java base also lets InQL bundle its multi-file code and static assets in a JAR, avoiding the prior stickytape packaging approach. The refactored schema parser, GQLSpection, is a standalone library compatible with Python 2/3 and Jython and includes a CLI; it also replaces InQL's former standalone and CLI modes. New features include customizable keyword scans that report Points of Interest in text or JSON, configurable logging for parser errors, and inline schema descriptions or type annotations that help infer query inputs. The annotations can make output harder to navigate. The roadmap mentions restoring GraphiQL and Circular Relationship Detection to reach v4 feature parity.

## Source excerpt

We're thrilled to pull back the curtain on the latest iteration of our widely-used Burp Suite extension - InQL. Version 5 introduces significant enhancements and upgrades, solidifying its place as an indispensable tool for penetration testers and bug bounty hunters. Introduction The Journey So Far: From Jython to Kotlin The Challenges of Converting a Burp Extension Into Kotlin Sidestepping the need for stickytape Introducing GQLSpection: The Core of InQL v5.x New Features Points of Interest Improved Logging In-line Annotations The Future of InQL and GraphQL Security InQL: A Great Project for Students and Contributors Conclusion Introduction The cybersecurity landscape is in a state of constant flux. As GraphQL adoption surges, the demand for an adaptable, resilient testing tool has become paramount. As leaders in GraphQL security, Doyensec is proud to reveal the most recent iteration of our open-source testing tool - InQL v5.x. This isn't merely an update; it's a comprehensive revamp designed to augment your GraphQL testing abilities. The Journey So Far: From Jython to Kotlin Our journey with InQL started on the Jython platform. However, as time went by, we began to experience the limitations of Jython - chiefly, its lack of support for Python 3, which made it increasingly difficult to find compatible tooling and libraries. It was clear a transition was needed. After careful consideration, we chose Kotlin. Not only is it compatible with Java (which Burp is written in), but it also offers robustness, flexibility, and a thriving developer community. The Challenges of Converting a Burp Extension Into Kotlin We opted to include the entire Jython runtime (over 40 MB) within the Kotlin extension to overcome the challenges of reusing the existing Jython code. Although it wasn't the ideal solution, this approach allowed us to launch the extension as Kotlin, initiate the Jython interpreter, and delegate execution to the older Jython code. class BurpExtender: IBurpExtender, I