Our review
Scans the codebase for security vulnerabilities and creates a SECURITY_PLAN.md with prioritized findings.
Strengths
- Automated detection of common security issues (mutable endpoints, missing validation, authorization gaps, exposed secrets).
- Produces a structured report with severity levels and file locations.
- Integrates with a multi-phase pipeline for comprehensive security review.
Limitations
- Only covers specific patterns (e.g., Supabase-specific checks may not apply to all projects).
- Output is a static markdown file; no real-time monitoring.
- Requires a specific folder structure (e.g., src/app).
Use when initiating a security review of your codebase to identify and prioritize vulnerabilities before remediation.
Do not use if you need real-time security scanning or if your project does not follow a typical web application structure.
Security analysis
SafeThe skill only reads source files and writes a markdown file; no shell commands, network calls, or destructive operations. It poses no execution risk.
No concerns found
Examples
Run /1-security-auditPlease perform a security discovery scan on the codebase and create a SECURITY_PLAN.md.Initiate phase 1 of the full security audit.name: 1-security-audit description: "Phase 1 of security audit pipeline. Scans the codebase for vulnerabilities and creates SECURITY_PLAN.md. Use after /full-security-audit or invoke directly to start a security review. Say 'security audit phase 1' or run '/1-security-audit'." contract: tags: [security, audit, security-phase-1] state_source: security_plan inputs: params: [] gates: [] outputs: mutates: - field: "findings" sets_to: "Pending" side_effects: ["Creates SECURITY_PLAN.md"] next: [2-security-critique] human_gate: false
Phase 1: Security Discovery
What this phase does
Scan the codebase and produce a prioritized findings list. Output lives in SECURITY_PLAN.md.
Instructions
-
Scan
src/app(or configured API folder) for:- Mutable endpoints (POST/PUT/DELETE)
- Missing input validation (e.g. Zod schemas)
- Authorization gaps (missing auth checks, overly permissive RLS)
- Exposed secrets or service role keys in client code
- See
supabase-security/SKILL.mdfor Supabase-specific patterns to check
-
Output: Create or overwrite
SECURITY_PLAN.mdin the project root. List all findings asPendingwith severity (Critical / High / Medium / Low) and file location. -
Stop. Display a summary of findings to the user.
The next step is Phase 2: /2-security-critique
Security Audit Scanner
Security
Analyzes code to detect OWASP Top 10 vulnerabilities.
OWASP Security Checklist
Security
Generates application security checklists based on the OWASP Top 10.
Threat Model Generator
Security
Generates threat model documents with STRIDE analysis.