
API Security Testing
FreeComprehensive testing for REST and GraphQL API security.
Free · Opens the source repo
What API Security Testing does
The API Security Testing workflow is designed for developers and security professionals who need to ensure the robustness of their REST and GraphQL APIs. This skill provides a structured approach to identify potential vulnerabilities across various security aspects, including authentication, authorization, input validation, and rate limiting. By following the defined phases, users can systematically assess the security posture of their APIs and implement necessary improvements.
This workflow begins with API discovery, where users can enumerate endpoints, document methods, and identify parameters. Following this, the authentication phase tests various authentication mechanisms like API keys and JWT tokens. The authorization phase then ensures that access controls are correctly implemented, preventing unauthorized access to sensitive data and functions. Input validation is crucial for defending against injection attacks, and this workflow includes specific tests for SQL, NoSQL, and command injections.
In addition to these core areas, the skill addresses rate limiting to mitigate brute force attacks and resource exhaustion, as well as GraphQL-specific vulnerabilities such as query depth and complexity. The final phase focuses on error handling, ensuring that error messages do not disclose sensitive information. The included API security checklist and quality gates help users track their progress and ensure that all critical security elements are addressed before deployment.
When to use it
Use this workflow when performing security assessments on REST APIs or GraphQL endpoints, especially during development or before deployment.
When not to use it
This skill is not suitable for general-purpose testing or when environment-specific validations are required; expert review is recommended for comprehensive security assessments.
What you can build with it
Testing a New API
When developing a new API, use this workflow to ensure that all security aspects are thoroughly tested before launch.
Conducting a Security Audit
Utilize this skill during a security audit to assess existing APIs for compliance with security best practices.
Preparing for a Bug Bounty Program
Before launching a bug bounty program, run this workflow to identify and fix potential vulnerabilities.
How to install API Security Testing
View source1. Install with the skills CLI
npx skills add sickn33/agentic-awesome-skills/api-security-testing --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by sickn33API Security Testing Workflow
Overview
Specialized workflow for testing REST and GraphQL API security including authentication, authorization, rate limiting, input validation, and API-specific vulnerabilities.
When to Use This Workflow
Use this workflow when:
- Testing REST API security
- Assessing GraphQL endpoints
- Validating API authentication
- Testing API rate limiting
- Bug bounty API testing
Workflow Phases
Phase 1: API Discovery
Skills to Invoke
api-fuzzing-bug-bounty- API fuzzingscanning-tools- API scanning
Actions
- Enumerate endpoints
- Document API methods
- Identify parameters
- Map data flows
- Review documentation
Copy-Paste Prompts
Use @api-fuzzing-bug-bounty to discover API endpoints
Phase 2: Authentication Testing
Skills to Invoke
broken-authentication- Auth testingapi-security-best-practices- API auth
Actions
- Test API key validation
- Test JWT tokens
- Test OAuth2 flows
- Test token expiration
- Test refresh tokens
Copy-Paste Prompts
Use @broken-authentication to test API authentication
Phase 3: Authorization Testing
Skills to Invoke
idor-testing- IDOR testing
Actions
- Test object-level authorization
- Test function-level authorization
- Test role-based access
- Test privilege escalation
- Test multi-tenant isolation
Copy-Paste Prompts
Use @idor-testing to test API authorization
Phase 4: Input Validation
Skills to Invoke
api-fuzzing-bug-bounty- API fuzzingsql-injection-testing- Injection testing
Actions
- Test parameter validation
- Test SQL injection
- Test NoSQL injection
- Test command injection
- Test XXE injection
Copy-Paste Prompts
Use @api-fuzzing-bug-bounty to fuzz API parameters
Phase 5: Rate Limiting
Skills to Invoke
api-security-best-practices- Rate limiting
Actions
- Test rate limit headers
- Test brute force protection
- Test resource exhaustion
- Test bypass techniques
- Document limitations
Copy-Paste Prompts
Use @api-security-best-practices to test rate limiting
Phase 6: GraphQL Testing
Skills to Invoke
api-fuzzing-bug-bounty- GraphQL fuzzing
Actions
- Test introspection
- Test query depth
- Test query complexity
- Test batch queries
- Test field suggestions
Copy-Paste Prompts
Use @api-fuzzing-bug-bounty to test GraphQL security
Phase 7: Error Handling
Skills to Invoke
api-security-best-practices- Error handling
Actions
- Test error messages
- Check information disclosure
- Test stack traces
- Verify logging
- Document findings
Copy-Paste Prompts
Use @api-security-best-practices to audit API error handling
API Security Checklist
- Authentication working
- Authorization enforced
- Input validated
- Rate limiting active
- Errors sanitized
- Logging enabled
- CORS configured
- HTTPS enforced
Quality Gates
- All endpoints tested
- Vulnerabilities documented
- Remediation provided
- Report generated
Related Workflow Bundles
security-audit- Security auditingweb-security-testing- Web securityapi-development- API development
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Frequently asked questions about API Security Testing
Similar skills
GitHub Actions Hardening
Enhance the security of your GitHub Actions workflows.
Sensitive Logging Audit
Audit and fix sensitive data exposure in Python logging.
Android App Static Analysis
Automate security assessments of Android apps with MobSF.
Integrating DAST with OWASP ZAP
Seamlessly integrate dynamic security testing into CI/CD pipelines.
Implementing Runtime Security with Tetragon
Enhance Kubernetes security with eBPF-based observability.
Implementing Mobile Application Management
Secure enterprise data on mobile devices with app-level controls.
