██ Vibe-Guard Security Scanner
Security Scanner - Zero dependencies, instant setup, works everywhere. Optimized performance for security scanning. Current ruleset: 25 essential security rules.

🚀 Quick Start
npm install -g vibe-guard
vibe-guard scan .
vibe-guard learn xss-detection
vibe-guard demo
Learning Security
Vibe-Guard is more than a scanner, it's an educational tool that teaches you about web security:
Understanding Vulnerabilities
XSS (Cross-Site Scripting):
app.get('/user', (req, res) => {
const userInput = req.query.name;
res.send('<h1>Hello ' + userInput + '</h1>');
});
app.get('/user', (req, res) => {
const userInput = req.query.name;
res.send('<h1>Hello ' + escapeHtml(userInput) + '</h1>');
});
SQL Injection:
const query = 'SELECT * FROM users WHERE id = ' + userId;
const query = 'SELECT * FROM users WHERE id = ?';
db.query(query, [userId]);
Exposed Secrets:
const API_KEY = 'sk-1234567890abcdef';
const API_KEY = process.env.API_KEY;
Security Best Practices
- Input Validation - Always validate and sanitize user input
- Output Encoding - Encode output to prevent XSS
- Parameterized Queries - Use prepared statements for SQL
- Environment Variables - Never hardcode secrets
- Security Headers - Implement proper HTTP security headers
Security Rules
Vibe-Guard detects 25 types of vulnerabilities:
- Authentication & Authorization: Missing authentication, broken access control
- Input Validation: SQL injection, XSS, unvalidated input
- Data Protection: Exposed secrets, hardcoded sensitive data
- Configuration: Insecure configuration, missing security headers
- Session Management: Insecure session handling
- Error Handling: Information disclosure through errors
- File Operations: Directory traversal, insecure file uploads
- Dependencies: Insecure dependencies, outdated packages
- AI/ML Security: AI-generated code validation, prompt injection
- Modern Threats: CSRF, CORS issues, insecure logging
Use Cases
CI/CD Integration:
- name: Security Scan
run: vibe-guard scan . --format sarif --output-file security-report.sarif
Pre-commit Hook:
vibe-guard scan . || exit 1
Educational Tool:
vibe-guard learn sql-injection
vibe-guard learn xss-detection
vibe-guard demo
Installation
NPM:
npm install -g vibe-guard
Homebrew:
brew install devjosef/tap/vibe-guard
Direct Download:
curl -L https://github.com/Devjosef/vibe-guard/releases/latest/download/vibe-guard-linux-x64 -o vibe-guard
chmod +x vibe-guard
curl -L https://github.com/Devjosef/vibe-guard/releases/latest/download/vibe-guard-macos-x64 -o vibe-guard
chmod +x vibe-guard
curl -L https://github.com/Devjosef/vibe-guard/releases/latest/download/vibe-guard-windows-x64.exe -o vibe-guard.exe
Documentation
Join us in making the web more secure:
- Learn:
vibe-guard learn [topic]
- Understand security concepts
- Demo:
vibe-guard demo
- Try with example vulnerabilities
- Stats:
vibe-guard stats
- See your security impact
- Discuss: GitHub Discussions
- Report: GitHub Issues
- Star: GitHub Repository
Why Vibe-Guard?
Built for developers who code fast and need security that keeps up:
- Zero dependencies - Lightweight and fast
- 25 security rules - Comprehensive coverage
- Cross-platform - Works everywhere
- Educational - Learn while you scan
- OWASP aligned - Industry best practices
- Developer-friendly - Simple CLI interface
Impact
Every scan makes the web a little more secure:
- 600+ total downloads on NPM
- 25 security rules covering modern threats
- Cross-platform support (Linux, macOS, Windows)
- Zero dependencies for maximum compatibility
- Educational focus - teaching security concepts
License
MIT License - see LICENSE for details.
Built for the greater good, like curl for security scanning.