| name | wstg-apit-00 |
| description | API Testing Overview |
| category | api-testing |
| owasp_id | WSTG-APIT-00 |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["api","rest","graphql","soap","wstg","apit"] |
| tech_stack | [] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
wstg-apit-00
Test ID
WSTG-APIT-00
Test Name
API Testing Overview
High-Level Description
APIs (Application Programming Interfaces) are the backbone of modern applications, enabling communication between different services, mobile apps, and frontend interfaces. API security testing focuses on identifying vulnerabilities specific to API implementations including authentication, authorization, input validation, and business logic flaws.
API Types
REST APIs
- HTTP-based, stateless
- Uses standard methods (GET, POST, PUT, DELETE)
- JSON/XML responses
- Resource-based URLs
GraphQL APIs
- Single endpoint
- Query language for APIs
- Client-specified data retrieval
- Introspection capabilities
SOAP APIs
- XML-based protocol
- WSDL service descriptions
- Enterprise/legacy systems
- Strict contracts
What to Check
Authentication & Authorization
Input Validation
Data Protection
How to Test
Step 1: API Discovery
#!/bin/bash
TARGET=
endpoints=(
)
endpoint ;
status=$(curl -s -o /dev/null -w )
curl -s | jq 2>/dev/null
curl -s | jq 2>/dev/null