Skip to content

About

Python AI-powered vulnerability scanner for authorized web & network security assessment, with CVE detection, port scanning, TLS/DNS checks, risk scoring and automated security reports.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ VulnScan Pro โ€” AI-Powered Vulnerability Scanner

VulnScan Pro is an educational Python-based vulnerability assessment and security scanning tool designed to identify common security weaknesses in web applications, network services, and exposed infrastructure.

The project combines network reconnaissance, web security analysis, CVE correlation, risk scoring, DNS/TLS checks, and automated reporting into a single command-line security assessment tool.

It is designed primarily for cybersecurity education, vulnerability assessment, penetration-testing labs, and authorized security testing.

๐Ÿš€ Features

๐Ÿ” Network Security Scanning

  • Concurrent TCP port scanning
  • Custom port ranges and port lists
  • Service identification
  • Banner grabbing
  • Detection of potentially risky exposed services
  • Configurable timeout and scanning threads

๐ŸŒ Web Security Assessment

  • HTTP/HTTPS security-header analysis
  • Content Security Policy (CSP) checks
  • HSTS checks
  • X-Frame-Options checks
  • X-Content-Type-Options checks
  • Referrer-Policy checks
  • Permissions-Policy checks
  • Server/framework information disclosure detection
  • Directory-listing detection
  • Sensitive-resource exposure checks
  • CORS configuration checks
  • HTTP method analysis
  • Cookie security checks

๐Ÿ” SSL/TLS Analysis

  • TLS protocol detection
  • Certificate inspection
  • Cipher detection
  • Certificate validation checks
  • Detection of legacy TLS configurations

๐Ÿงฌ Technology Detection

The scanner attempts to identify technologies and frameworks used by a web application, including indicators for:

  • Apache
  • PHP
  • WordPress
  • Drupal
  • Joomla
  • React
  • Vue.js
  • Angular
  • Next.js
  • jQuery
  • Bootstrap
  • Other server/framework information exposed through HTTP responses

๐Ÿ› Vulnerability & CVE Analysis

  • Built-in vulnerability signatures
  • CVE identification
  • CVSS-based severity classification
  • Optional NVD CVE lookup
  • Vulnerability deduplication
  • Remediation recommendations

๐ŸŒ DNS Security

  • A / AAAA records
  • MX records
  • NS records
  • TXT records
  • CNAME records
  • SPF checks
  • DMARC checks

๐Ÿ”Œ API Security Discovery

The scanner can check for commonly exposed API documentation endpoints such as:

  • Swagger
  • Swagger UI
  • OpenAPI
  • API documentation endpoints

๐Ÿ”Ž Subdomain Discovery

Optional subdomain discovery using a user-provided wordlist.

๐Ÿ“Š Risk Scoring

Vulnerabilities are categorized by severity:

  • ๐Ÿ”ด Critical
  • ๐ŸŸ  High
  • ๐ŸŸก Medium
  • ๐Ÿ”ต Low
  • โšช Informational

The scanner also generates an overall security score out of 100.

๐Ÿค– AI-Ready Analysis

The project includes an AI-ready analysis layer that:

  • Summarizes scan results
  • Prioritizes important findings
  • Generates remediation priorities
  • Structures findings for AI analysis
  • Supports integration with an external AI endpoint

๐Ÿ“„ Security Reports

Reports can be generated in multiple formats:

  • Markdown
  • HTML
  • JSON

๐Ÿ—„๏ธ Scan History

Scan results can be stored in a local SQLite database, allowing previous assessments to be tracked and compared.


๐Ÿ—๏ธ Architecture

                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                     โ”‚     Target       โ”‚
                     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚ Target Management โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚                   โ”‚                   โ”‚
          โ–ผ                   โ–ผ                   โ–ผ
    Port Scanner         Web Scanner        DNS Scanner
          โ”‚                   โ”‚                   โ”‚
          โ–ผ                   โ–ผ                   โ–ผ
   Service/Banner       Web Security        DNS Security
     Detection             Checks              Checks
          โ”‚                   โ”‚                   โ”‚
          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                     โ”‚ CVE Correlation โ”‚
                     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                     โ”‚  Risk Scoring   โ”‚
                     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                     โ”‚  AI Analysis    โ”‚
                     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ–ผ             โ–ผ             โ–ผ
             HTML          JSON        Markdown
             Report        Report        Report

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • requests
  • BeautifulSoup4
  • dnspython
  • socket
  • ssl
  • concurrent.futures
  • SQLite
  • REST API integration
  • JSON

๐Ÿ“ฆ Installation

Clone the repository:

git clone https://github.com/YOUR-USERNAME/vulnscan-pro.git
cd vulnscan-pro

Install dependencies:

pip install -r requirements.txt

Or:

pip install requests beautifulsoup4 dnspython

โ–ถ๏ธ Usage

Basic scan:

python vulnscan_pro.py example.com

Full scan:

python vulnscan_pro.py example.com --full

Scan selected ports:

python vulnscan_pro.py 192.168.1.10 --ports 22,80,443,8080

Generate an HTML report:

python vulnscan_pro.py example.com --full --format html

Generate a JSON report:

python vulnscan_pro.py example.com --full --format json

Run DNS checks:

python vulnscan_pro.py example.com --dns

Run SSL/TLS checks:

python vulnscan_pro.py example.com --ssl

Run CVE lookup:

python vulnscan_pro.py example.com --cve

Run subdomain discovery:

python vulnscan_pro.py example.com --subdomains wordlists/subdomains.txt

Enable all major checks:

python vulnscan_pro.py example.com --full

๐Ÿ“‹ Example Output

VulnScan Pro 2.0.0 โ€” authorized testing only

Target: example.com
Host: example.com

Open ports:
    80/HTTP
    443/HTTPS

Security score: 72/100
Rating: Moderate Risk

Findings:
    [Medium] WEB-HSTS
    [Low] COOKIE-SAMESITE
    [Low] WEB-INFO-DISCLOSURE

๐ŸŽฏ Project Objectives

The main objectives of VulnScan Pro are:

  1. Automate basic vulnerability assessment tasks.
  2. Identify exposed network services.
  3. Detect common web-security configuration weaknesses.
  4. Correlate software information with known CVEs.
  5. Prioritize vulnerabilities based on severity.
  6. Generate structured security reports.
  7. Maintain historical scan information.
  8. Provide an extensible foundation for AI-assisted security analysis.
  9. Demonstrate practical cybersecurity concepts using Python.

๐ŸŽ“ Academic Use

This project can be used as an educational cybersecurity project for demonstrating:

  • Vulnerability assessment
  • Network security
  • Web application security
  • Security automation
  • CVE/CVSS concepts
  • Risk assessment
  • Secure configuration analysis
  • Python programming
  • Security reporting
  • AI-assisted cybersecurity analysis

โš ๏ธ Disclaimer

VulnScan Pro is intended for authorized security testing, educational environments, and systems that you own or have explicit permission to assess.

Do not use this tool to scan systems without authorization.

The scanner performs detection-oriented security checks and should not be considered a replacement for professional penetration testing or comprehensive vulnerability-management platforms.

Always manually validate findings before taking remediation actions.

๐Ÿ”ฎ Future Enhancements

Planned improvements include:

  • Advanced AI vulnerability explanation
  • AI-generated remediation reports
  • Web-based dashboard
  • Advanced CVE correlation
  • Vulnerability trend visualization
  • Authentication-aware scanning for authorized applications
  • CI/CD security integration
  • Plugin-based scanner architecture
  • PDF security reports
  • Improved technology fingerprinting
  • Additional OWASP security checks
  • Automated remediation tracking

๐Ÿ‘จโ€๐Ÿ’ป Author

Shivam Kumar

Cybersecurity | Python | Vulnerability Assessment | Security Automation


โญ If you find this project useful for learning cybersecurity, consider starring the repository.

About

Python AI-powered vulnerability scanner for authorized web & network security assessment, with CVE detection, port scanning, TLS/DNS checks, risk scoring and automated security reports.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages