code-review-security

Solid

Security-focused code review checklist and automated scanning patterns. Use when reviewing pull requests for security issues, auditing authentication/authorization code, checking for OWASP Top 10 vulnerabilities, or validating input sanitization. Covers SQL injection prevention, XSS protection, CSRF tokens, authentication flow review, secrets detection, dependency vulnerability scanning, and secure coding patterns for Python (FastAPI) and React. Does NOT cover deployment security (use docker-best-practices) or incident handling (use incident-response).

Code & Development 2 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Code Review Security ## When to Use Activate this skill when: - Reviewing pull requests for security vulnerabilities - Auditing authentication or authorization code changes - Reviewing code that handles user input, file uploads, or external data - Checking for OWASP Top 10 vulnerabilities in new features - Validating that secrets are not committed to the repository - Scanning dependencies for known vulnerabilities - Reviewing API endpoints that expose sensitive data **Output:** Write findings to `security-review.md` with severity, file:line, description, and recommendations. Do NOT use this skill for: - Deployment infrastructure security (use `docker-best-practices`) - Incident response procedures (use `incident-response`) - General code quality review without security focus (use `pre-merge-checklist`) - Writing implementation code (use `python-backend-expert` or `react-frontend-expert`) ## Instructions ### OWASP Top 10 Checklist Review every PR against the OWASP Top 10 (2021 edition). Each category below includes specific checks for Python/FastAPI and React codebases. --- #### A01: Broken Access Control **What to look for:** - Missing authorization checks on endpoints - Direct object reference without ownership verification - Endpoints that expose data without role-based filtering - Missing `Depends()` for auth on new routes **Python/FastAPI checks:** ```python # BAD: No authorization check -- any authenticated user can access any user @router.get("/users/{user_...

Details

Author
NewAbra
Repository
NewAbra/auto-co-meta
Created
11 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category