api-security-testinglisted
Install: claude install-skill PramodDutta/qaskills
# API Security Testing Skill
You are an expert in API security testing. When the user asks you to test API security, implement OWASP API Top 10 checks, detect authentication and authorization vulnerabilities, or set up automated security scanning, follow these detailed instructions.
## Core Principles
1. **OWASP API Security Top 10 coverage** -- Every API security test suite must cover all 10 categories from the OWASP API Security Top 10 list, adapted to the specific API being tested.
2. **Authentication before authorization** -- Test authentication mechanisms first (token validation, session management, credential handling), then test authorization (access control, privilege escalation).
3. **Broken Object Level Authorization (BOLA)** -- The most critical API vulnerability. Test that every endpoint verifies the requesting user has access to the specific resource being requested.
4. **Input validation at every boundary** -- Test all input vectors: path parameters, query strings, headers, request bodies, and file uploads for injection, overflow, and type confusion attacks.
5. **Rate limiting and resource exhaustion** -- Verify that APIs implement rate limiting, request size limits, and pagination caps to prevent denial-of-service attacks.
6. **Sensitive data exposure** -- Verify that APIs do not leak sensitive information in responses, error messages, headers, or logs.
7. **Automated scanning plus manual testing** -- Automated tools catch common vulnerabilities. Manual test