Advanced API Security Patterns
Implements defense-in-depth security patterns to protect APIs against OWASP Top 10 threats and unauthorized access.
This skill provides specialized guidance for securing modern API architectures using industry-standard patterns. It bridges the gap between high-level security principles and implementation-level code, offering specific patterns for JWT validation, OAuth 2.0 flows, and rate limiting. Whether you're building a new FastAPI microservice or hardening a GraphQL endpoint, this skill assists in threat modeling, implementing robust authorization via OPA (Open Policy Agent), and configuring multi-layered defense strategies to satisfy compliance requirements like SOC 2, HIPAA, or PCI DSS.
主な機能
01Threat modeling checklist mapped to OWASP API Security Top 10 risks
02Multi-layered input validation for JSON schema and content-type enforcement
03Production-grade JWT validation and OAuth 2.0 + PKCE implementation patterns
04Policy-as-code templates using OPA (Open Policy Agent) and Rego
05Advanced rate limiting algorithms including Token Bucket and Leaky Bucket
0622 GitHub stars
ユースケース
01Implementing role-based access control (RBAC) and tenant isolation in microservices
02Conducting security audits of existing REST, GraphQL, or WebSocket endpoints
03Hardening API gateways against resource exhaustion and brute force attacks