首页/安全与合规/vibe-security-skill
V

vibe-security-skill

by @raroquev
3.5(0)

这是一个AI代理技能,旨在审计由AI编码助手开发的应用程序中常见的安全漏洞。AI助手在快速构建功能时,常会引入硬编码密钥、跳过行级安全、信任客户端数据或在localStorage存储敏感信息等安全问题。此技能赋予您的AI代理识别并预防这些漏洞的能力,确保代码在发布前达到更高的安全标准,适用于任何应用程序的安全审计。

securityAIagent-skillvulnerability-detectioncode-auditingGitHub
安装方式
git clone https://github.com/raroque/vibe-security-skill.git
compare_arrows

Before / After 效果对比

1
使用前

在没有此技能的情况下,AI编码助手可能在快速开发中引入硬编码密钥、跳过安全检查等漏洞。人工审计耗时且易遗漏,导致安全问题在应用发布后才被发现,增加了修复成本和风险。

使用后

集成此技能后,AI代理能自动识别并标记由AI编码助手引入的常见安全漏洞模式。这大大加速了安全审计流程,在代码发布前即时发现并修复问题,显著提升了应用整体安全性。

description SKILL.md

An agent skill that helps secure vibe-coded apps - or honestly any app - from common security vulnerability patterns. Built by Chris Raroque (@raroque) in collaboration with my colleagues at Aloa.

AI assistants are great at building features fast but consistently get security wrong: hardcoding secrets, skipping row-level security, trusting client-submitted prices, storing tokens in localStorage. This skill catches those patterns before they ship.

Need help building AI apps, custom agents, or implementing AI at your company? Work with Chris and the team at Aloa.

Background

This skill was built specifically to address the security issues that keep showing up in vibe-coded applications. When you're building fast with AI, security fundamentals get skipped - and the AI assistants themselves are often the ones introducing the vulnerabilities. This skill gives your agent the knowledge to catch and prevent those patterns.

It uses the Agent Skills format, so it works with Claude Code, OpenAI Codex, and other compatible agents.

The security rules are organized as reference files that the agent loads based on what technologies your project uses. If you're using Supabase, it checks RLS policies. If you're using Stripe, it checks payment flows. If you're using React Native, it checks for secrets in the JS bundle. No wasted context on irrelevant checks.

Installing Vibe Security

Claude Code

npx skills add https://github.com/raroque/vibe-security-skill --skill vibe-security

If npx isn't available, install Node.js first: brew install node (macOS) or download from nodejs.org.

OpenAI Codex

npx skills add https://github.com/raroque/vibe-security-skill --skill vibe-security

Select "Codex" when prompted for the agent platform.

Manual Installation (Claude Code)

Clone this repo and copy the vibe-security/ folder to your project or global skills directory:

# Project-level (applies to one project)
cp -r vibe-security/ .claude/skills/vibe-security/

# Global (applies to all projects)
cp -r vibe-security/ ~/.claude/skills/vibe-security/

Using Vibe Security

Claude Code: Use /vibe-security to trigger a full security audit, or just ask naturally - "check my code for security issues", "is this safe?", "audit this project".

Codex: Use $vibe-security or describe what you need - "review this for vulnerabilities", "check my Supabase RLS".

The skill also activates automatically when you're writing or reviewing code that handles authentication, payments, database access, API keys, or user data.

What It Checks

CategoryWhat It Catches
Secrets & Env VarsHardcoded API keys, secrets in NEXT_PUBLIC_/VITE_/EXPO_PUBLIC_ vars, missing .gitignore
Database SecurityDisabled Supabase RLS, USING (true) policies, missing WITH CHECK, exposed sensitive fields, Firebase allow: if true rules, Convex missing auth
Auth & Authorizationjwt.decode() without verify, middleware-only auth, unprotected Server Actions, tokens in localStorage
Rate LimitingMissing limits on auth/AI/email endpoints, client-tamperable rate counters, no billing caps
PaymentsClient-submitted prices, missing webhook signature verification, stale subscription checks
MobileAPI keys in JS bundle, AsyncStorage for tokens, unsafe deep links, weak biometric auth
AI / LLMExposed AI API keys, no usage caps, prompt injection, unsafe output rendering
DeploymentDebug mode in production, exposed source maps, missing security headers, .git accessible
Data AccessSQL injection, Prisma operator injection, $queryRawUnsafe, mass assignment

Contributing

Contributions, corrections, and improvements are very welcome! This is meant to be a community resource. If you've found a security anti-pattern that AI assistants keep introducing, please add it.

See CONTRIBUTING.md for guidelines.

License

Vibe Security is available under the MIT License. See LICENSE for details.

Created by Chris Raroque (@raroque) and the team at Aloa.

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量423
评分3.5 / 5.0
版本
更新日期2026年4月7日
对比案例1 组

用户评分

3.5(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Manual

时间线

创建2026年4月7日
最后更新2026年4月7日