Quantum Liability Scanner – secrets, crypto misuse, and post-quantum risk in one command.
Project description
QLS – Quantum Liability Scanner 🚀🔐
Detect secret leaks, crypto misuse and post-quantum risk in a single command.
pip install qls-pro # one-shot install
qls scan-code . --strict --report pdf
⚠️ Blocks CI if hard-coded keys or HIGH quantum risk are found
📝 Generates Markdown and styled PDF reports with copy-paste fixes
🔄 --auto-rotate instantly creates a new AWS key, patches .env, disables the leaked one
🔮 Shows Years-to-Break estimates and Hybrid-TLS readiness
Features
Pillar ------ What QLS does
Secrets Scanner Finds AWS access / secret keys, JWT secrets, PEM private-key blocks
AES Scanner Flags MODE_ECB, hard-coded AES keys & IVs
JWT Scanner Detects alg:none, HS-algo downgrades
TLS Quantum Risk Key size, sig alg, Quantum Risk (HIGH/MEDIUM) & Breach-by-Year ETA
Hybrid-TLS Tester ✅ badge if server negotiates Kyber/P-256 hybrid groups
Key-Rotation Helper qls rotate-keys report.json --execute --revoke patches .env, disables old key
CI Gate --strict exit-code 1 when secrets or HIGH risk still present
Quick start
--------------
# Scan local repo – quick proof
qls scan-code .
# Exhaustive scan + Markdown report
qls scan-code myproj --all --report md
# Scan & auto-rotate AWS keys
qls scan-code . --strict --auto-rotate --report pdf
Scan a website’s TLS cert
--------------
qls scan-tls example.com --report md
CI / CD integration
--------------
<details> <summary><strong>GitHub Actions</strong></summary>
name: qls-scan
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: '3.11' }
- run: pip install qls-pro
- run: qls scan-code . --strict --report md
</details> <details> <summary><strong>pre-commit hook</strong></summary>
repos:
- repo: https://github.com/your-org/qls-pro
rev: v0.3.0
hooks:
- id: qls
args: [scan-code, ., --strict]
</details>
One-shot key rotation
--------------
# After any scan, the latest report is stored here:
qls rotate-keys reports/qls_last.json --execute --revoke
Command reference
--------------
qls scan-code PATH # scan files / folders
qls scan-tls DOMAIN # scan TLS certificate
qls rotate-keys REPORT # rotate leaked AWS creds
Flags:
--all report every finding per file
--report md|pdf save human-readable report
--strict exit 1 if HIGH risk or secrets found
--auto-rotate rotate AWS keys immediately after scan
Installation options
--------------
Method Command
PyPI pip install qls-pro
Docker docker run --rm ghcr.io/you/qls:0.3 scan-code /project
Source clone repo → pip install -e .
Licensing
--------------
QLS-Pro is proprietary software.
By installing you accept the EULA in LICENSE.txt.
For commercial use or evaluation, purchase a licence key at TBD.
Roadmap
--------------
SOC 2 / HIPAA control-mapping appendix
Azure & GCP key-rotation helpers
Slack / Teams bot notifications
SaaS dashboard (trend graphs, multi-repo)
Questions or feature requests?
--------------
Email lucastwi11@gmail.com – we’d love to hear from you!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qls_pro-0.3.4.tar.gz
(14.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
qls_pro-0.3.4-py3-none-any.whl
(17.0 kB
view details)
File details
Details for the file qls_pro-0.3.4.tar.gz.
File metadata
- Download URL: qls_pro-0.3.4.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e88dd25285f7c5aa188f057c4668c2e92e90539b0d5e8f7de03ffc04987937b8
|
|
| MD5 |
3f9c81f6a173635f2d12d4f556bc6136
|
|
| BLAKE2b-256 |
acb058f7b947909898d6363958ab0393ac8b4abb629682dd03449c25c8a012a2
|
File details
Details for the file qls_pro-0.3.4-py3-none-any.whl.
File metadata
- Download URL: qls_pro-0.3.4-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
110874bd2ec562f873a03f1c49f7195a880e140e362fd702aea309b9ab17e54c
|
|
| MD5 |
d8f77ebc4ee0e537830da1d744b82f75
|
|
| BLAKE2b-256 |
93f464a0440569caff5411342dc81cacb7d2592561008ef18d984ef312d4245d
|