Security review

From cloudnative-co/claude-code-starter-kit · View interactive version

Security review is an AI agent skill from the GitHub repository cloudnative-co/claude-code-starter-kit. Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.

How to use this skill

Skill file

Security Review Skill

Ensures all code follows security best practices and identifies potential vulnerabilities.

When to Activate

Security Checklist Categories

Review each category. See references/vulnerability-patterns.md for WRONG/CORRECT code examples.

  1. Secrets Management -- No hardcoded secrets; all in env vars; .env* gitignored
  2. Input Validation -- Schema validation; file upload size/type/extension checks
  3. SQL Injection -- Parameterized queries only; no string concatenation
  4. Auth & Authorization -- httpOnly cookies; RBAC; row-level/object-level authorization where needed
  5. XSS Prevention -- DOMPurify for user HTML; CSP headers configured
  6. CSRF Protection -- CSRF tokens on state-changing ops; SameSite=Strict cookies
  7. Rate Limiting -- All endpoints rate-limited; stricter on expensive operations
  8. Data Exposure -- No secrets in logs; generic error messages to users
  9. High-Risk Integrations -- Payments, wallets, third-party APIs, and webhooks validated when present
  10. Dependencies -- npm audit clean; lock files committed; Dependabot enabled

Full checkbox checklist: assets/security-checklist.md

Pre-Deployment Checklist

Before ANY production deployment, confirm ALL of the following:

References


Security is not optional. One vulnerability can compromise the entire platform. When in doubt, err on the side of caution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.