Vibe Security Audit
Perform a 30-point security audit on the target code. If an argument is provided, focus on $ARGUMENTS. Otherwise, audit the entire project.
Contents
- Critical checks (1, 3, 5, 6, 11): See checks/critical.md
- Foundation & common checks (2, 4, 7-10, 12-20): See checks/standard.md
- Production readiness checks (21-30): See checks/production.md
Step 1: Detect Tech Stack
Identify what to check by examining these files:
| Detect |
Look for |
| Framework |
next.config.*, nuxt.config.*, astro.config.*, vite.config.* |
| Package manager |
package.json, requirements.txt, go.mod, Gemfile |
| Database |
prisma/, drizzle.config.*, supabase/, firebase.json |
| Auth |
Imports: @clerk, next-auth, @supabase/auth, @auth0, lucia |
| Storage |
Imports: @aws-sdk/client-s3, @supabase/storage, @google-cloud/storage |
| AI APIs |
Imports: openai, @anthropic-ai/sdk, @google/generative-ai |
| Payment |
Imports: stripe, @paddle/paddle-node |
| Email |
Imports: resend, @sendgrid/mail, nodemailer |
| Deployment |
vercel.json, netlify.toml, fly.toml, Dockerfile |
Skip checks that don't apply to the detected stack.
Step 2: Run Audit
Copy this checklist and check off items as you complete them:
Audit Progress:
- [ ] Step 1: Detect tech stack
- [ ] Step 2a: Run critical checks (1, 3, 5, 6, 11) — see checks/critical.md
- [ ] Step 2b: Run standard checks (2, 4, 7-10, 12-20) — see checks/standard.md
- [ ] Step 2c: Run production checks (21-30) — see checks/production.md
- [ ] Step 3: Calculate score and compile report
Run critical checks first — read checks/critical.md and execute all 5 checks before proceeding.
Then read checks/standard.md and checks/production.md for remaining checks. Skip any that don't apply to the detected stack.
Step 3: Score and Report
Severity Scale
| Score |
Level |
Action |
| 10/10 |
Critical |
Fix before deploying |
| 8-9/10 |
High |
Fix within 24 hours |
| 6-7/10 |
Medium |
Fix within 1 week |
| 4-5/10 |
Low |
Fix when convenient |
| 1-3/10 |
Informational |
Consider addressing |
Project score = 100 minus sum of severity scores for all issues found (minimum 0).
| Score |
Rating |
| 90-100 |
Excellent |
| 70-89 |
Good — minor issues |
| 50-69 |
Fair — needs attention |
| 30-49 |
Poor — significant risk |
| 0-29 |
Critical — do not deploy |
Output Format
# Security Audit Report
## Detected Tech Stack
- **Framework**: [detected]
- **Database**: [detected]
- **Auth**: [detected]
- **Deployment**: [detected]
- **Other**: [AI APIs, payment, email, storage if detected]
## Summary
[1-2 sentence overview]
**Project Score**: [X/100] — [Rating]
**Checks Run**: [X/30]
**Issues Found**: [count]
## Quick Wins (fixable in under 10 minutes)
| # | Issue | Severity | Fix Time | Fix |
|---|-------|----------|----------|-----|
| 1 | [issue] | [X/10] | [time] | [one-line fix] |
## Critical Issues (Severity 8-10)
- **[Check Name]** (Severity: X/10)
- File: [file:line]
- Pattern matched: [what was found]
- Fix: [specific remediation]
## High Priority (Severity 6-7)
[Same format]
## Medium Priority (Severity 4-5)
[Same format]
## Low Priority (Severity 1-3)
[Same format]
## Passed Checks
[Check number and name for each passing check]
## Not Applicable
[Check number, name, and reason skipped]
Reference exact files and line numbers. Show which pattern matched. Provide actionable fix instructions for every issue.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: vibe-security-audit3description: Audits codebases for security vulnerabilities common in AI-assisted (vibe coded) projects. Runs a 30-point checklist covering secrets exposure, injection attacks, auth misconfig, CORS, dependency vulnerabilities, and production readiness. Use when reviewing code for security issues, preparing for deployment, or when the user mentions security audit, vulnerability check, or vibe coding security. Use when this capability is needed.4---56# Vibe Security Audit78Perform a 30-point security audit on the target code. If an argument is provided, focus on `$ARGUMENTS`. Otherwise, audit the entire project.910## Contents1112- **Critical checks (1, 3, 5, 6, 11)**: See [checks/critical.md](checks/critical.md)13- **Foundation & common checks (2, 4, 7-10, 12-20)**: See [checks/standard.md](checks/standard.md)14- **Production readiness checks (21-30)**: See [checks/production.md](checks/production.md)1516## Step 1: Detect Tech Stack1718Identify what to check by examining these files:1920| Detect | Look for |21|:----------------|:----------------------------------------------------------------------|22| Framework | `next.config.*`, `nuxt.config.*`, `astro.config.*`, `vite.config.*` |23| Package manager | `package.json`, `requirements.txt`, `go.mod`, `Gemfile` |24| Database | `prisma/`, `drizzle.config.*`, `supabase/`, `firebase.json` |25| Auth | Imports: `@clerk`, `next-auth`, `@supabase/auth`, `@auth0`, `lucia` |26| Storage | Imports: `@aws-sdk/client-s3`, `@supabase/storage`, `@google-cloud/storage` |27| AI APIs | Imports: `openai`, `@anthropic-ai/sdk`, `@google/generative-ai` |28| Payment | Imports: `stripe`, `@paddle/paddle-node` |29| Email | Imports: `resend`, `@sendgrid/mail`, `nodemailer` |30| Deployment | `vercel.json`, `netlify.toml`, `fly.toml`, `Dockerfile` |3132Skip checks that don't apply to the detected stack.3334## Step 2: Run Audit3536Copy this checklist and check off items as you complete them:3738```39Audit Progress:40- [ ] Step 1: Detect tech stack41- [ ] Step 2a: Run critical checks (1, 3, 5, 6, 11) — see checks/critical.md42- [ ] Step 2b: Run standard checks (2, 4, 7-10, 12-20) — see checks/standard.md43- [ ] Step 2c: Run production checks (21-30) — see checks/production.md44- [ ] Step 3: Calculate score and compile report45```4647**Run critical checks first** — read [checks/critical.md](checks/critical.md) and execute all 5 checks before proceeding.4849Then read [checks/standard.md](checks/standard.md) and [checks/production.md](checks/production.md) for remaining checks. Skip any that don't apply to the detected stack.5051## Step 3: Score and Report5253### Severity Scale5455| Score | Level | Action |56|:-------|:--------------|:------------------------|57| 10/10 | Critical | Fix before deploying |58| 8-9/10 | High | Fix within 24 hours |59| 6-7/10 | Medium | Fix within 1 week |60| 4-5/10 | Low | Fix when convenient |61| 1-3/10 | Informational | Consider addressing |6263**Project score** = 100 minus sum of severity scores for all issues found (minimum 0).6465| Score | Rating |66|:-------|:------------------------|67| 90-100 | Excellent |68| 70-89 | Good — minor issues |69| 50-69 | Fair — needs attention |70| 30-49 | Poor — significant risk |71| 0-29 | Critical — do not deploy|7273### Output Format7475```markdown76# Security Audit Report7778## Detected Tech Stack79- **Framework**: [detected]80- **Database**: [detected]81- **Auth**: [detected]82- **Deployment**: [detected]83- **Other**: [AI APIs, payment, email, storage if detected]8485## Summary86[1-2 sentence overview]8788**Project Score**: [X/100] — [Rating]89**Checks Run**: [X/30]90**Issues Found**: [count]9192## Quick Wins (fixable in under 10 minutes)93| # | Issue | Severity | Fix Time | Fix |94|---|-------|----------|----------|-----|95| 1 | [issue] | [X/10] | [time] | [one-line fix] |9697## Critical Issues (Severity 8-10)98- **[Check Name]** (Severity: X/10)99 - File: [file:line]100 - Pattern matched: [what was found]101 - Fix: [specific remediation]102103## High Priority (Severity 6-7)104[Same format]105106## Medium Priority (Severity 4-5)107[Same format]108109## Low Priority (Severity 1-3)110[Same format]111112## Passed Checks113[Check number and name for each passing check]114115## Not Applicable116[Check number, name, and reason skipped]117```118119Reference exact files and line numbers. Show which pattern matched. Provide actionable fix instructions for every issue.120121---122> Converted and distributed by [TomeVault](https://tomevault.io/claim/ladykerr) — claim your Tome and manage your conversions.123<!-- tomevault:4.0:skill_md:2026-04-13 -->