Security Review
Security checklist and code patterns for auth, user input, secrets, API endpoints, and payment features.
- CCM score
- 66 of 100
- skills.sh installs
- 21.3K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers secrets management, input validation, SQL injection, authentication, XSS, CSRF, and rate limiting
- Shows FAIL and PASS code pairs for hardcoded secrets, concatenated SQL, localStorage tokens, and unsanitized HTML
- Enforces httpOnly, Secure, SameSite=Strict cookies, Row Level Security in Supabase, and whitelist-only input validation
- Designed for developers adding auth, uploads, API endpoints, or payment flows to TypeScript and Next.js apps
Install
$ npx -y skills add affaan-m/ecc --skill security-review -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Security Review Skill
This skill ensures all code follows security best practices and identifies potential vulnerabilities.
When to Activate
- Implementing authentication or authorization
- Handling user input or file uploads
- Creating new API endpoints
- Working with secrets or credentials
- Implementing payment features
- Storing or transmitting sensitive data
- Integrating third-party APIs
Security Checklist
1. Secrets Management
FAIL: NEVER Do This
const apiKey = "sk-proj-xxxxx" // Hardcoded secret
const dbPassword = "password123" // In source code
PASS: ALWAYS Do This
const apiKey = process.env.OPENAI_API_KEY
const dbUrl = process.env.DATABASE_URL
// Verify secrets exist
if (!apiKey) {
throw new Error('OPENAI_API_KEY not configured')
}
Verification Steps
- No hardcoded API keys, tokens, or passwords
- All secrets in environment variables
-
.env.localin .gitignore - No secrets in git history
- Production secrets in hosting platform (Vercel, Railway)
2. Input Validation
Always Validate User Input
import { z } from 'zod'
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Security, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the security-review skill do?
The security-review skill gives the agent a security checklist and patterns to follow when adding authentication, handling user input, managing secrets, creating API endpoints, or building payment and sensitive features. It covers secrets management, input validation, SQL injection prevention, authentication and authorization, XSS, CSRF, and rate limiting.
When should I use the security-review skill?
Use it when adding authentication, handling user input or file uploads, creating new API endpoints, working with secrets or credentials, implementing payment features, or integrating third-party APIs. The skill says it should activate in these situations so that code follows its security best practices.
How do I install the security-review skill?
Run npx -y skills add affaan-m/ecc --skill security-review -y in your project to install it. Once installed, the agent can apply the security checklist and patterns when it reviews or writes code in that project.
Where does security-review rank among Security skills?
On the Security category page on Claude Marketplaces, security-review ranks in the top 50. It is listed alongside skills such as azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one, which are also in the category.
More from affaan-m/ecc
All 257- Video Editing19.2K
- Golang Patterns18.1K
- Backend Patterns17.8K
- Coding Standards17.6K
- Frontend Patterns17.6K
- Docker Patterns16.8K
- Golang Testing16.5K
- Python Patterns15.6K
- Springboot Patterns15.5K
- Api Design15.3K
- Market Research15.3K
- Postgres Patterns15.2K
- Frontend Slides15.2K
- Django Patterns15.2K
- Tdd Workflow15K
- Rust Testing14.8K
- Prompt Optimizer14.5K
- Java Coding Standards14.5K
- Django Security14.4K
- Python Testing14.3K
- Laravel Security14.3K
- Android Clean Architecture14.3K
- Article Writing14.3K
- Cpp Coding Standards14.3K
Similar to Security Review
More Securitysecurity-best-practicesmindrally/skills997 installsChecklist-style security guidance covering input validation, authentication, secrets, and injection and XSS prevention for backend services.
django-securityaffaan-m/ecc14.4K installsDjango security guide covering authentication, authorization, SQL injection, XSS prevention, and production hardening.
web-securityacademind/ai-config300 installsSet of security rules that guides code toward safe defaults across XSS, auth, CSP, and data handling.
laravel-securityaffaan-m/ecc14.3K installsLaravel security checklist covering authentication, authorization, Eloquent, CSRF, XSS, and secure deployment settings.