Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

offensive-graphql

Skill by SnailSploit

Offensive GraphQL is a skill for attacking GraphQL APIs during penetration tests and bug bounty engagements. It covers the full attack lifecycle, from endpoint discovery and schema reconstruction to authorization bypass, batching abuse and denial of service testing.

  • Score 88
  • 12k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install offensive-graphql

Built from the published package, never by AI.

git clone --depth 1 https://github.com/SnailSploit/Claude-Red /tmp/Claude-Red && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-Red/Skills/web/offensive-graphql ~/.claude/skills/offensive-graphql

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install offensive-graphql in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Offensive GraphQL is a methodology skill for attacking GraphQL APIs during penetration tests and bug bounty engagements. It walks through a lifecycle of twelve phases, from endpoint discovery and fingerprinting to chaining findings into multi-step attack paths. Each phase includes concrete queries, curl commands and tool invocations.

The skill covers introspection abuse, including blind schema reconstruction with clairvoyance when introspection is disabled. It also covers Relay node ID IDOR, nested authorization gaps, injection through resolvers, query batching for brute force and OTP bypass, depth and alias denial of service, subscription hijacking, error-based disclosure, and multipart file upload abuse. It names tools such as InQL, graphql-cop, CrackQL, BatchQL, Altair and GraphQL Voyager. It is aimed at security testers working on GraphQL targets.

Written from the project's SKILL.md and checked against it.

What it can do

  • Endpoint discoveryProbes common GraphQL paths and fingerprints the implementation with graphw00f.
  • Schema reconstructionDumps the full schema, or rebuilds it with field suggestions and clairvoyance.
  • Authorization bypassTests Relay node IDs, nested objects, cursors and mutations for missing checks.
  • Injection testingCovers SQL and NoSQL injection, directive flooding and SSRF through resolver arguments.
  • Batching attacksUses batched operations for credential brute force, OTP bypass and rate limit evasion.
  • Denial of service testingCovers depth bombs and alias amplification against query cost controls.
  • Subscription probingTests WebSocket subscriptions with expired or missing tokens.
  • Error-based disclosureHarvests information from verbose errors, type mismatches and field suggestions.
  • File upload abuseTests the multipart GraphQL specification for oversized or malicious files.
  • Tool guidanceExplains use of InQL, graphql-cop, CrackQL, BatchQL, Altair, Voyager and clairvoyance.

What you need

  • Python 3 for the scripts shown
  • Burp Suite for InQL
  • curl

Try asking

  • Map the GraphQL schema of this API and list the sensitive types.
  • Test this GraphQL endpoint for IDOR through Relay node IDs.
  • Check whether query batching lets me brute force this login mutation.

Good to know

  • Source text ends partway through the denial of service section.
  • Per the source, Apollo Sandbox cannot bypass introspection set to false.
  • Written for penetration tests and bug bounty engagements.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: Skills/web/offensive-graphql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md22 KB

Alternatives to offensive-graphql

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

offensive-graphql: common questions

Does this work when GraphQL introspection is disabled?

The skill describes field suggestion probing with clairvoyance to rebuild the schema when introspection is blocked. It also states that Apollo Sandbox cannot bypass introspection set to false.

Which tools does it cover?

It includes guidance for InQL, graphql-cop, CrackQL, BatchQL, Altair, GraphQL Voyager and clairvoyance.

Who is this skill for?

It is written for penetration testers and bug bounty hunters who test GraphQL APIs.

How do I install offensive-graphql?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is offensive-graphql free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is offensive-graphql safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to offensive-graphql?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

offensive-graphql Install

Add to stack

Loading.