A simple web-based tool to scan your code for common security vulnerabilities and auto-fix them. Upload your code file, scan for issues like SQL Injection, hardcoded passwords, and XSS, and download a fixed version instantly.
- Upload code files directly from your computer
- Detects vulnerabilities such as SQL Injection, hardcoded secrets, and XSS
- Auto-fixes detected issues and provides a downloadable fixed file
- Modern, easy-to-use web interface
- Powered by Flask (Python)
You can try the app locally by running:
python app.pyThen open your browser and go to: http://localhost:5000
- Clone this repository:
git clone https://github.com/ANURA4G/-Vulnerability-Scanner.git cd -Vulnerability-Scanner - Install dependencies:
pip install -r requirements.txt
- Run the app:
python app.py
- Open http://localhost:5000 in your browser.
- Upload a code file, scan, and download the fixed version.
.
├── app.py # Main Flask app
├── scanner.py # Vulnerability scan logic
├── templates/
│ └── index.html # Web UI
├── static/
│ ├── css/style.css # Styles
│ ├── js/script.js # JS logic
│ └── img/logo.png # Logo
├── requirements.txt # Python dependencies
└── test.py # Example vulnerable code
MIT