The Quantum Threat Risk Assessment (QTRA) project evaluates a domain’s TLS security posture and its readiness for post-quantum cryptography (PQC). It automates TLS scanning, risk analysis, and reporting, using a chained AI agent architecture to classify quantum safety and generate a Quantum Readiness Score.
- Automated TLS Scanning – Checks TLS version, cipher suites, and security features like HSTS & DNSSEC.
- AI-Driven Quantum Risk Analysis – Classifies encryption strength and assigns a readiness score.
- Kafka-Driven Event Processing – Uses Spring Boot + Kafka for scalability and real-time processing.
- AI-Powered Reporting – Produces a structured security report for monitoring and integration.
- Chained AI Agent Architecture – Ensures modular and extensible analysis flow.
- Spring Boot (Backend Framework)
- Kafka (Event-Driven Processing)
- Docker & Kafka UI (Monitoring)
- Swagger UI (API Testing)
- Jackson (JSON Processing)
- Lombok (Code Simplification)
QTRA is designed as a chained AI agent system, where each agent specializes in a specific task:
- Scans the provided domain and subdomains for:
- TLS version
- Cipher suite
- HSTS & DNSSEC security features
- Publishes raw results to Kafka (
tls-scan-resultstopic).
- Consumes TLS scan results from Kafka.
- Classifies the quantum safety level of the encryption.
- Computes a Quantum Readiness Score, considering:
- Cipher strength
- TLS version
- Post-quantum cryptographic support
- HSTS and DNSSEC security checks
- Publishes enriched results to Kafka (
tls-analysis-resultstopic).
- Consumes quantum readiness results from Kafka.
- Generates a structured Quantum Readiness Report.
- Designed for future integration with dashboards or databases.
git clone https://github.com/himaschal/qtra.git
cd qtramvn clean package
docker compose -d --buildThis will start:
- The QTRA application
- Kafka and Zookeeper for event-driven processing
- Kafka UI for monitoring
Kafka UI will be available at: http://localhost:8080/
http://localhost:8081/swagger-ui.html
- Open Swagger UI
- Go to
GET /tls/scan - Enter a domain (e.g.,
aws.com) - Click
Execute
- Open Kafka UI at http://localhost:8080/
- Navigate to "Topics" →
tls-scan-results - Click "Messages" to view the raw scan results.
- In Kafka UI, go to "Topics" →
tls-analysis-results - Click "Messages" to see the Quantum Readiness Score and analysis details.
To stop all running services, use:
docker-compose down- Improve AI Agents – Enhance risk scoring using real-time threat intelligence.
- Database Integration – Store historical TLS scans for tracking trends.
- Security Dashboard – Visualize readiness scores in Grafana.
- Extend API Exposure – Allow external integrations for real-time security assessments.
- Ensure that the container ports are available