security-review

Reviews code changes against security checklists for authentication, input validation, and sensitive data handling.

1.6k|221|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/ZeroDeng01/sublinkPro --skill security-review-zerodeng01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review
Source: https://github.com/ZeroDeng01/sublinkPro/tree/main/.agents/skills/security-review
Command: npx skills add https://github.com/ZeroDeng01/sublinkPro --skill security-review-zerodeng01

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Security-critical code changes often ship without systematic review, leaving vulnerabilities like SQL injection, authentication bypass, and leaked secrets undetected until production. This Skill provides a structured checklist-driven review process so nothing security-relevant is overlooked. ## Core Features & Use Cases - Ten-Domain Security Checklist: Covers authentication, MFA, sensitive data handling, input validation, database security, API security, cryptography, file uploads, session management, and dependency vulnerabilities. - Detailed Reference Guides: Each checklist section links to an in-depth guide in references/ with concrete bad/good Go and React code patterns, such as bcrypt password hashing, parameterized GORM queries, and secure CORS configuration. - Tooling Integration: Includes commands for running gosec, govulncheck, and yarn audit to catch issues automatically. - Use Case: When modifying a login endpoint that adds MFA, invoke this Skill to verify TOTP secret encryption, rate limiting on verification attempts, and backup code generation before merging. ## Quick Start Review my changes to the authentication and MFA endpoints using the security review 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 perform a security review on authentication code changes?

Apply the authentication checklist to verify no auth bypass exists, permissions are checked before access, and tokens are validated for signature and expiration. Consult the authentication reference guide for Go code examples of proper middleware patterns.

What should I check when reviewing code that handles passwords or API keys?

Verify passwords are hashed with bcrypt or argon2, secrets are excluded from API responses and logs, and sensitive data is encrypted at rest and transmitted over HTTPS. The sensitive data guide shows concrete bad and good Go patterns.

How do I prevent SQL injection in GORM queries?

Always use parameterized queries with placeholder syntax like db.Where("username = ?", username) instead of string concatenation. Also avoid binding JSON directly to models for updates to prevent mass assignment vulnerabilities.

Which tools scan Go and JavaScript dependencies for vulnerabilities?

Use govulncheck for Go modules and yarn audit for frontend npm dependencies. Both can be integrated into CI/CD pipelines to catch known CVEs before deployment.

When should this security checklist not be used?

It is not intended for general code review of non-security changes like styling, refactoring, or feature logic without security implications. Apply it only when changes touch auth, secrets, user input, database queries, or cryptographic operations.