Comprehensive simulation framework for V2X network security in the quantum computing era
A comprehensive simulation framework for analyzing V2X network security in the quantum computing era. This project evaluates Post-Quantum Cryptography (PQC) algorithms, simulates quantum attacks, and provides migration strategies for automotive security.
- Quantum Attack Simulation: Simulate Shor's and Grover's algorithms on V2X cryptography
- PQC Performance Analysis: Benchmark NIST-standardized PQC algorithms in V2X scenarios
- Real-time Visualization: Interactive dashboard for monitoring simulation metrics
- Hybrid Security Models: Evaluate classical + quantum-resistant cryptographic systems
- Extensible Architecture: Modular design for custom scenarios and algorithms
requirements.txt lists only installable pip packages. These are installed separately, not through pip: OMNeT++ 6.0+, the Veins framework, SUMO and OpenSSL. liboqs-python==0.8.0 was removed because that version is not on PyPI; the PQC manager falls back to placeholder numbers without it, and those results carry measured=False (also written to the saved JSON), so they are not a benchmark. Note: liboqs-python is imported as oqs, while pqc_manager.py does import liboqs, so the real-benchmark path is untested and likely never taken.
The four workflows in .github/workflows are unchanged. Only tests/unit/test_pqc_manager.py has content (5 unit tests, no liboqs needed; they pass on Python 3.10 with the pinned numpy). The other test files are empty, so a green CI run would not prove the simulation works. requirements.txt was resolved and installed in a clean Python 3.11 environment (uv, no conflicts, pip check clean) and the committed pqc_manager and dashboard modules import. Changes: qiskit 0.44.1 (qiskit-ibm-runtime==0.12.0 needs >=0.44.1); cirq-core==1.2.0 instead of cirq==1.2.0, because the cirq package pulls a Rigetti backend that needs pydantic<2 while the file pins pydantic 2.5.0 (nothing in src/ imports cirq; a Bell-circuit simulation ran); pyarrow<16 and setuptools<81 so streamlit and qiskit-ibm-runtime import with the pinned numpy. Not checked: requirements-dev.txt, other Python versions (CI also uses 3.12), and any simulation run, since the engine modules are empty.
Only 3 of the 30 files in src/ have content (the simulation engine, the PQC manager and the Streamlit dashboard). The other modules the engine imports are empty files, and all test files are empty, so the simulation cannot run as committed. The figures under "Example Results" come from docs/research/paper.md; no code or data in this repository reproduces them. The dashboard screenshot shows values typed into src/ui/dashboard.py, not simulation output.
┌─────────────────────────────────────────────────────────────┐ │ V2X Quantum Security Framework │ ├─────────────────────────────────────────────────────────────┤ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │ │ │ Quantum │ │ V2X │ │ Security │ │ │ │ Simulator │ │ Network │ │ Analyzer │ │ │ │ │ │ Engine │ │ │ │ │ └─────────────┘ └─────────────┘ └─────────────────────┘ │ ├─────────────────────────────────────────────────────────────┤ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │ │ │ PQC │ │ Attack │ │ Visualization │ │ │ │ Manager │ │ Scenarios │ │ Dashboard │ │ │ │ │ │ │ │ │ │ │ └─────────────┘ └─────────────┘ └─────────────────────┘ │ └─────────────────────────────────────────────────────────────┘
Basic Usage
from src.core.simulation_engine import V2XQuantumSimulationEngine
Initialize simulation engine = V2XQuantumSimulationEngine()
Run simulation metrics = await engine.run_simulation("urban_highway")
Analyze results print(f"Success Rate: {metrics.success_rate:.2%}") print(f"Quantum Threat Level: {metrics.quantum_threat_level:.2%}")
📊 Example Results
PQC Algorithm Performance

Quantum Attack Impact Shor's Algorithm: 98.7% success against ECDSA-256
Grover's Algorithm: 56.2% success against AES-128
Migration to PQC: Reduces quantum vulnerability to < 0.1%
📁 Project Structure v2x-quantum-security/ ├── src/ # Source code ├── tests/ # Test suites ├── docs/ # Documentation ├── scripts/ # Utility scripts ├── config/ # Configuration files ├── data/ # Data and results ├── examples/ # Usage examples └── docker/ # Containerization
🔬 Research Applications This framework supports:
Academic Research: Quantum cryptography, V2X security
Industry Evaluation: PQC migration planning for automotive
Standardization: Contributions to V2X security standards
Education: Quantum computing and cybersecurity courses
Development Setup
pip install -r requirements-dev.txt
pytest tests/ -v
black src/ tests/ isort src/ tests/
🙏 Acknowledgments NIST for PQC standardization efforts
OMNeT++ & Veins communities for network simulation
Qiskit team for quantum computing tools
Open Quantum Safe project for liboqs
📞 Contact Project Maintainer: [FouadTaherFouad]
Email: [fouadbehtaher@gmail.com]
Project Link: https://github.com/fouadbehtaher/v2x-quantum-security
📚 Documentation For detailed documentation, visit our docs directory or check out:
API Reference
Deployment Guide
Theory & Background
Tutorials
