Skills DirectoryCurated open-source Skills from GitHub

security-reviewcommit afa5651SKILL.md · Security Audit

Security Review Checklist

A security checklist with code patterns for secrets, input validation, SQL injection, auth, XSS, CSRF, rate limiting, sensitive data and dependencies.

npx skills add affaan-m/ECC --skill security-review
Permissions
  • read-repo
  • write-files
  • shell
  • network
Compatible with
Claude Code, Codex, Cursor, Copilot, OpenCode
GitHub
294.3k
Source
Community · Affaan Mustafa
Status
Scan passed
License
MIT

Core rule

Never hardcode API keys, tokens or passwords; keep all secrets in environment variables.

Execution Phases

  1. Phase 01Spot the trigger

    Check whether the work involves auth, user input or uploads, new API endpoints, secrets, payments, sensitive data or third-party APIs.

  2. Phase 02Walk the checklist

    Check secrets, input validation, parameterized queries, auth, XSS, CSRF, rate limiting, sensitive data exposure and Solana blockchain security.

  3. Phase 03Check dependencies

    Run npm audit, keep dependencies updated, commit lock files, and use npm ci in CI.

  4. Phase 04Write security tests

    Write automated tests for authentication (401), authorization (403), invalid input (400) and rate limiting (429).

  5. Phase 05Pre-deployment check

    Before any production deployment, go through the checklist, including HTTPS, security headers, CORS, logging and Supabase row level security.

Permissions (summarised from SKILL.md)

CapabilityNeededDetails
File writesRequiredChanges code to follow the checklist patterns and adds security tests.
Command executionLimitedRuns dependency commands such as npm audit, npm update and npm outdated, plus tests.
Network outboundLimitedDependency commands such as npm audit contact the npm registry.

SKILL.md frontmatter (YAML)

SKILL.md frontmatter (YAML)commit afa5651
---
name: security-review
description: Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
metadata:
  origin: ECC
---

Related skills

A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.