|
| 1 | +# 🔍 AI-Powered Vulnerability Scanner |
| 2 | + |
| 3 | +[](https://python.org) |
| 4 | +[](LICENSE) |
| 5 | +[](Dockerfile) |
| 6 | +[](#) |
| 7 | + |
| 8 | +> **The developer's best friend for pre-production security testing** 🚀 |
| 9 | +
|
| 10 | +A lightweight, AI-powered vulnerability scanner that helps developers identify security issues before pushing to production. Perfect for CI/CD pipelines, local development, and quick security assessments. |
| 11 | + |
| 12 | +## ✨ Why This Scanner? |
| 13 | + |
| 14 | +- **🤖 AI-Powered**: Intelligent risk assessment and actionable recommendations |
| 15 | +- **⚡ Lightning Fast**: Parallel scanning with configurable batch sizes |
| 16 | +- **🎯 Developer-Focused**: Simple CLI, clear output, easy integration |
| 17 | +- **🔍 Comprehensive**: Technology stack analysis, API security, vulnerability detection |
| 18 | +- **🐳 Docker Ready**: One-command deployment with no setup required |
| 19 | +- **💰 Free & Open Source**: No licensing fees, full transparency |
| 20 | + |
| 21 | +## 🚀 Quick Start |
| 22 | + |
| 23 | +### One-Command Setup |
| 24 | + |
| 25 | +```bash |
| 26 | +git clone https://github.com/yourusername/vulnscanner.git && cd vulnscanner && pip install -r requirements.txt && python main.py example.com |
| 27 | +``` |
| 28 | + |
| 29 | +### Docker (Even Easier!) |
| 30 | + |
| 31 | +```bash |
| 32 | +docker run -it vulnscanner python main.py yoursite.com |
| 33 | +``` |
| 34 | + |
| 35 | +## 🎯 Essential Commands |
| 36 | + |
| 37 | +```bash |
| 38 | +# Basic security scan |
| 39 | +python main.py yourwebsite.com |
| 40 | + |
| 41 | +# Pre-production check |
| 42 | +python main.py localhost:3000 --scan-types web --timeout 30 |
| 43 | + |
| 44 | +# API security focus |
| 45 | +python main.py api.yoursite.com --scan-types web --batch-size 50 |
| 46 | + |
| 47 | +# Custom output |
| 48 | +python main.py yoursite.com --output json --output-file security_report |
| 49 | +``` |
| 50 | + |
| 51 | +## 🔍 What It Checks |
| 52 | + |
| 53 | +### Technology Stack Analysis |
| 54 | + |
| 55 | +- **Frontend**: React, Angular, Vue.js, Next.js, jQuery, Bootstrap |
| 56 | +- **Backend**: Node.js, Python, PHP, Java, .NET frameworks |
| 57 | +- **CMS**: WordPress, Drupal, Joomla with version-specific vulnerabilities |
| 58 | +- **Analytics**: Google Analytics, Facebook Pixel, tracking services |
| 59 | + |
| 60 | +### API Security |
| 61 | + |
| 62 | +- **Authentication**: Public vs protected endpoint detection |
| 63 | +- **CORS**: Dangerous wildcard origins and misconfigurations |
| 64 | +- **Rate Limiting**: Missing protection headers |
| 65 | +- **Sensitive Endpoints**: Admin, auth, config, debug APIs |
| 66 | +- **Content Analysis**: Documentation exposure, error disclosure |
| 67 | + |
| 68 | +### Security Vulnerabilities |
| 69 | + |
| 70 | +- **Injection Attacks**: XSS, CSRF, SQL injection vectors |
| 71 | +- **Security Headers**: CSP, HSTS, X-Frame-Options, and more |
| 72 | +- **Information Disclosure**: Server info, error handling, sensitive files |
| 73 | +- **Outdated Software**: Technologies with known security issues |
| 74 | + |
| 75 | +## 📊 Sample Output |
| 76 | + |
| 77 | +``` |
| 78 | +🛠️ TECHNOLOGY STACK ANALYSIS |
| 79 | +
|
| 80 | +Frontend Technologies: |
| 81 | + • React.js v16.8.0 [HIGH] (OUTDATED) |
| 82 | + • jQuery v3.4.1 [MEDIUM] (OUTDATED) |
| 83 | +
|
| 84 | +API Security: |
| 85 | + • 5 public API endpoints detected |
| 86 | + • Missing rate limiting on 3 endpoints |
| 87 | + • CORS misconfiguration found |
| 88 | +
|
| 89 | +Security Summary: |
| 90 | + • High Risk: 3 technologies |
| 91 | + • Medium Risk: 1 technologies |
| 92 | + • Outdated: 4 technologies |
| 93 | +
|
| 94 | +🤖 AI-POWERED ANALYSIS |
| 95 | +Risk Level: High |
| 96 | +Risk Score: 67/100 |
| 97 | +
|
| 98 | +🔧 TOP RECOMMENDATIONS: |
| 99 | +1. Update React.js from v16.8.0 to latest version |
| 100 | +2. Implement rate limiting on API endpoints |
| 101 | +3. Fix CORS configuration for production |
| 102 | +4. Add Content Security Policy headers |
| 103 | +5. Update jQuery to latest version |
| 104 | +``` |
| 105 | + |
| 106 | +## 🛠️ Installation |
| 107 | + |
| 108 | +### Prerequisites |
| 109 | + |
| 110 | +- Python 3.8+ |
| 111 | +- pip |
| 112 | +- nmap (for port scanning) |
| 113 | +- nikto (for web server scanning) |
| 114 | + |
| 115 | +### Quick Install |
| 116 | + |
| 117 | +```bash |
| 118 | +# Clone repository |
| 119 | +git clone https://github.com/yourusername/vulnscanner.git |
| 120 | +cd vulnscanner |
| 121 | + |
| 122 | +# Install dependencies |
| 123 | +pip install -r requirements.txt |
| 124 | + |
| 125 | +# Run scanner |
| 126 | +python main.py yoursite.com |
| 127 | +``` |
| 128 | + |
| 129 | +### Docker Install |
| 130 | + |
| 131 | +```bash |
| 132 | +# Build image |
| 133 | +docker build -t vulnscanner . |
| 134 | + |
| 135 | +# Run scanner |
| 136 | +docker run -it vulnscanner python main.py yoursite.com |
| 137 | +``` |
| 138 | + |
| 139 | +## 🎯 Perfect For |
| 140 | + |
| 141 | +- **👨💻 Developers**: Pre-production security checks |
| 142 | +- **🔧 DevOps**: CI/CD pipeline integration |
| 143 | +- **🛡️ Security Teams**: Quick vulnerability assessments |
| 144 | +- **🚀 Startups**: Affordable security testing |
| 145 | +- **🎓 Students**: Learning web security concepts |
| 146 | + |
| 147 | +## 📈 Performance |
| 148 | + |
| 149 | +- **Lightweight**: < 50MB Docker image |
| 150 | +- **Fast**: Parallel scanning with configurable batch sizes |
| 151 | +- **Efficient**: Smart caching and minimal resource usage |
| 152 | +- **Scalable**: Handles everything from localhost to enterprise sites |
| 153 | + |
| 154 | +## 🔧 Advanced Usage |
| 155 | + |
| 156 | +```bash |
| 157 | +# High-performance scanning |
| 158 | +python main.py yoursite.com --threads 20 --batch-size 50 |
| 159 | + |
| 160 | +# Specific scan types |
| 161 | +python main.py yoursite.com --scan-types web ssl |
| 162 | + |
| 163 | +# Custom output formats |
| 164 | +python main.py yoursite.com --output html --output-file report |
| 165 | + |
| 166 | +# CI/CD integration |
| 167 | +python main.py $TARGET_URL --output json --no-save | jq '.risk_score' |
| 168 | +``` |
| 169 | + |
| 170 | +## 🤝 Contributing |
| 171 | + |
| 172 | +We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. |
| 173 | + |
| 174 | +## 📄 License |
| 175 | + |
| 176 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 177 | + |
| 178 | +## 🙏 Acknowledgments |
| 179 | + |
| 180 | +- Built with Python, asyncio, and aiohttp for high performance |
| 181 | +- AI-powered analysis using machine learning techniques |
| 182 | +- Inspired by the need for developer-friendly security tools |
| 183 | + |
| 184 | +--- |
| 185 | + |
| 186 | +**Ready to secure your web applications?** Start with `python main.py yoursite.com` and see the magic happen! ✨ |
| 187 | + |
| 188 | +[](https://github.com/zeemscript/vulnscanner) |
| 189 | +[](https://github.com/zeemscript/vulnscanner) |
| 190 | +[](https://github.com/zeemscript/vulnscanner) |
0 commit comments