Skip to main content

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.2.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qls_pro-0.3.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file qls_pro-0.3.2.tar.gz.

File metadata

  • Download URL: qls_pro-0.3.2.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for qls_pro-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f48e358ae7a0dc264344bd03e566c04a1b3426279734f8b70e0e807906a688b8
MD5 3450bdfdc24f722d90754033d60800da
BLAKE2b-256 50a7c26042e1d6e0349f25450c600167d99ac59459f7da80c3445d69d0e87a19

See more details on using hashes here.

File details

Details for the file qls_pro-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: qls_pro-0.3.2-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

Hashes for qls_pro-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d14f290c258e417901e28aa0297d2af99426a7b3a2335af39f5a45654cf090a9
MD5 b56039925d80752fdb6179fbbe16eba7
BLAKE2b-256 509c2bc1256b38e428cd6abfa78db9c7c14fbbaaf5c9a1572483e7f94e5a60be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page