Skip to content

A simple web-based tool to scan code for common security vulnerabilities (like SQL Injection, hardcoded passwords, and XSS) and auto-fix them. Upload your code, scan for issues, and download a fixed version instantly.

Notifications You must be signed in to change notification settings

ANURA4G/Vulnerability-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerability Scanner

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.

Features

  • 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)

Live Preview

You can try the app locally by running:

python app.py

Then open your browser and go to: http://localhost:5000


How to Use

  1. Clone this repository:
    git clone https://github.com/ANURA4G/-Vulnerability-Scanner.git
    cd -Vulnerability-Scanner
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the app:
    python app.py
  4. Open http://localhost:5000 in your browser.
  5. Upload a code file, scan, and download the fixed version.

Project Structure

.
├── 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

License

MIT

About

A simple web-based tool to scan code for common security vulnerabilities (like SQL Injection, hardcoded passwords, and XSS) and auto-fix them. Upload your code, scan for issues, and download a fixed version instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published