security-review

Reviews code for vulnerabilities across secrets, input validation, authentication, and cloud infrastructure.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Femad-6/my-skills --skill security-review-femad-6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/Femad-6/my-skills/tree/main/.github/skills/security-review
Command: npx skills add https://github.com/Femad-6/my-skills --skill security-review-femad-6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents common security vulnerabilities—hardcoded secrets, SQL injection, XSS, CSRF, weak authentication, and cloud misconfigurations—from reaching production by providing a structured review checklist and secure code patterns. ## Core Features & Use Cases - Application Security Checklist: Covers secrets management, input validation with Zod, parameterized queries, JWT handling, XSS sanitization, CSRF tokens, and rate limiting. - Cloud & Infrastructure Security: Extends review to IAM least privilege, secrets rotation, VPC/firewall rules, CI/CD pipeline hardening, Cloudflare WAF, and backup strategies. - Use Case: Before deploying a new payment API endpoint, run a security review to verify inputs are schema-validated, queries are parameterized, tokens use httpOnly cookies, rate limits are enforced, and no secrets appear in code or logs. ## Quick Start Review my new authentication and payment endpoint code for security vulnerabilities before deployment.

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?

Use a structured security checklist covering secrets management, input validation, SQL injection prevention, XSS, CSRF, authentication, and rate limiting. Verify each item against your code, then run automated tests for auth, authorization, and rate limits before deploying.

How to prevent SQL injection in Node.js applications?

Always use parameterized queries or an ORM 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 query builders that sanitize inputs automatically.

Should JWT tokens be stored in localStorage or cookies?

Store tokens in httpOnly cookies, not localStorage, because localStorage is accessible to JavaScript and vulnerable to XSS attacks. Set cookies with HttpOnly, Secure, and SameSite=Strict flags to prevent token theft and CSRF.

Does this security checklist cover cloud infrastructure like AWS?

Yes, the companion cloud-infrastructure-security reference covers IAM least privilege, secrets manager rotation, VPC security groups, CloudWatch logging, CI/CD pipeline hardening with OIDC, Cloudflare WAF rules, and automated backup configuration.

What are the limitations of a checklist-based security review?

A checklist catches common vulnerability patterns but cannot replace penetration testing, dynamic scanning, or professional security audits. It also depends on reviewer diligence and does not automatically detect logic flaws unique to your business rules.