REST API security hardening with authentication, rate limiting, input validation, security headers. Use for production APIs, security audits, defense-in-depth, or encountering vulnerabilities, injection attacks, CORS issues.
88
85%
Does it follow best practices?
Impact
96%
1.37xAverage score across 3 eval scenarios
Passed
No findings from the security scan
Nginx reverse proxy security hardening
TLS protocols
100%
100%
Cipher suites
100%
100%
Server cipher preference
100%
100%
SSL session cache
0%
100%
X-Frame-Options header
100%
100%
X-Content-Type-Options header
100%
100%
X-XSS-Protection header
100%
100%
HSTS header
100%
100%
CSP header
100%
66%
Request body size limit
0%
100%
Client body timeout
100%
100%
Client header timeout
100%
100%
HTTP method blocking
62%
100%
Rate limit zone definition
50%
37%
Rate limit application
100%
28%
HTTP to HTTPS redirect
60%
100%
Express.js API security hardening
helmet middleware
100%
100%
mongo-sanitize middleware
0%
100%
no xss-clean
100%
100%
general rate limit config
80%
100%
auth rate limit config
40%
100%
email validation
25%
100%
password validation
50%
100%
customSanitizer with escape-html
0%
100%
HTTP 400 on validation failure
37%
100%
no secrets in code
100%
100%
safe error responses
100%
100%
FastAPI security hardening
TrustedHostMiddleware added
0%
100%
CORSMiddleware explicit origins
100%
100%
CORSMiddleware explicit methods
100%
100%
slowapi rate limiter
0%
100%
Security headers middleware
100%
100%
X-Content-Type-Options header
100%
100%
X-Frame-Options header
100%
100%
HSTS header
100%
100%
CSP header
0%
100%
Password min length
100%
100%
Password uppercase requirement
100%
100%
Password digit requirement
100%
100%
Password special char requirement
100%
100%
Query max_length on search param
100%
100%
Array size capped
100%
100%
No detailed error exposure
60%
100%
a0994f7
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.