Skip to content

About

Enterprise Attack Surface & Post-Quantum Cryptography (PQC) Auditor. Generates CycloneDX CBOMs in under 60 seconds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ QuantumShield

Enterprise Attack Surface & Post-Quantum Cryptography (PQC) Auditor

Next.js FastAPI Python CycloneDX License

QuantumShield is a high-performance, asynchronous cybersecurity engine built to perform rapid attack surface reconnaissance and validate Post-Quantum Cryptography (PQC) readiness.

Engineered to comply with strict CERT-In and NIST guidelines, it scans public-facing infrastructure, fingerprints cryptographic assets, and generates a standardized CycloneDX 1.5 Cryptographic Bill of Materials (CBOM)—all in under 60 seconds.


✨ Core Capabilities

  • Quantum-Safe Fingerprinting: Deep X.509 certificate chain extraction to detect legacy algorithms (RSA/ECC) versus Quantum-Resistant algorithms (Kyber, Dilithium).
  • Sub-60 Second Execution: Utilizes a highly concurrent Python engine (asyncio, httpx) to run parallel DNS enumeration, port scanning, and TLS probing.
  • CycloneDX 1.5 Standardization: Automatically maps discovered network services and cryptographic assets into a machine-readable JSON payload for CI/CD integration.
  • Executive PDF Reporting: Features a native, vector-perfect reporting engine that translates complex CBOM data into formal, compliance-ready PDF audits.

📂 Monorepo Architecture

The project is structured as a decoupled monorepo for maximum scalability:

QuantumShield/
├── backend/                 # Python FastAPI Engine
│   ├── core/                # Async orchestrator and CBOM generator
│   ├── scanners/            # Nmap, SSLyze, and HTTPx wrappers
│   └── main.py              # API Routing & Caching
├── frontend/                # Next.js 14 React Dashboard
│   ├── src/app/             # UI Components, Tailwind layout, Recharts
│   └── package.json         # Node dependencies
└── README.md

🚀 Absolute Beginner Setup Guide

To run this application locally from scratch, ensure your system has the required core languages and networking binaries installed.

Phase 1: System Prerequisites

Node.js (Frontend): Download and install the LTS version from nodejs.org.

Python (Backend): Download and install Python 3.10+ from python.org. (CRITICAL: Check the box that says "Add Python to PATH" during installation).

Nmap (Network Scanner): QuantumShield relies on the Nmap binary to probe open ports and fingerprint VPNs.

Windows: Download and install from nmap.org/download.

Mac: Run brew install nmap in terminal.

Linux: Run sudo apt-get install nmap in terminal.

Git: Download and install from git-scm.com.

Phase 2: Installation & Boot Sequence

Open a terminal and clone the repository:

Bash: git clone https://github.com/YOUR_USERNAME/QuantumShield.git cd QuantumShield

  1. Boot the Scanning Engine (Backend) Open a terminal in the backend folder. We use uv (a blazing-fast Python package manager) to handle dependencies.

Bash cd backend pip install uv uv sync uv run python main.py Success: The backend will output Uvicorn running on http://0.0.0.0:8443. Leave this terminal running in the background.

  1. Boot the Dashboard (Frontend) Open a second, separate terminal window and navigate to the frontend folder.

Bash cd frontend npm install npm run dev Success: The frontend will compile and become available at http://localhost:3000.

🎯 How to Use the Dashboard

Once both servers are running, open your web browser and navigate to http://localhost:3000.

  1. Initiate an Audit In the main command input, type any public-facing domain you have permission to scan (e.g., api.pnbbank.com or hackerone.com). Choose your scan depth:

Fast Scan (Recommended): Probes the 8 most critical enterprise ports (80, 443, 8443, 1194, etc.) and extracts TLS data in ~15 seconds. Perfect for live demonstrations and rapid auditing.

Deep Scan: Aggressively probes all 65,535 TCP ports. (Warning: May take 5-15 minutes and can trigger cloud Web Application Firewalls).

  1. Interpret the Intelligence As the scan runs, watch the Engine Telemetry terminal for real-time progress. Upon completion, look for the PQC Posture Status:

NIST Compliant (Green): The target utilizes modern TLS 1.3 with Post-Quantum key exchanges.

Immediate HNDL Risk (Red): The target relies on legacy RSA or Elliptic Curve algorithms. This data is susceptible to "Harvest Now, Decrypt Later" (HNDL) attacks by quantum computers.

  1. Export the Data For Compliance Teams: Click "Export Formal Report" to trigger the browser's native print engine. Save the output as a PDF to generate a styled, vector-perfect document outlining the target's risk grade.

For Engineering Teams: Switch to the "Raw CBOM (JSON)" tab to view and copy the CycloneDX payload for integration into internal Asset Management tools.

🛠️ Troubleshooting & Common Issues npx or npm is not recognized: You forgot to install Node.js, or you need to restart your terminal/VS Code after installing it.

Execution Policy Error (Windows): If PowerShell blocks npm or uv scripts, open PowerShell as Administrator and run: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser. Alternatively, use standard Command Prompt.

Nmap Not Found: Ensure Nmap is installed and added to your system's Environment Variables (PATH).

Failed to connect to engine: Ensure your Python backend is actively running on port 8443 in a separate terminal window.

⚠️ Disclaimer

QuantumShield is an active reconnaissance and auditing tool. It must only be used on infrastructure you own, operate, or have explicit, documented authorization to audit. The developers and contributors assume no liability for misuse, unauthorized scanning, or damage caused by this software.

About

Enterprise Attack Surface & Post-Quantum Cryptography (PQC) Auditor. Generates CycloneDX CBOMs in under 60 seconds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages