Logo di Graphql Audit

Graphql Audit

Community
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

Panoramica

Pubblicato daH-mmer
Repositorypentest-agents
Nome della skillgraphql-audit
Stelle
999
Fork
188
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da H-mmer su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Graphql Audit in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-graphql-audit
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Graphql Audit in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Graphql Audit non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Graphql Audit non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Graphql Audit?

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

Perché usare Graphql Audit su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Graphql Audit è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Graphql Audit in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-graphql-audit. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Graphql Audit?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Graphql Audit?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Graphql Audit: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Graphql Audit è gratuita?

È pubblicata su GitHub da H-mmer. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇