pqcheck 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +38 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -47,6 +47,42 @@ That's it. The scaffolded workflow includes `permissions: id-token: write`, so t
47
47
 
48
48
  ---
49
49
 
50
+ ## What's new in 0.14.0
51
+
52
+ **Preview Deploy Trust Diff (R67-locked 2026-05-19).** Compare a preview deployment URL against production and surface application-surface changes (new third-party scripts, header regressions, DBR score drops) inside the PR review — before merge. The stickiest dev-workflow feature per Cipherwake's design ranking, with a dedicated SSRF-pinned scan path that keeps preview-URL hostnames out of our moat tables (feature-branch names stay private).
53
+
54
+ ```bash
55
+ npx pqcheck preview-diff \
56
+ --preview https://feature-x-abc123.vercel.app \
57
+ --production https://example.com
58
+ ```
59
+
60
+ Sample output:
61
+
62
+ ```
63
+ Cipherwake Preview Trust Diff
64
+ preview=https://feature-x-abc123.vercel.app
65
+ production=https://example.com
66
+
67
+ Application surface:
68
+ + New third-party script: widget.intercom.io
69
+ - Content-Security-Policy [script-src] added permissive token(s): 'unsafe-inline'
70
+ ~ Strict-Transport-Security weakened: max-age=31536000 → max-age=3600
71
+
72
+ Transport: preview is edge-hosted (Let's Encrypt) — informational only.
73
+
74
+ Verdict: WARN (max severity: high)
75
+ Tier: free · policy: report
76
+ ```
77
+
78
+ Flags: `--preview <URL>` · `--production <URL>` · `--compare-transport` (opt in TLS/cert/SPKI in verdict) · `--fail-on <severity>` (default `high`; pass `none` for report-only) · `--format pretty|json`.
79
+
80
+ Exit codes match `trust-diff`: `0` pass · `1` warn · `2` fail · `3` error. Free tier silently downgrades fail → report and notes the upgrade hook in the response; Starter+ honors `fail-on` for real CI gating.
81
+
82
+ Auth: `CIPHERWAKE_API_KEY` env (or the GitHub Action which fetches OIDC automatically — no key needed for Free).
83
+
84
+ Also: CSP weakening detection now diffs `script-src` / `default-src` / `object-src` / `frame-ancestors` / `base-uri` / `style-src` directives for newly-permissive tokens (`*`, `'unsafe-inline'`, `'unsafe-eval'`, `data:`, `blob:`).
85
+
50
86
  ## What's new in 0.12.0
51
87
 
52
88
  **Developer habit-loop bundle (locked 2026-05-16).** Five new subcommands that put Cipherwake where developers already work: PRs, CI, release notes, vendor allowlists. Free tier covers all of them within the 100 Trust Diff calls/month per repo quota.
@@ -100,7 +136,8 @@ npx pqcheck diff <old.lock> <new.lock> Compare two QXM lockfiles; exit 2
100
136
  npx pqcheck history <domain> Show 90-day score history (sparkline + samples)
101
137
  npx pqcheck changes <domain> Summarize public attack-surface changes in last 14 days
102
138
  npx pqcheck cert <file.pem> Analyze a local PEM/CRT cert file (offline, no network)
103
- npx pqcheck trust-diff <domain> Trust Diff vs configured baseline; CI gate (Free: 30/mo)
139
+ npx pqcheck trust-diff <domain> Trust Diff vs configured baseline; CI gate (Free: 100/repo/mo)
140
+ npx pqcheck preview-diff --preview U --production U Preview-URL vs production-URL diff; new scripts + header regressions + score drops (NEW in 0.14.0)
104
141
  npx pqcheck deploy-check <domain> Pre-deploy gate (Trust Diff alias with last-scan baseline)
105
142
  npx pqcheck onboard <domain> One-command setup wizard (scan + init + vendors + checklist)
106
143
  npx pqcheck init Interactive scaffold for .github/workflows/cipherwake.yml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pqcheck",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "HTTPS posture scanner with Preview Deploy Trust Diff for PRs, Trust Diff for CI, vendor lockfile + drift alerts, cross-tenant key map, and HNDL/quantum-decryption risk scoring. Free, no signup.",
5
5
  "keywords": [
6
6
  "post-quantum",