Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

vibe-security

FreeRuns bundled scriptsNot checked

Security intelligence for code analysis. Detects SQL injection, XSS, CSRF, authentication issues, crypto failures, and more. Actions: scan, analyze, fix…

aiskillstoreby aiskillstore★ 509 GitHub stars

About this skill

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 recomm
Full SKILL.md on GitHub

Install vibe-security in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

data/advanced-patterns.csvdata/compliance-mapping.csvdata/fix-templates.csvdata/frameworks.csvdata/iac-security.csvdata/languages-extended.csvdata/patterns.csvdata/rules.csvdata/supply-chain.csvdata/vulnerabilities.csvscripts/ast_analyzer.pyscripts/autofix_engine.pyscripts/core.pyscripts/cve_integration.pyscripts/dataflow_analyzer.pyscripts/fix_engine.pyscripts/reporter.pyscripts/search.pyskill-report.json

FAQ

What does the vibe-security skill do?

Security intelligence for code analysis. Detects SQL injection, XSS, CSRF, authentication issues, crypto failures, and more. Actions: scan, analyze, fix, audit, check, review, secure, validate, sanitize, protect. Languages: JavaScript, TypeScript, Python, PHP, Java, Go, Ruby. Frameworks: Express, Django, Flask, Laravel, Spring, Rails. Vulnerabilities: SQL injection, XSS, CSRF, authentication bypass, authorization issues, command injection, path traversal, insecure deserialization, weak crypto, sensitive data exposure. Topics: input validation, output encoding, parameterized queries, password hashing, session management, CORS, CSP, security headers, rate limiting, dependency scanning.

How do I install the vibe-security skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the vibe-security skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare vibe-security with