API Security Best Practices

0•

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.

주요 기능

01Rate Limiting & Throttling Configurations
02Security Audit & OWASP Top 10 Compliance Mapping
03Input Validation & Sanitization (Zod, Parameterized Queries)
04Data Encryption in Transit and at Rest
050 GitHub stars
06Authentication & Authorization (JWT, OAuth 2.0, RBAC)

사용 사례

01Securing new REST or GraphQL endpoints during the design phase
02Hardening APIs against injection attacks and automated abuse
03Implementing token-based authentication and refresh logic in Node.js/Express