The most advanced VS Code extension for identifying, visualizing, and auto-fixing security vulnerabilities.
Unlike any other security tool, VulnHunter doesn't just find vulnerabilities — it shows you exactly how hackers will exploit them. Our patented Attack Flow technology maps the complete exploitation chain:
- 🚪 Entry Points - Where attackers first strike
- 💥 Exploit Steps - How the vulnerability is triggered
- ⬆️ Escalation Paths - How attackers gain more access
- 💀 Impact Analysis - The complete damage assessment
With stunning interactive visualizations, animated particle effects, and real-time exploit path tracing.
Stop manually fixing vulnerabilities. VulnHunter's intelligent Auto-Patch Engine:
- Analyses the vulnerable code pattern
- Generates secure replacement code
- Applies the fix with one click
- Verifies the fix doesn't break functionality
Supports 50+ vulnerability types with language-specific fixes.
| Language | Status | Rules |
|---|---|---|
| JavaScript | ✅ Full Support | 80+ rules |
| TypeScript | ✅ Full Support | 80+ rules |
| Python | ✅ Full Support | 60+ rules |
| Java | ✅ Full Support | 50+ rules |
| Go | ✅ Full Support | 40+ rules |
| PHP | ✅ Full Support | 50+ rules |
| Ruby | ✅ Full Support | 40+ rules |
| Rust | ✅ Full Support | 30+ rules |
| C/C++ | ✅ Full Support | 35+ rules |
Real-time security metrics with:
- Severity distribution charts
- Risk score rankings
- OWASP Top 10 mapping
- Category breakdowns
- Trend analysis
"The first tool that shows me exactly how my code will be hacked. Game changer." — @senior-dev
"Fixed 47 SQL injections in 3 minutes. Unbelievable." — @security-lead
"Installed, scanned, fixed. No setup needed." — @fullstack-dev
"Integrates perfectly with our GitHub Actions pipeline." — @devops-eng
ext install vuln-huntergit clone https://github.com/albraa911sa-lgtm/vuln-hunter.git
cd vuln-hunter
npm install
npm run compile
# Press F5 to launch extension hostCmd+Shift+P → "VulnHunter: Scan for Vulnerabilities"
Cmd+Shift+P → "VulnHunter: Scan Entire Workspace"
Cmd+Shift+P → "VulnHunter: Open Security Dashboard"
Right-click vulnerability → "Show Attack Flow"
Right-click vulnerability → "Auto-Fix Vulnerability"
- 🚨 SQL Injection (CWE-89) - Complete database compromise
- 🚨 Command Injection (CWE-78) - Remote code execution
- 🚨 Insecure Deserialization (CWE-502) - Remote code execution
- 🚨 Hardcoded Secrets (CWE-798) - Credential exposure
- 🔴 Cross-Site Scripting/XSS (CWE-79) - Session hijacking
- 🔴 Path Traversal (CWE-22) - Arbitrary file access
- 🔴 Server-Side Request Forgery (CWE-918) - Internal network access
- 🔴 Weak Cryptography (CWE-327) - Data decryption
- 🟠 Insecure Direct Object Reference (CWE-639) - Unauthorized access
- 🟠 Cross-Site Request Forgery (CWE-352) - Unauthorized actions
- 🟠 Open Redirect (CWE-601) - Phishing attacks
- 🟠 Missing Rate Limiting (CWE-770) - Brute force attacks
- 🟡 Information Exposure (CWE-209) - System fingerprinting
- 🟡 Race Conditions (CWE-362) - State corruption
{
"vuln-hunter.autoScan": true,
"vuln-hunter.severityThreshold": "low",
"vuln-hunter.enableAutoPatch": true,
"vuln-hunter.showAttackFlow": true,
"vuln-hunter.aiAssistant": true
}| Setting | Default | Description |
|---|---|---|
autoScan | true | Scan files on save |
severityThreshold | "low" | Minimum severity to report |
enableAutoPatch | true | Enable Auto-Patch Engine |
showAttackFlow | true | Show Attack Flow visualization |
aiAssistant | true | Enable AI Security Assistant |
VulnHunter Extension
├── 🎯 Security Scanner Engine
│ ├── Multi-Language Parser
│ ├── 80+ Detection Rules
│ ├── Data Flow Analysis
│ └── Risk Score Calculator
├── ⚡ Attack Flow Visualizer
│ ├── Exploit Chain Builder
│ ├── Interactive Graph Engine
│ ├── Mitigation Advisor
│ └── CVSS Calculator
├── 🔧 Auto-Patch Engine
│ ├── Pattern Matcher
│ ├── Fix Generator
│ ├── Code Transformer
│ └── Verification Engine
└── 📊 Dashboard & UI
├── React Webview
├── Real-time Charts
└── Export Reports
🛡️ VulnHunter Scan Results
═══════════════════════════════════
📁 File: api/controllers/UserController.js
🔴 CRITICAL: SQL Injection (CWE-89)
Line 45: const query = `SELECT * FROM users WHERE id = ${req.params.id}`
Risk Score: 9.2/10
→ Attack Flow: Entry → SQL Injection → Data Exfiltration → DB Compromise
→ Fix: Use parameterized queries
🔴 HIGH: Hardcoded Secret (CWE-798)
Line 12: const API_KEY = "sk-1234567890abcdef"
Risk Score: 8.5/10
→ Fix: Move to environment variables
✅ Auto-Patch applied: 2 vulnerabilities fixed
📄 Report exported: vuln-hunter-report.html
We welcome contributions! Please see our Contributing Guide.
# Fork the repository
git clone https://github.com/your-username/vuln-hunter.git
cd vuln-hunter
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and commit
git commit -m "Add amazing feature"# Push and create PR
git push origin feature/amazing-featureThis project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the security community
- Built for developers who care about security
- Powered by the VS Code Extension API
Made with ❤️ by the VulnHunter Team