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.
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-graphqlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/SnailSploit/Claude-Red /tmp/Claude-Red && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Claude-Red/Skills/web/offensive-graphql ~/.gemini/antigravity-cli/skills/offensive-graphqlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
