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.0.tar.gz (12.9 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.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qls_pro-0.3.0.tar.gz
  • Upload date:
  • Size: 12.9 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.0.tar.gz
Algorithm Hash digest
SHA256 3531aea649645b34ddb58e803f8761d8df57bf6f0a9fbb43d5a5348a20fba1c8
MD5 b415bea56d8d1c1bde75b8d4e72ab541
BLAKE2b-256 938c5e6649ef523e1a9d5be8294ecf687ebe5ec52415092c194fb85ef47e565f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qls_pro-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf2c84feb974685efec7b6bddb3e87cbf39b581af4a284e907f89161b6a59038
MD5 09dd03aab9f62b4d7cd391f9dbc92b5c
BLAKE2b-256 27731d774300156398d280b86747337133b94955fb34214a38b918922f922b80

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