vibe-security
Skill1.1k starsChanged 9 months agoMITView on GitHub
Audits codebases for common security vulnerabilities that AI coding assistants introduce in "vibe-coded" applications. Checks for exposed API keys, broken access control (Supabase RLS, Firebase rules), missing auth validation, client-side trust issues, insecure payment flows, and more. Use this skill whenever the user asks about security, wants a code review, mentions "vibe coding", or when you're writing or reviewing code that handles authentication, payments, database access, API keys, secrets, or user data — even if they don't explicitly mention security. Also trigger when the user says things like "is this safe?", "check my code", "audit this", "review for vulnerabilities", or "can someone hack this?".
- Reads credentials
3 other projects use a version of this.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- sarveshcore/claude-skillsword for word, first seen Sep 4, 2026
- xushuodasd/VIBE-Claude-Plugintheir own version, first seen Jul 4, 2026
- Falcon305/vibe-startertheir own version, first seen Jul 3, 2026
Who's talking about raroque/vibe-security-skill
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
Other versions3 projects use a version of this.
Word for word · 1
- sarveshcore/claude-skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 2
- xushuodasd/VIBE-Claude-Plugin★ 4same name
- Falcon305/vibe-starter★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Never trust the client. Every price, user ID, role, subscription status, feature flag, and rate limit counter must be validated or enforced …
- Distinctive: line 42
If doing a partial review or generating code in a specific area, load only the relevant reference files.
- Distinctive: line 48
When multiple issues exist, prioritize by exploitability and real-world impact.
- Distinctive: line 49
If the codebase doesn't use a particular technology (e.g., no Supabase), skip that section entirely.
- Distinctive: line 50
When generating new code, consult the relevant reference files proactively to avoid introducing vulnerabilities in the first place.
- Distinctive: line 51
If you find a critical issue (exposed secrets, disabled RLS, auth bypass), flag it immediately at the top of your response — don't bury it …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit code for security vulnerabilities commonly introduced by AI code generation. These issues are prevalent in "vibe-coded" apps — projects built rapidly with AI assistance where security fundamentals get skipped.
AI assistants consistently get these patterns wrong, leading to real breaches, stolen API keys, and drained billing accounts. This skill exists to catch those mistakes before they ship.
The Core Principle
Never trust the client. Every price, user ID, role, subscription status, feature flag, and rate limit counter must be validated or enforced server-side. If it exists only in the browser, mobile bundle, or request body, an attacker controls it.
Audit Process
Examine the codebase systematically. For each step, load the relevant reference file only if the codebase uses that technology or pattern. Skip steps that aren't relevant.
- Secrets & Environment Variables — Scan for hardcoded API keys, tokens, or credentials. Check for secrets exposed via client-side env var prefixes (
NEXT_PUBLIC_,VITE_,EXPO_PUBLIC_). Verify.envis in.gitignore. Seereferences/secrets-and-env.md. - Database Access Control — Check Supabase RLS policies, Firebase Security Rules, or Convex auth guards. This is the #1 source of critical vulnerabilities in vibe-coded apps. See
references/database-security.md. - Authentication & Authorization — Validate JWT handling, middleware auth, Server Action protection, and session management. See
references/authentication.md. - Rate Limiting & Abuse Prevention — Ensure auth endpoints, AI calls, and expensive operations have rate limits. Verify rate limit counters can't be tampered with. See
references/rate-limiting.md. - Payment Security — Check for client-side price manipulation, webhook signature verification, and subscription status validation. See
references/payments.md. - Mobile Security — Verify secure token storage, API key protection via backend proxy, and deep link validation. See
references/mobile.md. - AI / LLM Integration — Check for exposed AI API keys, missing usage caps, prompt injection vectors, and unsafe output rendering. See
references/ai-integration.md. - Deployment Configuration — Verify production settings, security headers, source map exposure, and environment separation. See
references/deployment.md. - Data Access & Input Validation — Check for SQL injection, ORM misuse, and missing input validation. See
references/data-access.md.
If doing a partial review or generating code in a specific area, load only the relevant reference files.
Core Instructions
- Report only genuine security issues. Do not nitpick style or non-security concerns.
- When multiple issues exist, prioritize by exploitability and real-world impact.
- If the codebase doesn't use a particular technology (e.g., no Supabase), skip that section entirely.
- When generating new code, consult the relevant reference files proactively to avoid introducing vulnerabilities in the first place.
- If you find a critical issue (exposed secrets, disabled RLS, auth bypass), flag it immediately at the top of your response — don't bury it in a long list.
Output Format
Organize findings by severity: Critical → High → Medium → Low.
For each issue:
- State the file and relevant line(s).
- Name the vulnerability.
- Explain what an attacker could do (concrete impact, not abstract risk).
- Show a before/after code fix.
Skip areas with no issues. End with a prioritized summary.
Example Output
Critical
lib/supabase.ts:3 — Supabase service_role key exposed in client bundle
The service_role key bypasses all Row-Level Security. Anyone can extract it from the browser bundle and read, modify, or delete every row in your database.
// Before
const supabase = createClient(url, process.env.NEXT_PUBLIC_SUPABASE_SERVICE_KEY!)
// After — use the anon key client-side; service_role belongs only in server-side code
const supabase = createClient(url, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!)High
app/api/checkout/route.ts:15 — Price taken from client request body
An attacker can set any price (including $0.01) by modifying the request. Prices must be looked up server-side.
// Before
const session = await stripe.checkout.sessions.create({
line_items: [{ price_data: { unit_amount: req.body.price } }]
})
// After — look up the price server-side
const product = await db.products.findUnique({ where: { id: req.body.productId } })
const session = await stripe.checkout.sessions.create({
line_items: [{ price: product.stripePriceId }]
})Summary
- Service role key exposed (Critical): Anyone can bypass all database security. Rotate the key immediately and move it to server-side only.
- Client-controlled pricing (High): Attackers can purchase at any price. Use server-side price lookup.
When Generating Code
These rules also apply proactively. Before writing code that touches auth, payments, database access, API keys, or user data, consult the relevant reference file to avoid introducing the vulnerability in the first place. Prevention is better than detection.
References
references/secrets-and-env.md— API keys, tokens, environment variable configuration, and.gitignorerules.references/database-security.md— Supabase RLS, Firebase Security Rules, and Convex auth patterns.references/authentication.md— JWT verification, middleware, Server Actions, and session management.references/rate-limiting.md— Rate limiting strategies and abuse prevention.references/payments.md— Stripe security, webhook verification, and price validation.references/mobile.md— React Native and Expo security: secure storage, API proxy, deep links.references/ai-integration.md— LLM API key protection, usage caps, prompt injection, and output sanitization.references/deployment.md— Production configuration, security headers, and environment separation.references/data-access.md— SQL injection prevention, ORM safety, and input validation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

