security-review

Reviews code against security checklists covering secrets, input validation, authentication, and cloud infrastructure.

9|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/Yassimba/loom --skill security-review-yassimba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/Yassimba/loom/tree/main/skills/security-review
Command: npx skills add https://github.com/Yassimba/loom --skill security-review-yassimba

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents common vulnerabilities like hardcoded secrets, SQL injection, XSS, and misconfigured cloud infrastructure from reaching production by giving an agent a structured security checklist to apply during development. ## Core Features & Use Cases - Application Security Checklist: Covers secrets management, input validation with Zod, parameterized queries, JWT handling, XSS sanitization, CSRF protection, and rate limiting. - Cloud & Infrastructure Security: Companion reference for IAM least privilege, secrets managers, VPC/firewall rules, CI/CD pipeline hardening, Cloudflare WAF, and backup strategies. - Pre-Deployment Gates: Provides explicit verification checklists and automated security test examples to run before any production release. - Use Case: When implementing a new authenticated API endpoint that accepts file uploads, activate this skill so the agent validates input schemas, stores tokens in httpOnly cookies, enforces rate limits, and confirms no secrets leak into logs. ## Quick Start Use the security-review skill to audit the new payment endpoint 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 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.

How should I store JWT tokens securely in a web app?

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

What security checks should run before deploying to production?

Verify no hardcoded secrets, all inputs validated with schemas, parameterized database queries, CSRF protection, rate limiting on endpoints, security headers configured, dependencies audited with npm audit, and Row Level Security enabled in Supabase.

How do I validate file uploads securely?

Enforce three checks: a size limit such as 5MB, a whitelist of allowed MIME types like image/jpeg and image/png, and a whitelist of file extensions. Never trust the client-provided content type alone, and reject anything outside the whitelist.

Does this skill cover cloud infrastructure security?

Yes, a companion reference covers IAM least privilege, cloud secrets managers with rotation, VPC security groups, CloudWatch logging, CI/CD hardening with OIDC, Cloudflare WAF rules, and automated backup configuration for AWS deployments.

Why is localStorage unsafe for authentication tokens?

localStorage is readable by any JavaScript running on the page, so a single XSS vulnerability lets an attacker steal the token. httpOnly cookies block script access entirely, and SameSite=Strict additionally mitigates CSRF attacks.