Security Validation Audit
Comprehensive security audit focusing on input validation with Zod schemas. Identifies missing validations, potential vulnerabilities, and provides actionable fixes with priority levels.
// Prompt Claude with this rule active:
"Audit all API route handlers in src/app/api/ for missing input validation. For each endpoint:
1. Identify unvalidated inputs
2. Generate appropriate Zod schemas
3. Check for SQL injection, XSS, and CSRF vulnerabilities
4. Recommend security improvements"
// Expected Output:
// - List of endpoints with security scores
// - Generated Zod schemas for each route
// - Specific vulnerability findings
// - Prioritized fix recommendations