मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी48k · #4874

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-graphql/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. 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
  • graphene or strawberry (Python), graphql-ruby, gqlgen (Go), Lighthouse (Laravel)
  • POST requests with {"query": "..."} body shape in Burp history
  • __schema or __type in any response = confirmed GraphQL

Recon Sources:

  • github.com search: "graphql" site:target.com
  • Wayback Machine for /graphql paths
  • JS bundle scanning with LinkFinder or getallurls

Step-by-Step Hunting Methodology

  1. Discover the endpoint — spider JS bundles, check /graphql, /api/graphql, review Burp passive scan hits for application/json POST with query fields

  2. Test 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

  3. Map the full schema — use InQL (Burp extension) or graphql-voyager to visualize relationships. Specifically look for:

    • Mutations that modify ownership, permissions, or membership
    • Mutations that mirror REST API functionality
  4. Identify REST/GraphQL overlap — document every resource that can be modified via BOTH REST and GraphQL. These dual-write surfaces are your RC targets.

  5. Test authorization boundaries per mutation — replay mutations as lower-privilege users. Does the server enforce the same authz as the equivalent REST call?

  6. 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
  7. 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.

  8. 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 एक साथ बहुत सारा डेटा और फ़ंक्शनैलिटी दिखा सकते हैं। इनकी सिक्योरिटी टेस्ट करना ज़रूरी है ताकि संवेदनशील जानकारी चोरी न हो और सिस्टम का गलत इस्तेमाल न हो।

जानकारी

लेखक का मूल विवरण

Hunting skill for graphql vulnerabilities.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4874
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills