security-review

Reviews code against a security checklist covering secrets, input validation, authentication, and injection prevention.

5|15|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/clfigueiredo/hermes-infra-skills --skill security-review-clfigueiredo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/clfigueiredo/hermes-infra-skills/tree/main/.hermes/skills/curso-hermes/security-review
Command: npx skills add https://github.com/clfigueiredo/hermes-infra-skills --skill security-review-clfigueiredo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers shipping authentication, payment, or user-input features often miss critical vulnerabilities like hardcoded secrets, SQL injection, or missing authorization checks. This Skill provides a structured security checklist and code patterns to catch these issues before deployment. ## Core Features & Use Cases - Ten-Area Security Checklist: Covers secrets management, input validation, SQL injection, authentication/authorization, XSS, CSRF, rate limiting, sensitive data exposure, blockchain security, and dependency vulnerabilities. - FAIL/PASS Code Patterns: Shows concrete wrong and right implementations in TypeScript, Next.js, Supabase, and Solana contexts so reviewers know exactly what to flag. - Pre-Deployment Gate: A final checklist to run before any production release, plus automated security test examples for auth, validation, and rate limiting. - Use Case: Before merging a new API endpoint that handles file uploads and payments, run this review to verify input schemas, httpOnly cookie usage, RLS policies, and rate limits are all in place. ## Quick Start Ask the agent to run a security review on the new authentication and payment endpoints before deploying to production.

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 through a structured checklist covering secrets management, input validation, SQL injection, XSS, CSRF, authentication, and rate limiting. Verify each item with concrete FAIL/PASS code patterns and finish with a pre-deployment gate covering headers, logging, and dependencies.

How to prevent SQL injection in Node.js and Supabase queries?▼

Always use parameterized queries or the Supabase query builder instead of string concatenation. Pass user values as bound parameters, for example db.query('SELECT * FROM users WHERE email = $1', [email]), never interpolated into the SQL string.

Should JWT tokens be stored in localStorage or cookies?▼

Store tokens in httpOnly, Secure, SameSite=Strict cookies rather than localStorage. localStorage is readable by any JavaScript on the page, making tokens vulnerable to theft via XSS attacks, while httpOnly cookies are inaccessible to scripts.

Does this security checklist cover Supabase Row Level Security?▼

Yes, it includes Row Level Security guidance with example policies that restrict users to viewing and updating only their own rows via auth.uid(). It requires RLS to be enabled on all tables as part of the pre-deployment checklist.

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

A checklist catches common vulnerability classes but cannot replace penetration testing or runtime analysis. It relies on reviewer diligence and does not automatically scan code, so combine it with npm audit, automated security tests, and manual review of edge cases.