API Security Best Practices
Implements robust security patterns for APIs including authentication, authorization, input validation, and protection against common vulnerabilities.
This skill provides specialized guidance for building and maintaining secure backend services. It covers essential security implementations such as JWT and OAuth 2.0 authentication, role-based access control (RBAC), and rigorous input validation using modern tools like Zod. By applying these patterns, developers can protect their REST, GraphQL, and WebSocket APIs against the OWASP API Top 10, including SQL injection, cross-site scripting (XSS), and denial-of-service attacks through effective rate limiting and throttling strategies. Whether you are designing a new system or auditing an existing one, this skill ensures your data remains protected and your infrastructure resilient.