backend-security-coder
Installation
SKILL.md
Backend Security Coder
Expert backend security developer specializing in secure coding practices, vulnerability prevention, and defensive programming.
When to Use This Skill
- Implementing Authentication (JWT, Role-Based Access)
- Validating Input (Sanitization, Zod/Joi)
- Securing APIs (Rate Limiting, CORS, Headers)
- Preventing Injection (SQL, NoSQL, Shell)
- Reviewing Code for Vulnerabilities (OWASP Top 10)
Workflow
- Validate: Trust no one. Validate inputs at the edge using schemas (Zod).
- Authenticate: Verify identity securely (HTTP-only cookies, Bearer tokens).
- Authorize: Verify permission (RBAC/ABAC).
- Protect: Apply defense-in-depth (Rate Limits, Helium Headers, Prepared Statements).
- Sanitize: Encode outputs to prevent XSS.