graphql-testing
GraphQL security testing — introspection, injection, auth bypass, DoS
от VigilOSS★ 35 звёзд на GitHub
Установить graphql-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GraphQL Security Testing
When to Activate
- A GraphQL endpoint (
/graphql,/gql,/api/graphql, POST, GET or WebSocket subscription transport), requests carryingquery/mutation/operationName, or GraphiQL/Playground.
--technique GRAPHQL for schema and resolver probes (credits graphql-injection); switch to the
sink's class (SQLI, IDOR, AUTH, SSRF) when a resolver argument reaches that sink. Craft in
any client, replay through vigil assess kali exec … --intent … --phase consume-test --timeout <N>.
Payloads (endpoint discovery, introspection, partial __type, field suggestion, batching,
DoS shapes): agent/references/payloads/graphql-payloads.md. Resolver
authorization beyond node(id:) (Relay global-ID forging, alias/batch enumeration, mutation BOLA,
GraphQL-over-WebSocket subscriptions): agent/references/access-control/idor-modern-architectures.md
"GraphQL" — load it as soon as any resolver takes an ID.
Methodology
- Schema. Introspection, then partial
__typequeries and field suggestions. With introspection off, a "Did you mean …" suggestion still leaks the schema: rebuild it with clairvoyance (clairvoyance -o schema.json -w <wordlist> -d https://target/graphql). Map sensitive fields, relationships, hidden/internal and debug fields. - Resolver authorization. Authorization usually lives on resolvers, not the gateway, so it is
commonly missed: swap IDs on every ID-taking resolver (cross-tenant included), traverse
relationships (
order(id){ user { email } }), request privileged fields (role,passwordHash), call admin mutations with a user token, and drop the auth header entirely. Mutation inputs that accept undocumented nested fields (role,isAdmin,ownerId) go toagent/skills/mass-assignment/SKILL.md. - Injection through variables: variables are not sanitised; a string argument interpolated
into SQL/NoSQL/OS/URL sinks takes the classic payloads — hand off to
sqli-testing,nosql-injection,command-injectionorssrf-testingfor the confirmation loop (OOB viaagent/references/offensive-tactics/frp-tunneling.md). - Batching defeats per-request limits. Array-body batching and alias batching
(
a1: login(...) a2: login(...)) put N attempts in one HTTP request: login, OTP, coupon and enumeration endpoints. Show the limit is bypassed with a small batch; brute force at volume only where the VDP permits (agent/rules/hunting.md§10,agent/skills/rate-limit-bypass/SKILL.md). - Resource exhaustion (depth, circular fragments, alias amplification, huge pagination) only when the ROE allows availability testing; otherwise record the missing depth/complexity limit with a single bounded measurement, since a DoS claim on its own is usually out of scope.
What to Record
Endpoint and transports, the schema evidence as captured (verbatim; ADR 0019), the query or
mutation with broken access control, and the attacker outcome with one minimal sample
(agent/rules/hunting.md §2, §10). Format: agent/references/runtime-guides/web-finding-recording.md.
Kill Signals
- Introspection off and suggestions/clairvoyance find nothing → test only query names from source analysis.
- Every mutation enforces authorization and resolver ID swaps return nothing foreign.
- Depth/complexity limits and per-operation rate limits are enforced.
Escalate When
- Suggestions leak the schema → rebuild it before moving on.
- A resolver takes an ID → cross-tenant reads (modern-architectures reference).
- Batching/aliasing is accepted → stack aliases against login/OTP/coupon.
- Errors, timing or an OOB callback show a variable reaching a downstream sink → injection skill.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл graphql-testing?
GraphQL security testing — introspection, injection, auth bypass, DoS
Как установить скилл graphql-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл graphql-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…