Hunting Hidden GraphQL Mutations How I Found AddWorkspaceWhitelistDomains Using JavaScript Analysis
dev.to·14h·
Discuss: DEV
Flag this post

( صل علي النبي)

Introduction

During a recent penetration test, I encountered an application with restricted functionality due to plan limitations. However, by analyzing the JavaScript files, I discovered hidden GraphQL mutations that revealed undocumented API behavior. This blog explains how I uncovered and tested one of them — AddWorkspaceWhitelistDomains.


Methodology

Step 1 – Searching JavaScript for GraphQL operations

I searched through the application’s .js files for mutation and query keywords to locate GraphQL operations used by the UI.

Step 2 – Using Wayback Machine & VirusTotal & Burp Suite search

I used the Wayback Machine and VirusTotal to recover archived or cached versions of the JS files that were no longer accessible.

Step 3 – Aggre…

Similar Posts

Loading similar posts...