vibe-security▌
raroque/vibe-security-skill · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Security audits for AI-generated code, catching vulnerabilities before they ship.
- ›Systematically checks nine vulnerability categories: secrets exposure, database access control, authentication, rate limiting, payments, mobile security, AI/LLM integration, deployment config, and input validation
- ›Prioritizes findings by severity (Critical → High → Medium → Low) with concrete exploit scenarios and before/after code fixes
- ›Designed specifically for \"vibe-coded\" apps where AI assistants
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.
How to use vibe-security on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add vibe-security
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches vibe-security from GitHub repository raroque/vibe-security-skill and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate vibe-security. Access the skill through slash commands (e.g., /vibe-security) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★26 reviews- ★★★★★Dhruvi Jain· Dec 20, 2024
I recommend vibe-security for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Isabella Jain· Dec 12, 2024
Useful defaults in vibe-security — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Tariq Torres· Dec 8, 2024
Solid pick for teams standardizing on skills: vibe-security is focused, and the summary matches what you get after install.
- ★★★★★Liam Ghosh· Dec 4, 2024
We added vibe-security from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Tariq Reddy· Nov 27, 2024
I recommend vibe-security for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Fatima Perez· Nov 23, 2024
vibe-security fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Oshnikdeep· Nov 11, 2024
Solid pick for teams standardizing on skills: vibe-security is focused, and the summary matches what you get after install.
- ★★★★★Isabella Zhang· Oct 18, 2024
Keeps context tight: vibe-security is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Amelia Sharma· Oct 14, 2024
vibe-security has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ganesh Mohane· Oct 2, 2024
vibe-security is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 26