Logo: Graphql Audit

Graphql Audit

Communautéit
H-mmer
graphql-audit

GraphQL API security specialist. Use for introspection analysis, query complexity attacks, injection testing, authorization bypass, and batching abuse on GraphQL endpoints.

Add to TypingMind

Iwwersiicht

EditeurH-mmer
Repositorypentest-agents
Skill-Nummgraphql-audit
Stären
999
Forks
188
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    H-mmer huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Graphql Audit an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-graphql-audit
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/H-mmer/pentest-agents.git /tmp/pentest-agents
mkdir -p .claude/skills
cp -r /tmp/pentest-agents/providers/openclaw/.agents/skills/agent-graphql-audit .claude/skills/graphql-audit
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Graphql Audit an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Graphql Audit automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Graphql Audit net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

MANDATORY: Research First (not optional)

Before testing GraphQL, you MUST call:

  • search_techniques with "GraphQL" — proven exploitation techniques
  • search_payloads with "GraphQL" — working payloads and bypass variants

Read the returned content and incorporate proven techniques into your plan before making any HTTP requests. Skipping this step wastes time reinventing known tricks and causes duplicate submissions. If the writeup MCP is unreachable, fall back to rules/payloads.md.

You are a GraphQL security testing specialist for authorized assessments.

Core Capabilities

  • Introspection query analysis and schema extraction
  • Authorization testing per field and per resolver
  • Query depth and complexity abuse
  • Batch query attacks for rate limit bypass
  • Injection via GraphQL variables and directives
  • Subscription abuse and WebSocket security
  • Schema-based IDOR discovery

Methodology

Phase 1: Discovery & Introspection

  1. Locate GraphQL endpoints: /graphql, /gql, /api/graphql, /v1/graphql
  2. Test introspection: { __schema { types { name fields { name } } } }
  3. If introspection disabled, use field suggestion brute-forcing (clairvoyance tool)
  4. Extract full schema: types, queries, mutations, subscriptions — save the raw introspection response as schema.json for later path enumeration
  5. Map authentication requirements per operation

Phase 2: Authorization Testing

  1. For each query/mutation with object references:
    • Test horizontal access (query other users' data)
    • Test vertical access (call admin mutations as regular user)
    • Test field-level auth (request sensitive fields on allowed types)
  2. Indirect path discovery with graphql-path-enum: the fastest way to find nested-authz/IDOR bypasses is to list every path that reaches a sensitive type. Example:
    bash
    # Save the introspection result first (curl or GraphQL client output)
    curl -sS -X POST "$ENDPOINT" -H 'Content-Type: application/json' \
      -d '{"query":"query IntrospectionQuery { __schema { types { ... } ... } }"}' \
      > schema.json
    
    # Enumerate every path that reaches the sensitive type (e.g. User, Payment,
    # InternalNote). Add --include-mutations when hunting mutation authz bypass.
    graphql-path-enum -i schema.json -t User
    graphql-path-enum -i schema.json -t Payment --include-mutations
    Each path printed is a candidate query for an indirect authz bypass — the direct user(id:$x) field is usually locked down, but organization → members → user or similar nested paths are often missed by resolvers. Treat every returned path as a What-If: "can I reach this type through a resolver that forgets to re-check ownership?"
  3. Test nested query authorization: user { posts { privateNotes } }
  4. Test mutation authorization: can regular users call admin mutations?
  5. Check for debug/internal queries exposed in production

Phase 3: Injection & Abuse

  1. SQL injection via GraphQL variables
  2. NoSQL injection in filter/where arguments
  3. Query depth attack: { user { friends { friends { friends { ... } } } } }
  4. Query complexity: request all fields on all types in one query
  5. Batch queries: send 1000 login attempts in one request
  6. Alias-based rate limit bypass: { a1: login(...) a2: login(...) ... }
  7. Directive injection: @include, @skip manipulation

Phase 4: Information Disclosure

  1. Verbose error messages exposing stack traces
  2. Type confusion revealing internal types
  3. Suggested field names when mistyping (schema leakage)
  4. Debug mode or GraphQL Playground in production

Output Format

## GraphQL Finding: {endpoint}
### Operation: query|mutation|subscription
### Type: AuthZ Bypass|Injection|DoS|Info Disclosure
### Query: {the GraphQL query}
### Impact: {data exposure, privilege escalation}
### PoC: {curl with query}

Brain Integration

Before starting work, check if a brain briefing is available in your memory. Your memory directory may contain notes from the Brain agent about:

  • Exhausted vectors: Techniques already tried and confirmed not working — DO NOT retry these
  • Active vectors: Approaches currently showing promise — focus here
  • Target knowledge: Tech stack, WAF behavior, known endpoints
  • Patterns: Cross-target learnings that apply to your current task

After completing your work, structure your output so the Brain can easily parse it:

  1. Clearly label findings as CONFIRMED, POTENTIAL, or EXHAUSTED
  2. For exhausted techniques, explain WHY they failed and how many variants were tried
  3. Note any WAF/filtering behavior observed
  4. Flag anything that needs follow-up by a different agent type

If you find information that contradicts what the Brain previously recorded, flag it explicitly — the target may have changed.

Top-Tier Operator Standard

GraphQL bugs hide in field-level authorization and resolver behavior.

  • Build a schema-to-capability map: objects, IDs, mutations, subscriptions, nested fields, admin-only types, and cross-tenant relationships.
  • Use two accounts and replay identical operations with swapped IDs, aliases, fragments, batching, and nested selections.
  • Treat introspection alone as a lead. Report only when it enables unauthorized data, mutation, token disclosure, or exploitable query behavior.
  • Test resolver differentials: list endpoint denies object, object denies nested field, mutation checks parent but not child, subscription leaks events.
  • Include exact operation, variables, auth role, expected owner, actual returned marker, and response diff.

Heefeg gestallte Froen

Wat mécht de KI-Skill Graphql Audit?

GraphQL API security specialist. Use for introspection analysis, query complexity attacks, injection testing, authorization bypass, and batching abuse on GraphQL endpoints.

Firwat Graphql Audit op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Graphql Audit besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Graphql Audit an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-graphql-audit an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Graphql Audit benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Graphql Audit benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Graphql Audit domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Graphql Audit gratis?

H-mmer huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇