Agent skill

testing-graphql-security

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/testing-graphql-security

SKILL.md


name: testing-graphql-security description: >- Test GraphQL API security including introspection disclosure, query depth attacks, batching abuse, IDOR via node interface, and injection through resolver arguments. domain: cybersecurity subdomain: bug-bounty tags:

  • graphql
  • introspection
  • query-depth
  • api-security version: "1.0" author: defconxt license: AGPL-3.0 metadata: mitre-attack: ["T1190"] frameworks: ["MITRE ATT&CK", "OWASP"] tools: ["burpsuite", "graphql-voyager", "inql"]

Testing Graphql Security

Overview

Test GraphQL API security including introspection disclosure, query depth attacks, batching abuse, IDOR via node interface, and injection through resolver arguments.

Prerequisites

Tool / Requirement Details
burpsuite Security tooling
graphql-voyager Security tooling
inql Security tooling
Burp Suite with InQL, GraphQL Voyager, target GraphQL endpoint Environment requirement

Quick Reference

bash
# Quick start commands
node scripts/agent.js --help
node scripts/agent.js enumerate --url https://target.com/graphql

Workflow

Step 1: Enumerate Schema

bash
node scripts/agent.js enumerate --url https://target.com/graphql

Step 2: Test Query Depth

bash
node scripts/agent.js test --url https://target.com/graphql --vector depth

Step 3: Fuzz Resolvers

bash
node scripts/agent.js fuzz --url https://target.com/graphql --wordlist resolvers.txt

Verification

  • Verify schema enumeration: node scripts/agent.js enumerate --url https://target.com/graphql
  • Confirm findings: node scripts/agent.js report --url https://target.com/graphql

References

  • MITRE ATT&CK: T1190
  • Frameworks: MITRE ATT&CK, OWASP
  • Tools: burpsuite, graphql-voyager, inql

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results