Skip to content

Akarsh-1A1/QScan

Repository files navigation

QScan β€” Quantum Readiness Assessment Platform

πŸ›‘οΈ QScan Automated PQC Scanner for Banking Infrastructure

Evaluate the cryptographic security of banking systems and assess readiness for Post-Quantum Cryptography (PQC) β€” powered by AI/ML risk scoring, anomaly detection, NIST-standardized migration advisories, regulatory compliance mapping, and an AI assistant chatbot.


πŸŽ₯ QScan Demo Walkthrough

Due to Render's free-tier limitations (backend may sleep after inactivity), the live deployment might take time to respond or may not always be available.

πŸ‘‰ For a complete walkthrough of all features, please refer to the deployed application demo video below:

Watch Demo

This video demonstrates:

  • Full deployed QScan application walkthrough
  • Quantum Risk Scoring & Dashboard
  • CBOM generation & PDF export
  • PQC Migration recommendations and plan
  • Compliance mapping & analytics
  • Quanta AI chatbot interaction
  • Previous scans history

πŸš€ Overview

QScan is a full-stack Quantum Readiness Assessment Platform built for the PNB Cybersecurity Hackathon 2026. It provides an end-to-end pipeline to:

  • πŸ” Discover public-facing banking assets (subdomains, APIs, VPN endpoints) via DNS enumeration & certificate transparency
  • πŸ” Analyze TLS/cryptographic configurations with deep cipher suite inspection
  • πŸ“¦ Generate a structured Cryptographic Bill of Materials (CBOM) in JSON format
  • πŸ€– Score quantum vulnerability using both rule-based and AI/ML-driven risk analysis (XGBoost + Isolation Forest anomaly detection)
  • πŸ“‹ Recommend NIST-standardized PQC migration paths with urgency timelines
  • πŸ›‘οΈ Issue PQC Readiness Certificates to verified quantum-safe assets
  • πŸ“œ Map scan findings to RBI, CERT-In, NIST, and PCI DSS regulatory requirements
  • 🩺 Generate Engineer's Remediation Playbooks with copy-paste config templates
  • πŸ“„ Export PDF reports with full scan results and compliance summaries
  • πŸ€– Chat with Quanta, the embedded AI assistant for scan-aware quantum security guidance
  • πŸ“Š Visualize all results through an interactive, real-time Quantum Readiness Dashboard

πŸ“Έ Screenshots

Quantum Readiness Dashboard

Readiness Score Risk Matrix
Quantum Readiness Score Risk Matrix

Detailed Scan Results & Threat Assessment

Asset Scan Results (TLS, Cipher, Anomaly Detection) Quantum Threat Assessment & PQC Migration Recommendations
Scan Results Threat Assessment

PQC Migration Plan & CBOM Output

PQC Migration Plan Engineer's Remediation Playbook & CBOM
PQC Migration Plan Remediation Playbook

Advanced Analytics & Compliance

Cryptographic Analytics Regulatory Compliance Assessment
Cryptographic Analytics Regulatory Compliance

Mosca Inequality & AI Assistant

Mosca Inequality Breach Window Quanta AI Chatbot Assistant
Mosca Inequality Quanta AI Assistant

Asset Discovery & PQC Certificate

Asset Discovery Results PQC Certificate Details
Asset Discovery PQC Certificate

πŸ—οΈ Architecture

                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚   React Frontend     β”‚
                        β”‚   (Dashboard UI)     β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                   β”‚ REST API
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚   FastAPI Backend     β”‚
                        β”‚   + Redis Cache       β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                   β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚           QScan Core Engine              β”‚
              β”‚                                         β”‚
              β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
              β”‚  β”‚   Asset     β”‚  β”‚   Port Scanner   β”‚  β”‚
              β”‚  β”‚  Discovery  β”‚  β”‚                  β”‚  β”‚
              β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
              β”‚         β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β”‚
              β”‚                  β–Ό                      β”‚
              β”‚         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
              β”‚         β”‚  TLS Scanner   β”‚              β”‚
              β”‚         β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β”‚
              β”‚                 β–Ό                       β”‚
              β”‚    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”‚
              β”‚    β”‚   Crypto Parser +      β”‚           β”‚
              β”‚    β”‚   PQC Classifier       β”‚           β”‚
              β”‚    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
              β”‚                 β–Ό                       β”‚
              β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
              β”‚  β”‚        AI/ML Engine              β”‚   β”‚
              β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚   β”‚
              β”‚  β”‚  β”‚ XGBoost  β”‚ β”‚  Isolation    β”‚  β”‚   β”‚
              β”‚  β”‚  β”‚ Risk     β”‚ β”‚  Forest       β”‚  β”‚   β”‚
              β”‚  β”‚  β”‚ Scoring  β”‚ β”‚  Anomaly Det. β”‚  β”‚   β”‚
              β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚   β”‚
              β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
              β”‚                 β–Ό                       β”‚
              β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
              β”‚  β”‚   Post-Processing & Reporting    β”‚   β”‚
              β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚   β”‚
              β”‚  β”‚  β”‚  CBOM    β”‚ β”‚  Compliance   β”‚  β”‚   β”‚
              β”‚  β”‚  β”‚Generator β”‚ β”‚  Mapper       β”‚  β”‚   β”‚
              β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚   β”‚
              β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚   β”‚
              β”‚  β”‚  β”‚   PDF    β”‚ β”‚  PQC Cert     β”‚  β”‚   β”‚
              β”‚  β”‚  β”‚ Exporter β”‚ β”‚  Issuer       β”‚  β”‚   β”‚
              β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚   β”‚
              β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Project Structure

QScan/
β”œβ”€β”€ main.py                          # CLI entry point (5-phase pipeline)
β”œβ”€β”€ setup.py                         # pip-installable package + `qscan` command
β”œβ”€β”€ requirements.txt                 # Python dependencies
β”‚
β”œβ”€β”€ config/
β”‚   └── settings.py                  # Global configuration
β”‚
β”œβ”€β”€ scanner/
β”‚   β”œβ”€β”€ asset_discovery.py           # Subdomain & asset enumeration (DNS + CT logs)
β”‚   β”œβ”€β”€ tls_scanner.py               # TLS handshake & certificate analysis
β”‚   └── port_scanner.py              # Port scanning module
β”‚
β”œβ”€β”€ crypto/
β”‚   β”œβ”€β”€ cipher_parser.py             # Cipher suite parsing & classification
β”‚   └── pqc_classifier.py           # PQC readiness classification (rule-based)
β”‚
β”œβ”€β”€ ai_ml/
β”‚   β”œβ”€β”€ risk_scoring_model.py        # XGBoost quantum risk scoring
β”‚   β”œβ”€β”€ feature_engineering.py       # Feature extraction from scan data
β”‚   β”œβ”€β”€ anomaly_detection.py         # Isolation Forest anomaly detection
β”‚   β”œβ”€β”€ training_data.py             # Training dataset generation
β”‚   └── models/                      # Saved trained models (.joblib)
β”‚
β”œβ”€β”€ cbom/
β”‚   └── cbom_generator.py            # CBOM JSON generation
β”‚
β”œβ”€β”€ compliance/
β”‚   └── compliance_mapper.py         # RBI, CERT-In, NIST, PCI DSS mapping
β”‚
β”œβ”€β”€ reporting/
β”‚   └── pdf_exporter.py              # PDF report generation
β”‚
β”œβ”€β”€ utils/
β”‚   └── logger.py                    # Centralized logging
β”‚
β”œβ”€β”€ qscan-backend/                   # FastAPI REST API server
β”‚   β”œβ”€β”€ main.py                      # API routes + background scan worker
β”‚   β”œβ”€β”€ config.py                    # Redis & server settings (Pydantic)
β”‚   └── requirements.txt             # Backend-specific dependencies
β”‚
β”œβ”€β”€ qscan-frontend/                  # React 19 Dashboard
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”‚   β”œβ”€β”€ Landing.jsx          # Home / landing page
β”‚   β”‚   β”‚   β”œβ”€β”€ NewScan.jsx          # Start new scan form
β”‚   β”‚   β”‚   β”œβ”€β”€ Results.jsx          # Full scan results dashboard
β”‚   β”‚   β”‚   β”œβ”€β”€ History.jsx          # Scan history list
β”‚   β”‚   β”‚   └── Certificate.jsx      # PQC Certificate detail view
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ Quanta.jsx           # AI Chatbot assistant widget
β”‚   β”‚   β”‚   β”œβ”€β”€ CompliancePanel.jsx  # Regulatory compliance display
β”‚   β”‚   β”‚   β”œβ”€β”€ RemediationPlaybook.jsx # Engineer remediation templates
β”‚   β”‚   β”‚   └── AnalyticsCharts.jsx  # CRQC timeline & vulnerability charts
β”‚   β”‚   β”œβ”€β”€ api/                     # Axios API client
β”‚   β”‚   β”œβ”€β”€ hooks/                   # Custom React hooks
β”‚   β”‚   β”œβ”€β”€ styles/                  # CSS stylesheets
β”‚   β”‚   └── utils/                   # Frontend utilities
β”‚   └── package.json
β”‚
β”œβ”€β”€ demo_results/                    # Sample scan outputs
β”œβ”€β”€ results/                         # Scan output directory
└── Run Snapshots/                   # Application screenshots

βš™οΈ Installation & Setup

Prerequisites

Requirement Version
Python 3.11+
Node.js 18+
Redis 7+
nmap Latest (for port scanning)

1. Clone & Install Core Scanner

# Clone the repository
git clone https://github.com/Akarsh-1A1/Qscan.git
cd QScan

# Create virtual environment
python -m venv venv
source venv/bin/activate        # Linux/Mac
venv\Scripts\activate           # Windows

# Install core dependencies
pip install -r requirements.txt

# Install qscan as a CLI tool
pip install -e .

2. Set Up Backend (FastAPI + Redis)

🧰 Redis Installation

QScan's backend requires Redis for caching, scan queue management, and storing scan results.
Install Redis using the instructions below depending on your operating system.


Linux (Ubuntu / Debian)

Install Redis

sudo apt update
sudo apt install redis-server -y

Start Redis

sudo systemctl start redis
sudo systemctl enable redis

Verify Redis

redis-cli ping

Windows (Docker Method)

Install Docker Desktop first if not installed:
https://www.docker.com/products/docker-desktop/

Run Redis container

docker run -d -p 6379:6379 --name qscan-redis redis:7

Verify Redis is running

docker ps

You should see a container named qscan-redis.

Test Redis

docker exec -it qscan-redis redis-cli ping

⚠️ Important

Before starting the backend server, make sure Redis is running.

Linux:

sudo systemctl start redis

Docker (Windows):

docker start qscan-redis
cd qscan-backend

# Install backend dependencies
pip install -r requirements.txt

# Configure Redis credentials in .env file
# See config.py for available options:
#   REDIS_HOST, REDIS_PORT, REDIS_DB, REDIS_PASSWORD, REDIS_SCAN_TTL
#   SERVER_HOST, SERVER_PORT, QSCAN_TIMEOUT, CORS_ORIGINS

# Start the API server
uvicorn main:app --host 0.0.0.0 --port 8000 --reload

API Docs: Swagger UI β†’ http://localhost:8000/docs | ReDoc β†’ http://localhost:8000/redoc

3. Set Up Frontend (React Dashboard)

cd qscan-frontend

# Install dependencies
npm install

# Start the development server
npm start

The frontend runs at http://localhost:3000 and connects to the backend API at port 8000.


πŸš€ Deployment

QScan is deployed across three cloud platforms for production use:

Backend β†’ Render | Frontend β†’ Vercel | Cache β†’ Upstash

Component Platform Purpose
Backend API Render FastAPI server hosting quantum risk engine
Frontend Dashboard Vercel React 19 static site with global CDN
Redis Cache Upstash Serverless Redis with REST API

Live Demo: [https://q-scan-psi.vercel.app/]


πŸ”§ Usage

CLI Mode

# Scan a single domain
python main.py --domain example.com

# Scan with asset discovery (subdomains, SAN assets)
python main.py --domain example.com --discover

# Scan and generate CBOM
python main.py --domain example.com --discover --cbom

# Custom ports and verbose output
python main.py --domain example.com --discover --cbom --ports 443,8443,993 --verbose

Web Dashboard Mode

  1. Start Redis server
  2. Start the backend: uvicorn main:app --reload (from qscan-backend/)
  3. Start the frontend: npm start (from qscan-frontend/)
  4. Navigate to http://localhost:3000
  5. Enter a target domain in New Scan and monitor progress in real-time
  6. View results, risk matrix, CBOM, compliance report, remediation playbook, and PQC migration recommendations
  7. Chat with Quanta for AI-powered scan insights and migration guidance
  8. Download the PDF Report or CBOM JSON directly from the results page

🧩 Feature Overview

Core Scanning Pipeline

Module Description
Asset Discovery Enumerates subdomains, APIs, and public endpoints using DNS resolution, certificate transparency logs, and SAN extraction
Port Scanner Multi-threaded port scanning to identify TLS-enabled services
TLS Scanner Deep TLS handshake analysis β€” protocol versions, cipher suites, certificate details, key exchange
Cipher Parser Classifies cipher suites by quantum vulnerability level
PQC Classifier Evaluates quantum readiness and assigns risk levels (CRITICAL / HIGH / MEDIUM / LOW / SAFE)
CBOM Generator Produces a structured Cryptographic Bill of Materials with risk matrix and migration plan

AI/ML Engine

Module Description
XGBoost Risk Scoring ML model that learns quantum risk patterns from labeled scan data and synthetic training sets
Feature Engineering Extracts and transforms raw crypto scan data into ML-ready feature vectors
Anomaly Detection Isolation Forest model that flags unusual or suspicious cryptographic configurations
Training Data Generator Generates labeled datasets from real scans and synthetic crypto configs for model training

πŸ†• New Features

Feature Description
Quanta AI Chatbot Embedded AI assistant (Quanta) that answers questions about scan results, migration strategies, PQC algorithms, and step-by-step remediation guidance in real time
PQC Certificate Issuer Issues a verifiable PQC Readiness Certificate for assets that meet quantum-safe standards; viewable from the Certificate page
Regulatory Compliance Assessment Automatically maps scan findings to RBI, CERT-In, NIST, and PCI DSS requirements with per-control pass/fail status and an overall compliance score
Engineer's Remediation Playbook Generates copy-paste server configuration templates (Nginx, Apache, AWS ALB) to instantly enable ML-KEM-768 Hybrid PQC on infrastructure
PDF Report Export One-click export of the full scan results, compliance summary, and CBOM metadata as a downloadable PDF
Advanced Analytics Charts CRQC Algorithm Vulnerability Timeline, Mosca Inequality Breach Window visualization, Cryptographic Posture radar chart, and Quantum Vulnerability Breakdown donut chart
Mosca Inequality Calculator Interactive sliders to adjust Migration Lead-Time (X) and Data Shelf-Life (Y) parameters; computes breach window against CRQC arrival (Z) with real-time recommendations

Web Dashboard (React)

Page Description
Landing Home page with platform overview and API connection status
New Scan Form to initiate scans with domain input, discovery toggle, and port selection
Results Full scan results β€” Quantum Readiness Score, HNDL Mosca Inequality Risk, Risk Matrix, Asset details, Cipher suites, Anomaly flags, PQC Migration Plan, Remediation Playbook, Compliance Assessment, Analytics Charts, Certificate info, and Threat Assessment
History Browse and manage past scan records
Certificate Detailed PQC Certificate view with Post-Quantum Migration Recommendations per cryptographic layer

REST API (FastAPI + Redis)

Endpoint Method Description
/api/v1/scan POST Start a new scan (async, returns scan ID)
/api/v1/scan/{id} GET Poll scan status and progress
/api/v1/scan/{id}/results GET Retrieve full scan results
/api/v1/scan/{id}/cbom GET Get Cryptographic Bill of Materials
/api/v1/scan/{id}/compliance GET Get regulatory compliance report
/api/v1/scan/{id}/certificate GET Get PQC Readiness Certificate
/api/v1/scan/{id}/pdf GET Download PDF report
/api/v1/history GET List all past scans
/api/v1/scan/{id} DELETE Remove a scan record
/api/v1/health GET Health check (verifies Redis connectivity)

πŸ” Quantum Risk Scoring

Each asset is assigned a Quantum Risk Score (0–100) using a hybrid approach:

1. Rule-Based Scoring (pqc_classifier.py)

Weighted formula evaluating:

  • Cryptographic algorithm type (RSA, ECC, AES, etc.)
  • Key length and effective strength
  • TLS protocol version (TLS 1.2 vs 1.3)
  • Certificate properties and validity
  • Forward secrecy support

2. AI/ML Scoring (ai_ml/risk_scoring_model.py)

XGBoost model that:

  • Learns from labeled scan data and synthetic training sets
  • Discovers hidden risk patterns beyond manual rules
  • Provides confidence-scored predictions
  • Falls back to rule-based scoring when model is unavailable

πŸ›‘οΈ PQC Certificate

Assets that pass quantum readiness thresholds receive a QScan PQC Readiness Certificate containing:

  • Subject domain and scan ID
  • Certificate validity window
  • Per-layer PQC migration status (Key Exchange, Authentication, TLS Handshake)
  • Current algorithms vs. recommended PQC replacements (e.g., ECDHE/DHE β†’ ML-KEM-768)
  • Hybrid transition paths (e.g., X25519+ML-KEM-768, RSA+ML-DSA-65)

πŸ“œ Regulatory Compliance Assessment

The platform automatically maps scan findings to major banking security frameworks:

Framework Controls Checked
RBI Cyber Security Framework Β§3.1 Encryption Standards, Β§3.4 Certificate Management, Β§9.3 Cryptographic Agility
CERT-In Directions 2022 Β§6 Cryptographic Controls & CBOM logging
NIST PQC Standards ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205) readiness
PCI DSS TLS version, cipher strength, certificate validity

Each control shows a Compliant βœ… / Non-Compliant ❌ status with evidence from the scan. An overall compliance score (e.g., 71% β€” 5/7 Controls) is displayed as a progress ring.


🩺 Engineer's Remediation Playbook

After each scan, QScan generates a ready-to-use Remediation Playbook with copy-paste configuration snippets for:

  • Nginx (OpenSSL 3.x) β€” Enable ssl_ecdh_curve X25519:X25519+Kyber768 for Hybrid PQC
  • Apache HTTP Server β€” Equivalent SSLOpenSSLConfCmd directives
  • AWS App Load Balancer β€” Security policy and listener rule configuration

Each playbook includes numbered implementation steps and a configuration snippet panel with a Copy Code button.


πŸ“Š PQC Migration Recommendations

The platform recommends NIST-standardized Post-Quantum Cryptography algorithms with urgency timelines:

Algorithm Use Case Standard Replaces
ML-KEM (Kyber) Key Encapsulation FIPS 203 RSA, ECDH
ML-DSA (Dilithium) Digital Signatures FIPS 204 RSA, ECDSA
SLH-DSA (SPHINCS+) Hash-based Signatures FIPS 205 RSA, ECDSA
FN-DSA (Falcon) Digital Signatures NIST Standardized RSA, ECDSA

Each asset receives:

  • Estimated Quantum Threat timeline (e.g., 2030–2035)
  • Migration Deadline with urgency level (NEAR-TERM / MID-TERM / MONITOR)
  • Hybrid transition paths (e.g., X25519+ML-KEM-768)

πŸ“ˆ Analytics Dashboard

The analytics section provides four visualizations powered by real scan data:

Chart Description
CRQC Algorithm Vulnerability Timeline Bar chart showing years until a CRQC can break each detected algorithm (RSA-2048, ECDSA, ML-KEM, etc.) with a Mosca Danger Zone threshold line
Cryptographic Posture Radar Multi-axis radar comparing your posture vs. ideal PQC-ready across TLS Version, Key Exchange, Forward Secrecy, Cipher Strength, Certificate Health, and PQC Readiness
Mosca Inequality Breach Window Gantt-style timeline overlaying Migration Window (X), Data Shelf-Life (Y), and CRQC Capability (Z) to visualize when breach risk opens
Quantum Vulnerability Breakdown Donut chart showing the ratio of Quantum Vulnerable vs. Quantum Safe cryptographic components across all scanned assets

πŸ€– Quanta β€” AI Assistant

Quanta is QScan's embedded AI chatbot, context-aware of your scan results. Ask it:

  • "What are the top risks in this scan?"
  • "How do I migrate from ECDHE to ML-KEM-768?"
  • "Explain the Mosca Inequality and what it means for my data."
  • "Give me a week-by-week PQC migration plan."

Quanta responds with structured, step-by-step guidance including specific FIPS standards, hybrid algorithm choices, and implementation timelines tailored to your scan findings.


πŸ› οΈ Tech Stack

Layer Technology
Core Scanner Python 3.11+ β€” cryptography, pyOpenSSL, dnspython, python-nmap
AI/ML scikit-learn, XGBoost, NumPy, Pandas, joblib
Backend API FastAPI, Uvicorn, Pydantic
Cache/Store Redis (via Upstash in production)
Frontend React 19, React Router, Recharts, Framer Motion, Axios
UI Lucide React icons, interactive designs
PDF Export jsPDF
AI Chatbot Groq API (Quanta assistant)
Deployment Render (backend), Vercel (frontend), Upstash (Redis)

πŸ›£οΈ Completed Milestones

  • Core scanning pipeline (Asset Discovery β†’ TLS Scanner β†’ Port Scanner)
  • Cryptographic parsing and PQC classification
  • CBOM generation with detailed risk matrix
  • AI/ML risk scoring engine (XGBoost)
  • Anomaly detection (Isolation Forest)
  • Feature engineering pipeline
  • FastAPI REST backend with async scan execution
  • Redis integration for persistent scan storage
  • React 19 interactive dashboard
  • Quantum Readiness Score visualization
  • Risk Matrix with per-asset breakdown
  • PQC Migration Plan with urgency timelines
  • Quantum Threat Assessment display
  • Certificate information viewer
  • Scan history & management
  • Real-time scan progress tracking
  • PQC Readiness Certificate issuance
  • Quanta AI Chatbot assistant
  • Regulatory Compliance Assessment (RBI, CERT-In, NIST, PCI DSS)
  • Engineer's Remediation Playbook with copy-paste config templates
  • PDF Report export
  • Advanced Analytics Charts (CRQC Timeline, Posture Radar, Mosca Breach Window, Vulnerability Breakdown)
  • Interactive Mosca Inequality Calculator with adjustable parameters
  • HNDL (Harvest Now, Decrypt Later) vulnerability assessment
  • Production Deployment (Render + Vercel + Upstash)

πŸ“„ License

This project is developed for the PNB Cybersecurity Hackathon 2026.


πŸ‘₯ Team β€” CacheMe

Member GitHub
Akarsh Raj @Akarsh-1A1
Subhanshu Kumar @Subhansh-1-u
Naman V Shetty @namanshetty25
Tanish Yadav @tanpsi

βš›οΈ Built for a quantum-safe future
PNB Cybersecurity Hackathon 2026 β€” Team CacheMe

About

QScan - Quantum Readiness Assessment Platform for Banking Infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors