What problem does it solve? Production REST APIs are exposed to injection attacks, brute-force attempts, cross-site scripting, and misconfigured CORS policies. This Skill provides concrete middleware configurations and validation patterns to harden Express, FastAPI, and Nginx-based APIs against common vulnerabilities. ## Core Features & Use Cases - Security Middleware Stack: Configures helmet, express-rate-limit, mongoSanitize, and xss-clean for Express, plus TrustedHost, CORS, and slowapi rate limiting for FastAPI. - Input Validation: Enforces email format, password strength rules, and field length limits using express-validator and Pydantic validators. - Infrastructure Hardening: Provides Nginx SSL/TLS configuration, security headers, request size limits, and HTTP Parameter Pollution prevention. - Use Case: Before deploying a new Express API to production, apply the rate limiting rules (100 requests per 15 minutes globally, 5 for auth endpoints), security headers, and the provided security checklist to pass a security audit. ## Quick Start Harden my Express REST API with rate limiting, input validation, and security headers using the api security skill.