security-review

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

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/ttphats/project-detedxs26 --skill security-review-ttphats
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/ttphats/project-detedxs26/tree/main/.augment/skills/ecc/security-review
Command: npx skills add https://github.com/ttphats/project-detedxs26 --skill security-review-ttphats

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents common vulnerabilities like hardcoded secrets, SQL injection, XSS, and misconfigured cloud infrastructure by providing concrete checklists and code patterns to apply before shipping features. ## 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: Provides IAM least-privilege patterns, secrets rotation, network security groups, CI/CD pipeline hardening, Cloudflare WAF setup, and backup strategies. - Use Case: When implementing a new payment API endpoint, use this Skill to verify input validation, authorization checks, rate limiting, and secure error handling before deployment. ## Quick Start Review my new API endpoint code for security vulnerabilities using the security checklist.

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 Next.js API routes?▼

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

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 which is vulnerable to XSS. Set the cookie via the Set-Cookie response header so JavaScript cannot access it.

What should a pre-deployment security checklist include?▼

Verify no hardcoded secrets, all inputs validated, parameterized queries, XSS sanitization, CSRF protection, rate limiting, HTTPS enforcement, security headers, generic error messages, and up-to-date dependencies with no known vulnerabilities.

How do I secure AWS IAM policies for production?▼

Follow least privilege by granting only specific actions on specific resources, enable MFA for privileged accounts, use roles instead of long-lived credentials, and never use the root account in production.

Why is my file upload endpoint a security risk?▼

Unvalidated uploads allow oversized files, malicious types, and path traversal. Enforce size limits, whitelist MIME types and extensions, and validate before processing or storing any uploaded file.