mcpbeat Sign in

API Security Testing Agent Skill

API security testing workflow for REST and GraphQL APIs covering authentication, authorization, rate limiting, input validation, and security best practices.

981 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
223
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/lingxling/awesome-skills-cn --skill api-security-testing

The instruction itself

36 sections, as written by the author

API 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 fuzzing
  • scanning-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 testing
  • api-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 fuzzing
  • sql-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
  • security-audit - Security auditing
  • web-security-testing - Web security
  • api-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.

Other skills for the same job

different authors, same section of the catalogue
Network 101
by ComeOnOliver
×2

This skill should be used when the user asks to "set up a web server", "configure HTTP or HTTPS", "perform SNMP enumeration", "configure SMB shares", "test network services", or needs guidance on configuring and testing network services for penetration testing labs.

5k tokens
Pentest Commands
by ComeOnOliver
×2

This skill should be used when the user asks to "run pentest commands", "scan with nmap", "use metasploit exploits", "crack passwords with hydra or john", "scan web vulnerabilities with nikto", "enumerate networks", or needs essential penetration testing command references.

10k tokens
Sast Configuration
by ComeOnOliver
×2

Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.

4k tokens
Sast Configuration
by ComeOnOliver
×2

Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, implementing DevSecOps practices, or automating code vulnerability detection.

4k tokens
Smtp Penetration Testing
by ComeOnOliver
×2

This skill should be used when the user asks to "perform SMTP penetration testing", "enumerate email users", "test for open mail relays", "grab SMTP banners", "brute force email credentials", or "assess mail server security". It provides comprehensive techniques for testing SMTP server security.

7k tokens
SQL Injection Testing
by ComeOnOliver
×2

This skill should be used when the user asks to "test for SQL injection vulnerabilities", "perform SQLi attacks", "bypass authentication using SQL injection", "extract database information through injection", "detect SQL injection flaws", or "exploit database query vulnerabilities". It provides comprehensive techniques for identifying, exploiting, and understanding SQL injection attack vectors across different database systems.

6k tokens
SSH Penetration Testing
by ComeOnOliver
×2

This skill should be used when the user asks to "pentest SSH services", "enumerate SSH configurations", "brute force SSH credentials", "exploit SSH vulnerabilities", "perform SSH tunneling", or "audit SSH security". It provides comprehensive SSH penetration testing methodologies and techniques.

8k tokens
Wordpress Penetration Testing
by ComeOnOliver
×2

This skill should be used when the user asks to "pentest WordPress sites", "scan WordPress for vulnerabilities", "enumerate WordPress users, themes, or plugins", "exploit WordPress vulnerabilities", or "use WPScan". It provides comprehensive WordPress security assessment methodologies.

7k tokens

How to use it

Copy the folder

Take lingxling/api-security-testing from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.