ecc-security-review

Reviews code against security checklists covering secrets, input validation, authentication, and rate limiting.

Updated May 26, 2026
One-click install
npx skills add https://github.com/avel123111/triplanio --skill ecc-security-review-avel123111
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecc-security-review
Source: https://github.com/avel123111/triplanio/tree/main/.claude/skills/ecc-security-review
Command: npx skills add https://github.com/avel123111/triplanio --skill ecc-security-review-avel123111

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents common vulnerabilities like hardcoded secrets, SQL injection, XSS, and missing authorization checks from reaching production by giving you a structured security review process for every sensitive code change. ## Core Features & Use Cases - Ten-Area Security Checklist: Covers secrets management, input validation, SQL injection prevention, authentication/authorization, XSS, CSRF, rate limiting, sensitive data exposure, blockchain security, and dependency auditing. - FAIL/PASS Code Patterns: Shows concrete wrong and right implementations in TypeScript, Supabase, and Next.js so you can compare your code directly. - Pre-Deployment Checklist: A final verification list covering RLS policies, security headers, CORS, and file upload validation before any production release. - Use Case: When adding a Stripe payment endpoint to your React + Supabase app, activate this skill to verify input schemas, authorization checks, rate limits, and that no card data leaks into logs. ## Quick Start Review my new API endpoint and authentication flow for security vulnerabilities using the security checklist.

Frequently Asked Questions about ecc-security-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review code for security vulnerabilities before deployment?

Run through a structured checklist covering secrets management, input validation, SQL injection, XSS, CSRF, authentication, and rate limiting. This skill provides FAIL/PASS code examples and verification steps for each area, plus a pre-deployment checklist.

How to prevent SQL injection in Supabase queries?

Always use parameterized queries instead of string concatenation. With Supabase, use the query builder methods like .eq('email', userEmail), or pass values as parameters in raw SQL like 'WHERE email = $1' with a parameter array.

Should I store JWT tokens in localStorage or cookies?

Store tokens in httpOnly cookies, not localStorage, because localStorage is vulnerable to XSS attacks. Set cookies with HttpOnly, Secure, and SameSite=Strict flags to prevent client-side script access and cross-site request forgery.

Does this security checklist work with Next.js and Supabase?

Yes, the checklist includes Supabase-specific guidance like Row Level Security policies and Next.js patterns for CSP headers and API route protection. It also covers React's built-in XSS protections and DOMPurify sanitization.

What input validation library should I use in TypeScript?

Use Zod to define validation schemas for all user inputs, as shown in the checklist examples. Validate with whitelist rules, restrict file uploads by size, type, and extension, and avoid leaking sensitive details in validation error messages.