Repository navigation
Releases
Releases · dmoney25632/pqe
v0.1.4
Added
- Anonymous analytics for the website: cookieless page-view counts (Vercel Web Analytics) and daily counts
of website checks, code scans and MCP tool calls (only when a database is connected; no IPs, domains or
code).npm run statsshows npm downloads, GitHub traffic and tool usage. See docs/ANALYTICS.md. - "Was this helpful?" on website check results, code scan results and the Get started page, with an optional
note and contact. Usage counts also record outcomes: whether checked sites use post-quantum key exchange,
grades, scanned file types and which AI app connected. - The website can be installed as an app on phones (manifest, home-screen icons, shortcuts).
Changed
- Website upgraded to Next.js 16.4 and React 19.3; code highlighting to Shiki 4; the core library to
@noble/post-quantum 0.7. Lint config moved to ESLint flat config for eslint-config-next 16. - GitHub Actions in CI and in the pqe action: actions/checkout v7, actions/setup-node v6/v7,
github/codeql-action/upload-sarif v4, all pinned to exact commits. - Safer releases: the release workflow tests and packs in a read-only job, smoke-tests the exact tarball,
then publishes that tarball from a job that runs no repository code (pinned npm, OIDC only); the v0 tag
moves in a third job.scripts/check-package.mjs(also run in CI) fails if the npm package would contain
anything but the built CLI, Learn articles, README, LICENSE and package.json, a secret or local path, or
mismatched versions.
Fixed
- Pages no longer scroll sideways on phones when a command is long.
- A scan whose only public-key issue is an undersized key (RSA-1024, DSA, small DH) no longer says
"No quantum-breakable public-key crypto found": those keys are counted as quantum-breakable too. - GitHub Action: installs pqe into a folder of its own instead of running
npxin the repository,
so a repository's own package.json or workspaces can't make it run the wrong package ("pqe: not found"). - Mobile menu and the home page animation no longer set React state inside effects (extra renders).
- The hosted MCP function no longer bundles the whole site's source (Turbopack tracing).
- CI now runs the GitHub Action itself against both sample apps. Dependabot no longer proposes updates
to the deliberately vulnerable sample apps, TypeScript majors, or Node types newer than Node 22.
Install: npx pqe-cli scan . · npm: https://www.npmjs.com/package/pqe-cli/v/0.1.4
v0.1.3
Changed
- The website moved to https://www.postqc.dev. Every link pqe prints, the hosted MCP server
(https://www.postqc.dev/api/mcp) and the npm homepage use it. The old address redirects. - The website's home page shows every way to get pqe (CLI, MCP server, GitHub Action, Agent Skill), and a new
Get started page walks through each situation with exact commands, what results mean, and common fixes.
Install: npx -y pqe-cli scan . · Website: https://www.postqc.dev
v0.1.2
Fixed
- Finds more real vulnerabilities. Checked against 13 real open-source projects (jose, pyjwt, paramiko,
rustls, jjwt, Spring Security samples, nginx/Apache configs and more): about 99% of findings pointed at real
uses of the flagged algorithm. New detections it used to miss:- Python:
padding.PKCS1v15()(RSA signing and encryption), bareECDSA(/ECDH(/PSS(/OAEP(imported from
cryptography, hand-written Diffie-Hellman (pow(g, x, p)), PyNaCl signing keys and Box keys. - Java:
getInstance(CONSTANT)resolves the constant; JCA algorithm-name constants; NimbusRSAKey/ECKey
builders and generators,NimbusJwtDecoder.withPublicKey, SpringRsaKeyConverters. - JavaScript: WebCrypto
{ name: "X25519" }/{ name: "Ed25519" }. - Apache:
SSLOpenSSLConfCmd ECDHParameters.
- Python:
- X25519 used as half of a hybrid X25519+ML-KEM key exchange is no longer reported as critical.
- More test and example folders are recognised (
benches,testing,cookbook,fuzz,test-ca,
rustls-test,integration-tests…), so findings there are rated one step lower like other test code. - The "Next: pqe explain ..." hint suggested the most common algorithm even when it was post-quantum
(for examplepqe explain x25519mlkem768, "why it's at risk"). It now suggests the most urgent at-risk one. - When findings are accepted (pqe-ignore or a baseline), the headline no longer says "No quantum-vulnerable
cryptography found" next to a lowered grade: it says how many accepted findings still count.
Changed
pqe scannow prints a short report instead of every finding: a grade with a plain verdict
("A Quantum-ready" … "F Not ready yet"), four counts (Fix first, Fix now, Plan to fix, Good), the top
five issues grouped by kind with where they are and how to fix them, and what to run next. The full,
line-by-line listing is one flag away:pqe scan --details(or-d;--allfor no per-severity limit).- The website's Install page has a step-by-step CLI guide with the exact commands and a sample of the report.
- This repository has a
.pqeignorefor its deliberately vulnerable test fixtures, and the TLS probe's
throwaway classical key shares are accepted with a reason, sopqe scan .on pqe itself shows real results.
Install: npx -y pqe-cli scan . or npm i -g pqe-cli
pqe v0.1.1: now on npm as pqe-cli
pqe is on npm as pqe-cli. npm doesn't allow the name pqe, so the package is pqe-cli. Installing it still gives you the pqe command.
Install
npx pqe-cli scan . # scan a project, no install
npx pqe-cli check example.com # is a website quantum-ready?
npm i -g pqe-cli # then just: pqe scan .
npm i pqe-cli # as a library: import { scanFiles } from "pqe-cli"- Local MCP server for your AI:
npx -y pqe-cli mcp(setup for every client: https://pqe-indol.vercel.app/install) - Hosted MCP server (no install):
https://pqe-indol.vercel.app/api/mcp - GitHub Action:
uses: dmoney25632/pqe@v0 - Agent Skill:
npx skills add dmoney25632/pqe
Changed
- The npm package is now
pqe-cli(still installs thepqecommand). 0.1.1 is the first version on npm. npm pkg fix: thebinpath is normalised.
Everything else is as in v0.1.0. Full changelog: https://github.com/dmoney25632/pqe/blob/v0.1.1/CHANGELOG.md
pqe v0.1.0
The first release of pqe: find the cryptography quantum computers will break, and fix it.
Try it in 5 seconds: check any website at https://pqe-indol.vercel.app
Get started
- Connect your AI (Claude, Cursor, VS Code, ChatGPT and more), with no install needed. Add the hosted MCP server:
https://pqe-indol.vercel.app/api/mcp. Setup for each client: https://pqe-indol.vercel.app/install - Agent Skill:
npx skills add dmoney25632/pqe, or download the zip - CLI / library:
npx pqe scan .·npm i pqe(the npm package is being published shortly; until then, see the README to run it from source) - GitHub Action:
uses: dmoney25632/pqe@v0
Library
npm i pqenow also gives you a typed ESM library:scan,scanFiles,toSARIF,toCBOM,checkDomain,
checkSsh, the algorithm and migration knowledge base, baseline helpers, andregisterPqeToolsto add pqe's
tools to your own MCP server.
Scanner (pqe scan)
- Deterministic, rule-based detection of quantum-vulnerable public-key cryptography (RSA, ECDSA, ECDH, Ed25519,
X25519, DH) and already-weak cryptography (MD5, SHA-1, DES, RC4, legacy TLS and more) in JavaScript/TypeScript,
Python, Go, Java, Kotlin, C#, Rust, C/C++, PHP, Ruby and Swift, server and SSH configs, dependency manifests,
and PEM keys and certificates (key type, size and signature hash). - Credit for post-quantum and hybrid cryptography (ML-KEM, ML-DSA, X25519MLKEM768, PQ certificates).
- Severity that reflects context: lower in tests, examples and vendored code, and for non-security hashes such as
ETags and cache keys. - A readiness grade and plain-English headline, an algorithm inventory, and stable finding ids.
- Output as a terminal report, JSON, SARIF, CycloneDX 1.6 CBOM and Markdown.
- Respects
.gitignoreand always skipsnode_modules; snippets never include key material. - Accepting known findings for CI: inline
pqe-ignore: <reason>comments,.pqeignore, and line-shift-stable
baselines (--write-baseline,--baseline). Suppressed findings stay in SARIF, the CBOM and the grade. - Tested against a labelled corpus (
fixtures/) for full recall on known-vulnerable code and no actionable findings
on clean code, plus ReDoS timing tests for every rule.
Website and SSH checks
pqe check <domain>...: whether a server negotiates hybrid post-quantum TLS (X25519MLKEM768) with a browser-like
client, plus TLS version and certificate health. Several hosts or--fileprint a summary table;
--fail-on-no-pqfor CI.pqe ssh <host>...: whether an SSH server offers post-quantum key exchange (mlkem768x25519-sha256,
sntrup761x25519-sha512), with version-awaresshd_configfixes.
Knowledge base
- Plain-English explanations of 68 algorithms, with quantum risk and replacements (
pqe explain). - 36 migration guides with before/after code for Node.js, Python, Go, Java, .NET, Rust, C/OpenSSL, JWT, web servers
and OpenSSH (pqe guide). - Nine Learn articles, from how encryption works to a migration playbook (
pqe learn, the website, and
pqe://learn/...MCP resources).
AI integrations
- Local MCP server (
pqe mcp) withscan_path,scan_code,check_domain,check_ssh,explain_algorithm,
get_migration_guide,pq_readiness_planandgenerate_cbom, Learn and algorithm resources, and a
pq-auditprompt. - Hosted MCP server at
https://pqe-indol.vercel.app/api/mcpfor clients that take a URL (no local file access;
check_sshis local only). - Agent Skill
post-quantum-readinessfor Claude and other skill-aware agents, with a one-click download.
Website
- Domain checker, paste-code scanner, Install page with setup for each supported AI client, Learn articles and a
privacy page. Deployable to Vercel.
GitHub Action
- Composite action (
action.yml) that runspqe scan, uploads SARIF to code scanning, and supportsfail-on,
min-severity,exclude,no-testsandbaselineinputs. Inputs reach the shell only through environment
variables.
Project and release
- Community files: contributing guide, security policy, code of conduct, issue and pull request templates,
CI workflow and Dependabot configuration. - Release workflow: publishing a GitHub release tests, builds and publishes
pqeto npm with provenance
and moves the Action's major-version tag. - MCP Registry metadata (
server.json) and a launch kit (docs/LAUNCH.md).
Security hardening (website and hosted MCP server)
- Per-IP per-minute and per-day rate limits plus a cap across all clients; MCP
check_domainandscan_code
calls count against the website checker's and scanner's budgets. /api/checkand/api/scanrefuse cross-site browser requests and non-JSON bodies.- Scanner-bait paths (
.php,wp-admin,.env,.gitand similar) are denied at Vercel's edge. - zod 4.x (fixes GHSA-mrhx-c7xc-m3w5, memory exhaustion while validating input).
Full changelog: https://github.com/dmoney25632/pqe/blob/v0.1.0/CHANGELOG.md