Token导航 LogoToken导航

Agent Skill · 研究检索

vibe-security(氛围安全)

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

vibe-security 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 42,153。

总安装 1,102周安装 45GitHub Stars 5下载 356核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

vibe-security 是一款专注于多语言与框架的安全扫描与代码分析工具,能识别广泛的安全漏洞。它适用于辅助 Agent 进行安全审计、权限检查、凭据风险评估及认证流程排查。使用时需结合人工判断,尤其涉及密钥、令牌或生产系统时,应确认最小权限和操作边界。

安装方式为 GitHub,支持 Codex、Claude、 Cursor 和 Gemini CLI 等宿主环境。

来源仓库内路径:skills/vibe-security

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/0x8506/vibe-security --skill vibe-security;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

vibe-security 怎么安装?

在终端执行 npx skills add https://github.com/0x8506/vibe-security --skill vibe-security。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

vibe-security 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

vibe-security 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/0x8506/vibe-security --skill vibe-security 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

vibe-security 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

vibe-security 用的人多吗?

公开数据是累计安装 1,102 次,近一周安装 45 次,下载 356 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

vibe-security 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
vibe-security

氛围安全 · 本页

1,1025执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Vibe Security - Security Intelligence

Comprehensive security scanner and code analyzer for identifying vulnerabilities across multiple languages and frameworks.

Prerequisites

Check if Node.js is installed:

node --version

If Node.js is not installed, install it based on user's OS:

macOS:

brew install node

Ubuntu/Debian:

sudo apt update && sudo apt install nodejs npm

Windows:

winget install OpenJS.NodeJS

Recommended AI Models

For Best Security Analysis

We recommend using these AI models with Vibe Security for optimal security vulnerability detection and code fixing:

Claude Opus 4.5 (Recommended)
  • Most advanced model for comprehensive security analysis
  • Superior reasoning capabilities for complex vulnerability detection
  • Exceptional at identifying subtle security flaws and attack vectors
  • Best for critical security audits, enterprise codebases, and production deployments
  • Provides the most thorough security remediation strategies
Claude Sonnet 4.5
  • Excellent balance of speed and security analysis depth
  • Great at understanding security context and identifying vulnerabilities
  • Provides safe remediation strategies with detailed explanations
  • Ideal for daily development and most security workflows
Claude Opus 4
  • Powerful for complex security audits and enterprise codebases
  • Deep reasoning capabilities for advanced vulnerability analysis
  • Best for critical security reviews and compliance requirements
  • Recommended for production deployments and sensitive applications
GPT-4o
  • Fast and efficient for security-aware code generation
  • Good alternative with quick response times
  • Excellent for CI/CD integration and automated scanning
  • Cost-effective for large-scale projects
Claude Sonnet 4
  • Faster alternative for quick security scans
  • Good balance of speed and accuracy
  • Suitable for rapid iteration during development
o1-preview
  • Specialized for complex security architecture reviews
  • Advanced reasoning for intricate vulnerability chains
  • Best for security research and deep code audits
GPT-4o-mini
  • Quick checks and preliminary scans
  • Most cost-effective option
  • Good for learning and educational use cases
Note: If you're not using one of the recommended models above, consider upgrading for better security analysis results. Lower-tier models may miss subtle vulnerabilities or provide less accurate fix suggestions.

How to Use This Skill

When user requests security work (scan, analyze, fix, audit, check, review vulnerabilities), follow this workflow:

Step 1: Analyze Security Context

Extract key information from user request:

  • Language: JavaScript, Python, Java, PHP, etc.
  • Framework: Express, Django, Spring, Laravel, etc.
  • Vulnerability type: SQL injection, XSS, CSRF, authentication, etc.
  • Scope: Single file, directory, or full project

Step 2: Run Security Analysis

Advanced Analysis (Recommended):

# AST-based semantic analysis (90% fewer false positives)
python3 .claude/skills/vibe-security/scripts/ast_analyzer.py "<file>"

# Data flow analysis (tracks tainted data from sources to sinks)
python3 .claude/skills/vibe-security/scripts/dataflow_analyzer.py "<file>"

# CVE & dependency vulnerability scanning
python3 .claude/skills/vibe-security/scripts/cve_integration.py .

# Supply chain security (malicious packages, typosquatting)
python3 .claude/skills/vibe-security/scripts/cve_integration.py . --ecosystem npm

# Infrastructure as Code security
grep -r "publicly_accessible.*=.*true" . --include="*.tf"
grep -r "privileged:.*true" . --include="*.yaml"

Quick Pattern Scanning:

# Use search utility for specific patterns
python3 .claude/skills/vibe-security/scripts/search.py "sql-injection" --domain pattern
python3 .claude/skills/vibe-security/scripts/search.py "javascript" --domain pattern --severity critical

Step 3: Analyze Vulnerabilities by Severity

Critical (Fix immediately):

  • SQL Injection
  • Remote Code Execution
  • Authentication Bypass
  • Hardcoded Secrets

High (Fix soon):

  • XSS (Cross-Site Scripting)
  • CSRF
  • Insecure Cryptography
  • Authorization Issues

Medium (Fix in sprint):

  • Missing Input Validation
  • Information Disclosure
  • Weak Password Policy
  • Missing Security Headers

Low (Technical debt):

  • Code Quality Issues
  • Best Practice Violations
  • Performance Concerns

Step 4: Get Fix Suggestions

ML-Based Fix Engine:

# Get intelligent fix recommendations with test generation
python3 .claude/skills/vibe-security/scripts/fix_engine.py \
  --type sql-injection \
  --language javascript \
  --code "db.query(\`SELECT * FROM users WHERE id = \${userId}\`)"

# Output includes:
# - Fixed code with context-aware corrections
# - Detailed explanation of the fix
# - Auto-generated security test
# - Additional recommendations
# - Confidence score (0-100%)

Step 5: Apply Security Fixes

Auto-Fix with Rollback Support:

# Apply fix with automatic backup
python3 .claude/skills/vibe-security/scripts/autofix_engine.py apply \
  --file src/database.js \
  --line 45 \
  --type sql-injection \
  --original "db.query(\`SELECT * FROM users WHERE id = \${userId}\`)" \
  --fixed "db.query('SELECT * FROM users WHERE id = $1', [userId])"

# Test your changes
npm test

# Rollback if needed (safe to experiment!)
python3 .claude/skills/vibe-security/scripts/autofix_engine.py rollback

# View fix history
python3 .claude/skills/vibe-security/scripts/autofix_engine.py history

Systematic Manual Fixes:

  1. Critical vulnerabilities first
  2. Add input validation - Whitelist, type checking, length limits
  3. Secure outputs - Escape, encode, sanitize
  4. Fix authentication/authorization - Strong passwords, MFA, RBAC
  5. Update cryptography - Modern algorithms, secure random
  6. Test thoroughly - Verify fixes don't break functionality
  7. Re-scan - Confirm all vulnerabilities are resolved

Step 6: Generate Reports

Multiple Report Formats:

# Beautiful HTML report with charts and statistics
python3 .claude/skills/vibe-security/scripts/reporter.py scan-results.json \
  --format html \
  --output security-report.html

# SARIF format for GitHub Code Scanning integration
python3 .claude/skills/vibe-security/scripts/reporter.py scan-results.json \
  --format sarif \
  --output results.sarif

# CSV for spreadsheet analysis
python3 .claude/skills/vibe-security/scripts/reporter.py scan-results.json \
  --format csv \
  --output vulnerabilities.csv

# JSON for CI/CD pipelines
python3 .claude/skills/vibe-security/scripts/reporter.py scan-results.json \
  --format json \
  --output security-report.json

Advanced Capabilities

1. Semantic Analysis with AST

Uses Abstract Syntax Tree parsing for accurate vulnerability detection:

  • Python: Full AST analysis with taint tracking
  • JavaScript/TypeScript: Heuristic + pattern-based analysis
  • Benefits: 90% reduction in false positives, context-aware

2. Data Flow Analysis

Tracks user input from sources to dangerous sinks:

  • Detects SQL injection, XSS, command injection through data flow
  • Identifies tainted variables and their propagation
  • Supports Python and JavaScript/TypeScript

3. Compliance Mapping

Maps every vulnerability to industry standards:

  • OWASP Top 10 2021
  • CWE (Common Weakness Enumeration)
  • MITRE ATT&CK techniques
  • NIST cybersecurity framework
  • PCI-DSS payment card requirements

4. Supply Chain Security

Protects against malicious dependencies:

  • Typosquatting detection
  • Dependency confusion attacks
  • Malicious install scripts
  • Network operations in packages
  • Supports: npm, PyPI, Maven, Gradle, Cargo, Go, RubyGems, NuGet, Composer

5. Infrastructure as Code

Scans cloud infrastructure configurations:

  • Terraform: AWS, Azure, GCP misconfigurations
  • Kubernetes: Pod security, RBAC issues
  • Docker: Dockerfile best practices
  • CloudFormation: AWS template security
  • Ansible: Playbook vulnerabilities

Security Check Reference

Available Vulnerability Checks

Check TypeDetectsExample Issues
sql-injectionSQL/NoSQL injectionString concatenation in queries, unsanitized input
xssCross-Site ScriptinginnerHTML usage, unescaped output, DOM manipulation
command-injectionOS command injectionshell=True, exec with user input
path-traversalDirectory traversalUnsanitized file paths,../.. in paths
auth-issuesAuthentication flawsWeak passwords, missing MFA, insecure sessions
authz-issuesAuthorization flawsMissing access controls, IDOR, privilege escalation
crypto-failuresCryptographic issuesMD5/SHA1 usage, weak keys, insecure random
sensitive-dataData exposureLogging passwords, exposing PII, hardcoded secrets
deserializationUnsafe deserializationpickle, eval, unserialize on user input
security-configMisconfigurationCORS, CSP, headers, error messages
dependenciesVulnerable packagesCVEs in npm/pip/composer packages

Language-Specific Security Patterns

JavaScript/TypeScript

// ✅ SECURE: Parameterized query
const user = await db.query("SELECT * FROM users WHERE id = $1", [userId]);

// ❌ VULNERABLE: SQL injection
const user = await db.query(`SELECT * FROM users WHERE id = ${userId}`);

// ✅ SECURE: Escape output
element.textContent = userInput;
const clean = DOMPurify.sanitize(htmlContent);

// ❌ VULNERABLE: XSS
element.innerHTML = userInput;

// ✅ SECURE: Input validation
const email = validator.isEmail(input) ? input : null;

// ❌ VULNERABLE: No validation
const email = req.body.email;

Python

# ✅ SECURE: Parameterized query
cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,))

# ❌ VULNERABLE: SQL injection
cursor.execute(f"SELECT * FROM users WHERE id = {user_id}")

# ✅ SECURE: Password hashing
import bcrypt
hashed = bcrypt.hashpw(password.encode(), bcrypt.gensalt())

# ❌ VULNERABLE: Plain text
user.password = password

# ✅ SECURE: Safe subprocess
subprocess.run(['ls', '-la', sanitized_dir])

# ❌ VULNERABLE: Command injection
os.system(f'ls -la {user_dir}')

PHP

// ✅ SECURE: Prepared statement
$stmt = $pdo->prepare("SELECT * FROM users WHERE id = ?");
$stmt->execute([$userId]);

// ❌ VULNERABLE: SQL injection
$result = mysqli_query($conn, "SELECT * FROM users WHERE id = $userId");

// ✅ SECURE: Output escaping
echo htmlspecialchars($input, ENT_QUOTES, 'UTF-8');

// ❌ VULNERABLE: XSS
echo $userInput;

// ✅ SECURE: Password hashing
$hash = password_hash($password, PASSWORD_ARGON2ID);

// ❌ VULNERABLE: MD5
$hash = md5($password);

Example Workflow

User request: "Check my Express app for security vulnerabilities"

AI should:

# 1. Run security scan on the project
python3 .claude/skills/vibe-security/scripts/scan.py "./src" --language javascript

# 2. Analyze results by severity
# Output might show:
# CRITICAL: SQL Injection in src/controllers/user.js:45
# HIGH: XSS in src/views/profile.ejs:12
# MEDIUM: Missing rate limiting on /api/login
# LOW: Console.log contains sensitive data

# 3. Fix critical issues first
# - Review src/controllers/user.js:45
# - Replace string concatenation with parameterized query
# - Add input validation using validator library

# 4. Fix high severity issues
# - Review src/views/profile.ejs:12
# - Use <%- for HTML escaping or DOMPurify for rich content
# - Implement Content Security Policy

# 5. Fix medium severity issues
# - Install express-rate-limit middleware
# - Configure rate limiting on authentication endpoints
# - Add helmet for security headers

# 6. Fix low severity issues
# - Remove or redact sensitive console.log statements
# - Use proper logging library with log levels

# 7. Generate security report
python3 .claude/skills/vibe-security/scripts/report.py "./src"

Tips for Secure Development

  1. Validate all inputs - Use allowlists, not denylists
  2. Encode all outputs - Context-appropriate escaping
  3. Use parameterized queries - Never concatenate SQL
  4. Hash passwords properly - bcrypt, Argon2, scrypt
  5. Implement MFA - Add second factor authentication
  6. Use HTTPS everywhere - Encrypt data in transit
  7. Keep dependencies updated - Patch known vulnerabilities
  8. Follow principle of least privilege - Minimal necessary permissions
  9. Log security events - Monitor for attacks
  10. Regular security audits - Scan before every release

Integration Examples

Pre-commit Hook

#!/bin/bash
# .git/hooks/pre-commit
python3 .claude/skills/vibe-security/scripts/scan.py "." --fail-on critical

CI/CD Pipeline

GitHub Actions:

- name: Security Scan
  run: |
    python3 .claude/skills/vibe-security/scripts/scan.py "." --format json

GitLab CI:

security_scan:
  script:
    - python3 .claude/skills/vibe-security/scripts/scan.py "."

Resources

平台分布

Codex

31.93%
按下载量换算114

Claude

31.56%
按下载量换算112

Cursor

18.51%
按下载量换算66

Gemini CLI

8.56%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/0x8506/vibe-security --skill vibe-security 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills