| name | performing-graphql-security-assessment |
| description | Assessing GraphQL API endpoints for introspection leaks, injection attacks, authorization flaws, and denial-of-service vulnerabilities during authorized security tests. Use when working with performing graphql security assessment. |
| domain | cybersecurity |
| tags | ["penetration-testing","graphql","api-security","owasp","web-security","introspection"] |
| subdomain | web-application-security |
| version | 1.0 |
| author | oyi77 |
| license | Apache-2.0 |
| nist_csf | ["PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01"] |
Performing Graphql Security Assessment
Overview
Cybersecurity skill for performing graphql security assessment. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"performing graphql security assessment"
-
"Assessing GraphQL API endpoints for introspection leaks, injection attacks, auth"
-
During authorized penetration tests when the target application uses a GraphQL API
-
When assessing single-page applications (React, Vue, Angular) that communicate via GraphQL
-
For evaluating mobile app backends that expose GraphQL endpoints
-
When testing microservice architectures with a GraphQL gateway or federation
-
During bug bounty programs targeting GraphQL-based APIs
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Authorization: Written penetration testing agreement for the target
- Burp Suite Professional: With InQL extension for GraphQL scanning
- GraphQL Voyager: Schema visualization tool
- InQL Scanner: Burp extension for GraphQL introspection and query generation
- Altair GraphQL Client: Desktop GraphQL client for interactive testing
- clairvoyance: GraphQL schema enumeration when introspection is disabled
- curl: For manual GraphQL query submission
Workflow
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: ) -> :
{k: re.findall(v, text) k, v IOC_PATTERNS.items()}