Files
nuclei-templates/http/technologies/graphql/graphql-strawberry-detect.yaml
2025-07-15 07:10:31 +00:00

32 lines
916 B
YAML

id: graphql-strawberry-detect
info:
name: Graphql Strawberry Detect
author: princechaddha
severity: info
reference: https://github.com/dolevf/graphw00f/blob/main/graphw00f/lib.py
tags: tech,graphql,strawberry
http:
- method: POST
path:
- "{{BaseURL}}/graphql"
- "{{BaseURL}}/api/graphql"
- "{{BaseURL}}/query"
- "{{BaseURL}}/"
body: '{"query":"query @deprecated { __typename }"}'
headers:
Content-Type: application/json
redirects: true
matchers-condition: and
matchers:
- type: status
status:
- 200
- 400
- type: word
words:
- "Directive '@deprecated' may not be used on query."
part: body
# digest: 490a0046304402206b15b50e4ad10a09d548d6e289baa2b1ec35387a20b75c03c1670ae179f9af5a02200362ab37add64b4971329996b9f4587afaf405b59195ac082f6e88befacd44ab:922c64590222798bb761d5b6d8e72950