hunt-graphql
यह क्या करती है
यह टूल GraphQL इस्तेमाल करने वाले सिस्टम में सिक्योरिटी की कमियाँ ढूँढने में मदद करता है। यह ऐसे तरीके खोजता है जिनसे वह जानकारी देखी जा सके या वे काम किए जा सकें जो अनुमति के बिना नहीं होने चाहिए, और इसके लिए GraphQL सिस्टम के बाकी हिस्सों के साथ उसके मेल-जोल का फ़ायदा उठाता है।
कब इस्तेमाल करें
- ✓जब किसी वेबसाइट या ऐप की सिक्योरिटी टेस्ट करनी हो।
- ✓यह जाँचने के लिए कि GraphQL सिस्टम बिना अनुमति एक्सेस से सुरक्षित है या नहीं।
- ✓GraphQL API में सिक्योरिटी के जोखिमों को समझने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-graphql/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“https://example.com/graphql पर GraphQL API की सिक्योरिटी कमियाँ ढूँढो”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल URL, रिस्पॉन्स और कोड के पैटर्न देखकर GraphQL endpoint पहचानता है। फिर उस endpoint से बातचीत करके संवेदनशील जानकारी या कमियाँ ढूँढने की कोशिश करता है, जैसे गलत परमिशन या race condition।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Crown Jewel Targets
GraphQL vulnerabilities are high-value because the attack surface is both broad and deep — a single endpoint can expose entire data models, privilege escalation paths, and cross-API state confusion. Highest payouts occur in:
- Platform APIs (GitHub, Shopify, Stripe-tier targets) where GraphQL mutations interact with REST APIs managing the same resources
- Race conditions between GraphQL mutations and REST endpoints where state synchronization is non-atomic — these hit medium-to-high severity reliably
- Authorization persistence bugs where team/org/repo membership state is controlled by one API but readable/writable by another
- B2B SaaS platforms where one tenant affecting another via schema traversal = critical
- Internal admin GraphQL endpoints accidentally exposed to lower-privilege users
The GitHub reports demonstrate the crown jewel pattern: privilege that should be revoked persists because two APIs disagree on ground truth.
Attack Surface Signals
URL Patterns:
/graphql
/api/graphql
/v1/graphql
/query
/gql
/graph
/api/v2/graphql
/internal/graphql
Response Headers:
Content-Type: application/json (with query body)
X-Request-Id + no REST-style path params = likely GraphQL
JavaScript Source Patterns:
// grep for these in JS bundles
"query {"
"mutation {"
"__typename"
"apollo"
"ApolloClient"
"graphql-tag"
"gql`"
"operationName"
"GRAPHQL_URI"
Tech Stack Signals:
- Apollo Server/Client in JS bundles
- Relay in React apps
grapheneorstrawberry(Python),graphql-ruby,gqlgen(Go),Lighthouse(Laravel)- POST requests with
{"query": "..."}body shape in Burp history __schemaor__typein any response = confirmed GraphQL
Recon Sources:
github.comsearch:"graphql" site:target.com- Wayback Machine for
/graphqlpaths - JS bundle scanning with
LinkFinderorgetallurls
Step-by-Step Hunting Methodology
Discover the endpoint — spider JS bundles, check
/graphql,/api/graphql, review Burp passive scan hits forapplication/jsonPOST with query fieldsTest introspection — send the full introspection query. Even if blocked, try field-level enumeration:
{ __typename }If that returns, introspection may be partially blocked but the schema is discoverable
Map the full schema — use
InQL(Burp extension) orgraphql-voyagerto visualize relationships. Specifically look for:- Mutations that modify ownership, permissions, or membership
- Mutations that mirror REST API functionality
Identify REST/GraphQL overlap — document every resource that can be modified via BOTH REST and GraphQL. These dual-write surfaces are your RC targets.
Test authorization boundaries per mutation — replay mutations as lower-privilege users. Does the server enforce the same authz as the equivalent REST call?
Hunt cross-API state desync — find sequences where:
- REST action should revoke access
- GraphQL mutation re-grants or preserves it
- Test the ordering: REST first → GraphQL → check state; then GraphQL first → REST → check state
Test for persistent privilege after role/membership changes — remove a user via REST, then call the corresponding GraphQL mutation for that resource. Query current state via both APIs and compare.
Probe for IDOR in node IDs — GraphQL global IDs often encode object type + ID. Swap IDs across object boundaries and across account contexts.
…
अक्सर पूछे जाने वाले सवाल
GraphQL क्या है?
GraphQL API बनाने का एक तरीका है। API वह इंटरफ़ेस है जिससे अलग-अलग सॉफ़्टवेयर एक-दूसरे से बात करते हैं। इसमें यूज़र को ठीक वही डेटा माँगने की आज़ादी मिलती है जितना उसे चाहिए।
Vulnerabilities यानी कमियाँ क्या हैं?
Vulnerabilities सिक्योरिटी की वे खामियाँ हैं जिनका फ़ायदा बुरे इरादे वाले लोग उठा सकते हैं। इनसे निजी जानकारी चोरी हो सकती है, सिस्टम गलत तरीके से कंट्रोल हो सकता है, या और नुकसान हो सकता है।
GraphQL API की टेस्टिंग क्यों ज़रूरी है?
GraphQL API एक साथ बहुत सारा डेटा और फ़ंक्शनैलिटी दिखा सकते हैं। इनकी सिक्योरिटी टेस्ट करना ज़रूरी है ताकि संवेदनशील जानकारी चोरी न हो और सिस्टम का गलत इस्तेमाल न हो।
जानकारी
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4874
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।