🛡️ vibeZik — Vibe Code Security Scanner
A free, open-source VS Code extension that finds security vulnerabilities and bugs in AI/vibe-coded projects — 100% offline, no API keys required.

🤔 Why vibeZik?
The rise of vibe coding (AI-assisted rapid development) is producing apps faster than ever — but also introducing security holes that AI tools don't always catch: hardcoded secrets, SQL injection, XSS, insecure deserialization, and more.
vibeZik bridges that gap. It is a real-time, in-editor security scanner that:
- 🔴 Flags vulnerabilities as you code, right in the editor
- 📋 Reports findings mapped to OWASP, CWE, and NIST standards
- 🔒 Works entirely offline — your code never leaves your machine
- 💸 Is completely free and open source (MIT License)
✨ Features
| Feature |
Description |
| Real-time scanning |
Automatically scans on file open and save |
| 28+ security rules |
Covering OWASP Top 10, CWE/SANS Top 25 |
| 10+ languages |
JS, TS, JSX, TSX, Python, Java, Go, PHP, Ruby, C# |
| Problems panel integration |
Errors/warnings appear in VS Code's native Problems panel |
| Inline CodeLens |
Shows issue count directly above affected lines |
| Rich hover details |
Hover over flagged code for description + remediation |
| Security Report |
Full HTML report with risk score and remediation guidance |
| Sidebar tree view |
Browse all findings by file from the Activity Bar |
| Zero API calls |
No internet, no accounts, no telemetry |
🏗️ Security Rules Covered
OWASP Top 10 (2021)
| ID |
Rule |
Severity |
CWE |
OWASP |
| VZ-001 |
SQL Injection — JS/TS string concatenation |
🔴 Critical |
CWE-89 |
A03:2021 |
| VZ-002 |
SQL Injection — Python cursor.execute f-string |
🔴 Critical |
CWE-89 |
A03:2021 |
| VZ-003 |
OS Command Injection — Python shell=True |
🔴 Critical |
CWE-78 |
A03:2021 |
| VZ-004 |
OS Command Injection — Node.js exec |
🔴 Critical |
CWE-78 |
A03:2021 |
| VZ-010 |
XSS — dangerouslySetInnerHTML |
🟠 High |
CWE-79 |
A03:2021 |
| VZ-011 |
XSS — innerHTML assignment |
🟠 High |
CWE-79 |
A03:2021 |
| VZ-012 |
XSS — document.write |
🟠 High |
CWE-79 |
A03:2021 |
| VZ-013 |
XSS — Jinja2 \|safe filter |
🟠 High |
CWE-79 |
A03:2021 |
| VZ-020 |
Hardcoded API key / password |
🔴 Critical |
CWE-798 |
A02:2021 |
| VZ-021 |
Hardcoded PEM private key |
🔴 Critical |
CWE-798 |
A02:2021 |
| VZ-022 |
Hardcoded AWS access key |
🔴 Critical |
CWE-798 |
A02:2021 |
| VZ-030 |
Weak hash — MD5 |
🟠 High |
CWE-328 |
A02:2021 |
| VZ-031 |
Weak hash — SHA-1 |
🟡 Medium |
CWE-328 |
A02:2021 |
| VZ-032 |
Insecure RNG — Math.random() |
🟡 Medium |
CWE-330 |
A02:2021 |
| VZ-033 |
JWT algorithm set to "none" |
🔴 Critical |
CWE-347 |
A02:2021 |
| VZ-040 |
Insecure deserialization — pickle.loads |
🔴 Critical |
CWE-502 |
A08:2021 |
| VZ-041 |
Insecure deserialization — yaml.load |
🟠 High |
CWE-502 |
A08:2021 |
| VZ-042 |
Arbitrary code execution — eval() |
🔴 Critical |
CWE-95 |
A03:2021 |
| VZ-050 |
Path traversal — Node.js fs |
🟠 High |
CWE-22 |
A01:2021 |
| VZ-051 |
Path traversal — Python open() |
🟠 High |
CWE-22 |
A01:2021 |
| VZ-060 |
SSRF — Node.js fetch with user URL |
🟠 High |
CWE-918 |
A10:2021 |
| VZ-061 |
SSRF — Python requests |
🟠 High |
CWE-918 |
A10:2021 |
| VZ-070 |
Unauthenticated sensitive route |
🟡 Medium |
CWE-306 |
A07:2021 |
| VZ-071 |
Timing-unsafe password comparison |
🟠 High |
CWE-287 |
A07:2021 |
| VZ-080 |
Debug mode enabled |
🟡 Medium |
CWE-16 |
A05:2021 |
| VZ-081 |
CORS wildcard origin |
🟡 Medium |
CWE-942 |
A05:2021 |
| VZ-082 |
HTTP (not HTTPS) for external connections |
🟢 Low |
CWE-319 |
A02:2021 |
| VZ-083 |
Trivial JWT secret |
🟠 High |
CWE-521 |
A02:2021 |
| VZ-090 |
Deprecated cipher — DES/3DES/RC4 |
🟠 High |
CWE-327 |
A02:2021 |
| VZ-091 |
Prototype pollution risk |
🟠 High |
CWE-915 |
A08:2021 |
🚀 Getting Started
Install from VS Code Marketplace
Search "vibeZik" in the Extensions panel (Ctrl+Shift+X) or:
ext install snowman.vibezik
Commands
| Command |
Description |
vibeZik: Scan Current File |
Scan the active editor |
vibeZik: Scan Entire Workspace |
Scan all supported files |
vibeZik: Show Security Report |
Open the interactive HTML report |
vibeZik: Clear All Findings |
Remove all diagnostics |
Configuration (settings.json)
{
"vibezic.enableRealTimeScan": true,
"vibezic.severity": "warning",
"vibezic.enabledRulesets": [
"injection", "xss", "secrets", "crypto",
"auth", "deserialization", "pathTraversal",
"ssrf", "insecureConfig"
],
"vibezic.excludePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/build/**"
],
"vibezic.maxFileSizeKB": 500
}
🏛️ Security Frameworks Used
vibeZik's rules are grounded in real-world industry standards:
🤝 Contributing
Contributions are welcome! This is an open source project.
- Fork the repo
- Add your rule in
src/rules/securityRules.ts
- Add a test in
src/test/suite/securityRules.test.ts
- Open a PR
Adding a New Rule
{
id: 'VZ-NNN', // Sequential number
name: 'Short description',
category: 'injection', // One of the RuleCategory union types
severity: 'high', // critical | high | medium | low | info
languages: ['javascript', 'typescript'],
cwe: 'CWE-XX',
owasp: 'AXX:2021',
description: 'What the vulnerability is and why it is dangerous.',
remediation: 'Actionable steps to fix it.',
pattern: /your-regex-here/i,
// Optional: return false to suppress false positives
filter: (line, match) => !line.includes('safe_alternative'),
}
📄 License
MIT © 2026 Vishwa Pramuditha
🙏 Acknowledgements