Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

vibe-security氛围安全

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

26,928

周安装

1,134

GitHub Stars

581

下载量

8,712
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vibe-security(氛围安全)
来源仓库:https://github.com/raroque/vibe-security-skill
仓库路径:skills/vibe-security
安装命令:
npx skills add https://github.com/raroque/vibe-security-skill --skill vibe-security
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

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

简介

对人工智能生成的代码进行安全审核,在发布之前发现漏洞。

  • 系统检查九个漏洞类别:秘密暴露、数据库访问控制、身份验证、速率限制、支付、移动安全、AI/LLM 集成、部署配置和输入验证
  • 根据具体的漏洞利用场景和代码修复之前/之后的严重程度(严重→高→中→低)对发现的问题进行优先级排序
  • 专为“vibe-coded”应用程序而设计,其中人工智能助手通常会引入客户端价格操纵、禁用数据库规则和硬编码 API 密钥等缺陷
  • 根据您的技术堆栈跳过不相关的检查;仅关注具有现实世界影响的真正安全问题

SKILL.md

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.

  1. 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 .env is in .gitignore. See references/secrets-and-env.md.
  2. 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.
  3. Authentication & Authorization — Validate JWT handling, middleware auth, Server Action protection, and session management. See references/authentication.md.
  4. 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.
  5. Payment Security — Check for client-side price manipulation, webhook signature verification, and subscription status validation. See references/payments.md.
  6. Mobile Security — Verify secure token storage, API key protection via backend proxy, and deep link validation. See references/mobile.md.
  7. AI / LLM Integration — Check for exposed AI API keys, missing usage caps, prompt injection vectors, and unsafe output rendering. See references/ai-integration.md.
  8. Deployment Configuration — Verify production settings, security headers, source map exposure, and environment separation. See references/deployment.md.
  9. 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: CriticalHighMediumLow.

For each issue:

  1. State the file and relevant line(s).
  2. Name the vulnerability.
  3. Explain what an attacker could do (concrete impact, not abstract risk).
  4. 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

  1. Service role key exposed (Critical): Anyone can bypass all database security. Rotate the key immediately and move it to server-side only.
  2. 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 .gitignore rules.
  • 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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.39%
按下载量换算2,996

Claude

34.34%
按下载量换算2,992

Cursor

18.92%
按下载量换算1,648

Gemini CLI

10.08%
按下载量换算878

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills