Skip to content
affaan-m avatar

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
View on GitHub

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 -y

Installs 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.local in .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

Similar to Security Review

More Security