API Security Best Practices
Implements industry-standard security patterns for REST, GraphQL, and WebSocket APIs to prevent common vulnerabilities and data leaks.
This skill provides a comprehensive security framework for developers building and maintaining APIs within Claude Code. It automates the implementation of robust authentication mechanisms like JWT and OAuth 2.0, establishes strict authorization flows using Role-Based Access Control (RBAC), and enforces rigorous input validation to thwart SQL injection and XSS attacks. By guiding the integration of rate limiting, data encryption, and secure error handling, it ensures that backend services remain resilient against DDoS attacks and unauthorized access while aligning with the OWASP API Security Top 10 standards.
主な機能
01Secure Authentication & Authorization (JWT, OAuth 2.0, RBAC)
02Sensitive Data Protection via encryption at rest and in transit
03Rate Limiting & Throttling implementation to prevent abuse
04API Security Testing and OWASP Top 10 compliance auditing
05Input Validation & Sanitization (SQLi, XSS, and Command Injection prevention)
060 GitHub stars
ユースケース
01Designing secure-by-default endpoints for new microservices and backends
02Refactoring legacy APIs to patch security vulnerabilities and injection flaws
03Preparing API infrastructure for formal security audits and penetration tests