security-review

Review code against security checklists covering secrets, input validation, authentication, and deployment.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill security-review-erwinv2k-tkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/erwinv2k-TKG/AgentesVSC/tree/main/packs/everything-claude-code/docs/zh-TW/skills/security-review
Command: npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill security-review-erwinv2k-tkg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often ship code with hardcoded secrets, SQL injection risks, missing authorization checks, or insecure token storage. This Skill provides a structured security review checklist so vulnerabilities are caught before deployment. ## Core Features & Use Cases - Ten-Domain Security Checklist: Covers secrets management, input validation, SQL injection prevention, authentication/authorization, XSS, CSRF, rate limiting, sensitive data exposure, Solana blockchain security, and dependency auditing. - Code Pattern Guidance: Shows concrete wrong-vs-right TypeScript examples, such as httpOnly cookies instead of localStorage for tokens and parameterized queries instead of string concatenation. - Pre-Deployment Gate: A final checklist verifies HTTPS, security headers, RLS policies, CORS, and file upload validation before any production release. - Use Case: Before merging a new API endpoint that accepts file uploads, run the review to confirm Zod schema validation, file size/type limits, rate limiting, and sanitized error responses are all in place. ## Quick Start Review my new authentication and file upload endpoints against the security checklist and flag any vulnerabilities.

Frequently Asked Questions about 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 a structured security review covering secrets management, input validation, SQL injection, XSS, CSRF, authentication, and rate limiting. This Skill provides checklists with correct and incorrect TypeScript patterns for each domain plus a pre-deployment verification list.

How to prevent SQL injection in Node.js applications?

Always use parameterized queries or an ORM query builder instead of string concatenation. For example, pass user input as bound parameters like db.query('SELECT * FROM users WHERE email = $1', [email]) or use Supabase filter methods.

Should I store JWT tokens in localStorage or cookies?

Store tokens in httpOnly cookies with Secure and SameSite=Strict flags, not localStorage. localStorage is accessible to JavaScript and vulnerable to XSS token theft, while httpOnly cookies cannot be read by client-side scripts.

Does this security checklist cover Supabase Row Level Security?

Yes, it includes RLS guidance with SQL policy examples, such as enabling row level security on tables and creating policies so users can only select or update their own data using auth.uid() checks.

What input validation library does the checklist recommend?

It uses Zod for schema-based validation of all user input, defining schemas with constraints like email format and string length, then parsing input before processing. File uploads are separately validated for size, MIME type, and extension.

Why should error messages not expose stack traces to users?

Stack traces and internal error details reveal implementation information attackers can exploit. Return generic messages like 'An error occurred' to clients while logging full details server-side only, and never log passwords, tokens, or card numbers.