pq-stack-check
A free command-line check that detects what your project is built with, then looks for post-quantum readiness gaps and common security faults. Runs on its own or as a Claude Code skill.
- Version
- 1.3.1
- Licence
- MIT
- SHA-256 of pq-stack-check-1.3.1.zip
- 0629EF07179FF205499BED8E0E54ABC734ED63A5E4CDAE72EADEAE67444CF6F5
What it looks for
- Public-key cryptography to record and plan to replace
- Token and key columns too small for post-quantum sizes
- TLS and database connection settings
- Hard-coded secrets, committed env files and private keys, including ones added in earlier commits, with whether they are still in your files (optional
--historyscan) - Disabled certificate or token verification, weak hashing and randomness
- Dependencies and runtimes:
- Requirements that are not pinned to an exact version
- Versions of a short list of libraries (psycopg, cryptography, paramiko, asyncssh, jose, PyJWT) against sourced post-quantum thresholds
- Binary packages that bundle their own OpenSSL, so a base-image update does not reach them
- Base images and pinned runtime versions that predate hybrid post-quantum TLS
- Known vulnerabilities in Python and npm packages (optional
--depscheck)
Library version checks cover seven libraries only, from requirements*.txt, pyproject.toml, Pipfile, poetry.lock, uv.lock, package.json and their lock files. Thresholds are sourced and dated 3 December 2026, and the bundled-OpenSSL ones come from Linux x86_64 wheels only. Other libraries and ecosystems are not checked.
Coverage
| Level | Stacks |
|---|---|
| Deeper checks | Django, PostgreSQL |
| Basic pattern checks | Python, Flask, FastAPI, JavaScript/TypeScript, Node, React, Next.js, Vue, Angular, Svelte, React Native, PHP, Laravel, Ruby, Rails, Go, Java/Kotlin, Android, .NET, Rust, B4X, Docker, Nginx |
| Detected, generic checks only | MySQL, SQLite, MongoDB, Redis, Apache, Railway, Cloudflare, Vercel, Netlify, GitHub Actions, Terraform |
Privacy
The default scan is offline and does not run your project's code. It does not print matched secret values, but reports contain file paths, so keep them private. The optional --host, --db and --deps checks make network connections (--history stays offline). Only use them on systems and code you are authorised to test and trust.
--host needs OpenSSL 3.5 or later as openssl on your PATH. macOS's built-in one is LibreSSL and does not qualify. Without a suitable one the probe is skipped and listed under "Not checked", never reported as a pass. It has been run on Windows and Ubuntu, not macOS.
Quick start
Needs Python 3.9 or later. Unzip the download, then:
To use it as a Claude Code skill, unzip it into ~/.claude/skills/. The README lists the requirements and known limits.
Buy me a coffee
If it saved you some time, a coffee helps me keep improving it.