githubEdit

API Security

API Discovery

Passive Discovery

# Find API endpoints in JavaScript files
# https://github.com/m4ll0k/SecretFinder
python3 SecretFinder.py -i https://target.com -e

# https://github.com/GerbenJavado/LinkFinder
python3 linkfinder.py -i https://target.com -d -o cli

# Wayback Machine for historical endpoints
# https://github.com/tomnomnom/waybackurls
echo "target.com" | waybackurls | grep -E "api|v[0-9]|graphql"

# Search for API documentation
site:target.com filetype:yaml
site:target.com filetype:json swagger
site:target.com inurl:api-docs
site:target.com inurl:swagger
site:target.com inurl:openapi

Active Discovery

REST API Testing

Authentication Bypass

IDOR (Insecure Direct Object Reference)

Mass Assignment

Rate Limiting Bypass

JWT Attacks

See dedicated JWT section for detailed attacks.

GraphQL Testing

Discovery

Introspection Query

GraphQL Attacks

GraphQL Tools

gRPC Testing

Setup

Enumeration

gRPC Attacks

API-Specific Vulnerabilities

Broken Object Level Authorization (BOLA)

Broken Function Level Authorization (BFLA)

Server-Side Request Forgery (SSRF)

Excessive Data Exposure

Tools

Resources

Last updated

Was this helpful?