| name | testing-api-security-with-owasp-top-10 |
| description | Use when systematically assessing REST and GraphQL API endpoints against the OWASP API Security Top 10 risks using automated and manual testing techniques. |
| domain | cybersecurity |
| tags | ["penetration-testing","api-security","owasp","rest-api","graphql","burpsuite","postman"] |
| 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"] |
Testing Api Security With Owasp Top 10
Overview
Cybersecurity skill for testing api security with owasp top 10. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"testing api security with owasp top 10"
-
"Systematically assessing REST and GraphQL API endpoints against the OWASP API Se"
-
During authorized API penetration testing engagements
-
When assessing REST, GraphQL, or gRPC APIs for security vulnerabilities
-
Before deploying new API endpoints to production environments
-
When reviewing API security posture against the OWASP API Security Top 10 (2023)
-
For validating API gateway security controls and rate limiting effectiveness
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 scope document covering all API endpoints to be tested
- Burp Suite Professional: For intercepting and modifying API requests
- Postman: For organizing and executing API test collections
- ffuf: For API endpoint and parameter fuzzing
- curl/httpie: Command-line HTTP clients for manual testing
- API documentation: Swagger/OpenAPI spec, GraphQL schema, or API docs
- jq: JSON processor for parsing API responses (
apt install jq)
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()}