All notable changes to Q-Trust are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
globals.css, page headers unified (mono eyebrow + display title + lede) across routes, GSAP/ScrollTrigger + Lenis motion system (story routes only, reduced-motion/automation guarded), WebGL1 lattice hero with CSS fallback, raw-palette token ratchet 752 → 102 (scripts/lint_tokens.mjs).gsap ^3.15.0, lenis ^1.3.27 (frontend). Components: lib/motion.ts (single GSAP/ScrollTrigger registration point), components/motion/smooth-scroll.client.tsx, components/motion/lattice-field.client.tsx, components/motion/workflow-story.client.tsx, components/ui/count-up.client.tsx — all dynamically imported, never in the server build.src/components/command-palette.tsx, 5 tests.)SKILLS.md documents the active design/engineering
skill set, the applied workflow, and the deliberately rejected toolkits
with reasons.POST /v1/plan/objective — outcome-optimized migration planning
under the quantum-risk-days objective (qrd-sim/1.0): exact DP optimum (≤14
assets), deterministic beam above, Smith’s-rule and doctrine-formula
comparison lanes, simulation-grounded framing in the response.
(planner/server.py, tests in planner/tests/test_server.py.)BUSINESS_MODEL.md — research-locked record of the
shipped /pricing model (open core → assurance engagements → annual
certification → OEM) with market evidence (46.2% CAGR consensus,
competitors quote-only) and rejected alternatives.npm update in-range refreshes
(0 vulnerabilities both); Python side unchanged where majors would break.train_agent_ppo now saves lineage-carrying checkpoints
(state_dict + config + seed + protocol) instead of bare state dicts.qtrust.certification.v1): policy-gated
(default/regulated/strict) signed snapshot of assets, migrations, vendor
attestations and latest audit. Per-record SHA-256, sorted-pair Merkle root,
Ed25519Signature2020 proof, validity window, opt-in chain re-anchor. Issuance
refuses (409) rather than signing unsupportable claims.npm run certify:verify -- <file> and
python -m qtrust.bundle <file> verify the same committed fixture
byte-for-byte; CI regenerates the fixture and fails on drift. Verification is
fail-closed across structure, digest, Merkle, signature, validity and optional
chain state.POST /v1/certify (operator key, 10/min), POST /v1/certify/verify
(public, 60/min, offline by default), GET /v1/certify/policies,
POST /v1/assurance/report (30/min; agility, CRQC/HNDL exposure and five
sector packs with MANUAL for undecidable controls).docs/CERTIFICATION_AND_ASSURANCE.md, OpenAPI, API reference,
README capability + 2-minute flow, mkdocs nav./certify: paste or load a bundle, optionally re-anchor to Base, and read
the per-check report (structure, digest, Merkle, signature, validity, chain
anchor), the issuer’s caveats and every failure reason. The browser calls the
public POST /v1/certify/verify through the same-origin proxy and does not
re-implement any check. Admission policies render beside the form.valid: true, 5/5 checks).POST /v1/certify/verify and /certify accept
trust_anchor_did. Without a pin, any self-consistent Ed25519 key produces a
valid bundle; with a pin, a different issuer fails the signature check even
when the proof is cryptographically sound. Mirrors the Python SDK’s
trust_anchor_did exactly.cn() (2026-10-25)tailwind-merge treats any unrecognised text-* class as a text colour, so
cn("text-micro", "text-muted-foreground") kept the colour and discarded the
size. Every PanelTitle, PanelDescription, SectionHeading and
StatusPill rendered at the browser default 16px while the source claimed
10–11px. The custom sizes are now registered with extendTailwindMerge, with
a regression test asserting the merged class list.CryptoCodeDetector.fine_tune now writes a checkpoint after every epoch and
accepts init_from/start_epoch; the v4 driver supports --resume and
--skip-train, and smoke runs default to a -smoke artifact suffix so they
cannot overwrite canonical artifacts. Rationale: two full CPU runs segfaulted
mid-epoch on Windows; resume costs at most the current epoch.EXPERIMENTS.md E-14).EXPERIMENTS.md: E-06 (42-fold LOO τ-b 0.7168), E-07 (side-channel
54-set retrain), E-08 (external head-to-head), E-09 (ACVP oracle tests).RISK_REGISTER.md: R-03 ACCEPTED → CLOSED (retrain executed).PROJECT_SCORECARD.md: ML + Competitive Differentiation PARTIAL → PASS
(MLOps stays PARTIAL — experiment tracker unused).RELEASE_CHECKLIST.md: retrain box checked, pytest 323+1 re-run recorded.benchmarks/external/ (CryptoAPI-Bench
203 cases + ApacheCryptoAPI-Bench jars), inspector/data/acvp/ (34 NIST
families), qtrust_data/raw/popularity-list-top1k.csv (1,000 domains for
the scan_hosts expansion loop). Stale bundle parts (37-CBOM corpus, 5 old
traces, duplicate artifacts/submodules) deliberately not installed.benchmarks/external/HEAD-TO-HEAD.md — usage discovery framing, no SOTA
superiority claim.planner/results/real_cbom_loo_42.json (+2 shard files);
the 40-fold files stay as historical records.train_real_side_channel.py --traces-dir
/tmp/real_data, 54 sets, loss 0.178→0.080, anchors 0.000/1.000): clean
46 VERIFIED + 8 LOW_RISK (0 false alarms); leak-injected 51/54
HIGH_RISK (misses: FALCON1024/FALCON512/SLH-256s keygen, n≤200). New
weights in inspector/side_channel_model_real.pt (previous backed up
before overwriting).planner/data/real_cboms/ (280 assets
over only 269 unique hosts — 11 cross-CBOM duplicates, i.e. train/eval
leakage) with the deterministic builder output: 42 CBOMs, 277 unique
hosts, 0 overlaps, byte-identical to
python scripts/build_real_cboms.py --hosts-per-cbom 7 --seed 42 run
against the 277-finding TLS scan (verified by regeneration + diff -rq)..gitignore data/ pattern that silently swallowed both this
corpus (making the !planner/data/real_cboms/ exception dead) and the real
qtrust/data/*.py split-lineage sources; scoped to /data/ (root runtime
dir only). Both paths are now tracked — a fresh clone reproduces the
real-CBOM numbers without re-scanning.real_cbom_loo_40.json, …) are
untouched records of that campaign; a 42-fold re-run needs GPU time (R-03).POST /v1/roadmap/generate bucketed findings into
CRITICAL/HIGH/(NONE|LOW) only, so MEDIUM findings (the typical landing zone
for WEAKENED crypto: penalty 25 + HNDL exposure) were silently dropped while
summary.totalFindings still counted them. They now get their own phase 3
(“Medium: Review Weakened Cryptography”); every scored finding appears in
exactly one phase. Locked by backend/tests/risk-roadmap.test.ts.GET /v1/plans/:did proxied to
GET ${PLANNER_URL}/plans/:did, an endpoint the stateless planner never
implemented — the route could never return data. It now returns
410 code: plans_lookup_retired with a POST /v1/plans hint, and the
frontend proxy no longer exposes it (default-deny 403). Proxy + policy
contract tests updated.role === "none",
so every connected-but-new wallet saw “Connect a wallet” instead of the
onboarding (DashboardInner’s “Run your first scan”). The outer gate now
checks connection only; role stays a UI hint inside, matching /vendors.POST /v1/plans forwards planner 429s with
Retry-After instead of masking backpressure as 422 (R6); the in-memory
rate-limit fallback drops empty buckets and bounds the table at 10k entries
(R5); _build_schedule clamps window starts at today and reports
overflow_days + per-window clamped_to_today instead of emitting past
dates as actionable work (R7). Covered by planner/tests/test_reliability.py.POST /v1/credentials/verify (CPU-heavy signature
verification, previously anonymous and unthrottled) gets the same 30/min
budget as /v1/evaluate./v1/risk/score golden vectors (RSA-2048 →
84/CRITICAL, AES-128 → MEDIUM) pin the TS mirror of
inspector/qtrust_inspector/risk_engine.py so the copies cannot drift.aria-hidden; product preview badge reads “Preview · sample data”.text-slate-500, border-slate-200, bg-slate-50) alongside ad-hoc shadcn tokens
(bg-card, border-border); and the status colours were per-file inventions. “Success” was
emerald-50/700 in the dashboard, green-500 in the compliance score bar, and
green-600 on green-500/15 in the compliance chips — the same meaning rendered three ways
depending on which file you opened.globals.css now pairs each foreground with a surface that
was measured against that surface, not just against white:
success #15803d on #f0fdf4 = 4.79:1, danger #b91c1c on #fef2f2 = 5.98:1,
warning #a16207 on #fffbeb = 4.74:1, info #1d4ed8 on #eff6ff = 6.23:1,
neutral #475569 on #f1f5f9 = 6.82:1.components/ui/status-pill.tsx (one chip for every state, with a data-tone
contract so tests assert semantics rather than a hex value), components/ui/panel.tsx and
components/ui/state.tsx (shared empty/error states). severityTone() / complianceTone()
replace the per-file severityColor() / complianceColor() helpers that returned raw class
strings.scanner-dashboard.tsx goes from 101 raw palette utilities to 4 — the
four that remain are inside a comment describing the old behaviour--text-label 10px, --text-micro 11px) replacing 43 raw
text-[10px] / text-[11px] literals, so the small-text roles are one definitiontext-muted-foreground on bg-muted failed WCAG AA (52 nodes) (2026-09-12)text-slate-500 on bg-slate-100, which measures
4.35:1 — the same failure, in the same places.--color-muted-foreground took the conventional shadcn value #64748b,
which is checked against white (4.76:1, a pass). The token is also used as the foreground
for content sitting on --color-muted — metadata chips, table headers, the evidence and
roadmap detail rows — where it measures 4.34:1, under the 4.5:1 minimum at 10–11px.
This is the identical “check the pair, not just the colour” mistake the status palette was
written to avoid.--color-muted-foreground: #475569 — measured 6.92:1 on --color-muted,
7.02:1 on --color-canvas, 7.58:1 on white.a11y.spec.ts audited each route in the state it renders on arrival. Every
scanner and dashboard panel is empty on arrival and only fills after a privileged round trip,
so the gate had never once scanned the result tables, status pills, score bars, roadmap
timeline or evidence ledger — the densest, most colour-bearing UI in the product, and the
likeliest place for a contrast regression to land.frontend/e2e/a11y-app.spec.ts mocks the backend, seeds an operator key, drives a
scan, and audits all five tabs at both configured viewports (1280px and 375px — the scanner
renders tables above md and card lists below it, so one viewport alone audits half the UI).frontend/e2e/axe-audit.ts, so the public and
app-surface specs cannot drift into scanning different rule sets./v/[id] returned a 500 on every request (2026-09-12)frontend/src/lib/api.ts built every request URL from API_BASE_URL,
which is relative (/api) because browser calls must go through the same-origin proxy.
v/[id]/page.tsx is a server component and imports the same module; Node’s fetch
cannot parse a relative URL and throws TypeError: Failed to parse URL. The page rethrew
anything that was not a 404, so the public verification page — the product’s headline
“anyone can check the record” claim — failed before rendering, in every environment.frontend/e2e/a11y.spec.ts wrapped this route in
test.skip(process.env.QTRUST_E2E_PUBLIC_PAGE !== "1") and then skipped again whenever the
response was not 200. The enabling variable was set nowhere in the repository, so the
spec never ran; had it run, it would have skipped precisely because the page was broken.resolveApiRequest() now resolves per runtime — same-origin /api proxy in the
browser, the backend origin directly on the server (mirroring backendUrl() in the proxy
route, so both paths reach the same upstream). The server-only admin key is attached on the
server and the caller’s operator key in the browser, never swapped.VerificationUnavailable state. An unreachable backend is now distinguished from
both “no such record” (404) and a crash, and says that it says nothing about validity.lib/__tests__/api-url-resolution.test.ts pins both branches (server URLs are
absolute; the admin key never leaves the server); a smoke test asserts /v/[id] returns
< 500; the a11y spec now scans the route unconditionally and fails on 5xx.next start): /, /scanner, /dashboard,
/vendors, /v and /v/<asset-id> all return 200.SiteHeader and the footer were rendered by app/page.tsx only. Every
other route (/scanner, /dashboard, /vendors, /v, /v/[id]) shipped with no
navigation, no footer and no skip link, so a visitor who arrived on the landing page and
clicked through could only get back via the browser button.app/layout.tsx (components/site-header.client.tsx,
components/site-footer.tsx, components/skip-link.tsx), so #main-content, the
<footer> landmark and a route back exist on every page by construction. body is now
flex min-h-screen flex-col so a short page pins the footer instead of stranding it./#protocol, an id that exists nowhere
on the page (the sections are #why, #product, #workflow) — a dead link. It now points
at /#workflow, the section that actually describes the protocol.aria-current="page") and a Vendors destination.flex row with no
wrapping. At 375px the trailing tabs (Evidence, Side channel) overflowed, and the
document’s overflow-x: clip cut them off — no scrollbar, no scroll affordance, no way to
open them. mobile-layout.spec.ts asserts scrollWidth <= viewport, which cannot detect
this: overflow-x: clip keeps scrollWidth equal to the viewport because the content is
clipped.mobile layout safety test asserting every [role="tab"] sits inside the
viewport, with a guard that fails if zero tabs were found (so it cannot pass vacuously).frontend/src/lib/fonts.ts — next/font self-hosted Inter Tight (display),
Inter (body/UI) and JetBrains Mono (technical labels, hashes, IDs). Fonts are
downloaded at build time and served from /_next, so no request leaves the origin on the
critical path and the CSP’s font-src 'self' stays sufficient. preload is enabled only
for the two faces that paint above the fold.@theme in globals.css: --font-sans / --font-display /
--font-mono, one motion easing family (--ease-brand, --ease-brand-in), and semantic
surface colours (--color-canvas, --color-canvas-raised) so route files stop hardcoding
bg-slate-50. Headings take the display face from a base layer, so hierarchy is a
property of the document rather than something each section must remember to opt into.QTRUST_CWV_LCP_BUDGET_MS=1500); CLS within the existing 0.1 budget.app/robots.ts, app/sitemap.ts and app/manifest.ts. Public routes are listed;
/dashboard, /vendors and /v/[id] are excluded and marked noindex at the route level
(a wallet gate and unbounded per-record URLs are not useful index entries) — the two
settings are meant to be read together.components/json-ld.tsx — WebSite + SoftwareApplication structured data,
scope limited to claims the repository can substantiate. JSON.stringify output is escaped
(< → \u003c) so structured data cannot become a script-injection sink.lib/site.ts as the single canonical origin, consumed by metadataBase,
robots.ts, sitemap.ts and the JSON-LD graph so they cannot drift apart.metadata, so both inherited the site-wide default <title> — every app surface shared one
identical title. Both now have a layout.tsx providing their own.title.template appends · Q-Trust to every child segment
(“PQC Migration Scanner: Q-Trust · Q-Trust”, “Q-Trust — Asset 0x7b52… · Q-Trust”)./v performs the lookup instead of describing how to (2026-09-12)/v is the destination of the “Verify” item in the primary navigation and contained no
input at all; it instructed visitors to paste an asset ID into the browser address bar and
otherwise linked home. The product’s most-advertised capability was a dead end.components/verify-form.client.tsx and hooks/use-verify-asset.ts. The form uses
a native <form> with onSubmit so the browser owns implicit submission and Enter-to-submit;
the landing page’s VerifyBox was converted from a click handler plus onKeyDown to the
same pattern. Both surfaces share the hook, so the validation rule (parseAssetId’s
hardened 0x+64-hex check) and the error copy cannot drift apart.scrollable-region-focusable,
serious): five <pre> regions scroll their content, which a mouse user can drag but a
keyboard-only user cannot. Added components/ui/code-block.tsx (tabIndex={0},
role="region", aria-label) and moved all five onto it.text-slate-500 on #020618 measured 4.23:1 against
the required 4.5:1. Fixed to text-slate-400 (7.66:1) — caught by the existing gate./v/[id] had never been through the a11y gate (see the 500 above); it is
scanned on every run and currently clean.Three separate cases where a green result did not mean what it appeared to mean.
/v/[id] a11y test skipped on any
non-200 response, and its enabling env var was set nowhere — so the route was never
audited, and the one condition that would have revealed the 500 was also the condition that
silenced the test.mobile-layout.spec.ts checked scrollWidth,
which cannot see content hidden by overflow-x: clip. Added an explicit reachability
assertion with a non-vacuity guard.net::ERR_NETWORK_CHANGED, browser
COOP probes) failed it intermittently. The filter is now a narrow, documented allowlist.
Verified stable: 4 consecutive full-suite runs, 33 passed each time.frontend/src/app/api/[...path]/route.ts) is
default-deny after the S-1 fix, but its policy lived inline and the UI had no way to
consult it. The scanner dashboard, the four GPU panels, the planner panel and the
vendor attestation form all called privileged routes the proxy refuses, so those
controls returned 403 in every deployment using the same-origin proxy. Component
tests stubbed fetch and passed; proxy tests asserted the denials and passed; nothing
compared the two lists.frontend/src/lib/api-route-policy.ts — one exported source of truth
classifying every endpoint as public-read, public-compute or operator, consumed
by both the proxy (enforcement) and the UI (honest states).operator routes are authorized with the caller’s own
API key sent as x-qtrust-api-key, forwarded upstream as x-api-key. The proxy never
attaches the server-side admin key to those routes, and anonymous callers still get
403 operator_key_required. Local development with no server key configured mirrors
the backend’s existing dev-open policy; production does not.frontend/src/lib/operator-key.ts (sessionStorage-scoped key store),
frontend/src/hooks/use-operator-key.ts, and frontend/src/components/operator-access.tsx
(proactive panel + in-context prompt). Wired into the scanner tabs, GPU panels,
planner panel and attestation form.apiPostJson / apiGetJson request helpers plus a typed
OperatorKeyRequiredError, so callers react to an authorization denial instead of
rendering an opaque error.dashboard/page.tsx sample-verification button now performs and displays
the verification (it previously re-fetched and discarded the result, leaving the label
permanently stuck on “Verify on-chain”).lib/__tests__/api-route-policy.test.ts
scans UI source for /v1/... literals and fails if any endpoint is unclassified, so the
UI and the proxy cannot drift apart again; lib/__tests__/operator-key.test.ts covers
the key store and typed error; app/api/[...path]/route.test.ts now asserts anonymous
denial, caller-key forwarding, admin-key isolation and the production/dev distinction.403 operator_key_required with zero upstream requests; keyed privileged call →
upstream observed the caller’s key; public route with a caller key present → upstream
still observed the admin key; the caller’s header never leaked under its own name.docs/SECURITY_THREAT_MODEL.md with the new trust boundary
and its accepted residual risk (a browser-held key is XSS-equivalent, hence per-operator
keys so one can be revoked independently).Both were found while validating the change above, and both had been invisible because the suite reported green.
playwright.config.ts ran on port 3000 with
reuseExistingServer: true. On any machine where another app already served 3000,
Playwright reused it and the suite silently tested that app: the smoke specs reported six
false failures against an unrelated service, and specs asserting only generic properties
(axe violations, horizontal overflow, an LCP budget) could equally have reported false
passes. The dev server now runs on a dedicated port (QTRUST_E2E_PORT, default 3020)
with an explicit baseURL kept on localhost (Next 16 blocks cross-origin dev resources,
so a raw-IP baseURL silently breaks hydration), and e2e/app-identity.ts lets any spec
prove it reached Q-Trust instead of inferring it from a port.color-contrast nodes, including the hero’s bg-cyan-300 text-slate-950
Verify button sampled mid hero-enter animation at ~47% opacity (ratio 3.62 against 4.5;
its settled frame is ~13:1). Axe folds opacity and filter into the colours it samples, so
any scan landing mid-animation reports a frame no user sees. The spec now audits the
reduced-motion rendering — which globals.css already collapses to its final state — and
waits for all finite animations to settle (infinite decorative motion is ignored, so the
gate cannot hang). Verified deterministic over five consecutive runs where it previously
passed roughly half the time./scanner a11y coverage (desktop + mobile), including the new operator-access
panel, which had none.Once the a11y gate above became deterministic it failed immediately, on genuine violations that the intermittent scans had been skipping: the offending sections reveal below the fold, so a scan that never settled them excluded them from the audit. Measured against WCAG 2 AA (4.5:1 for normal text):
| Element | Colours | Ratio | Fix |
|---|---|---|---|
#product <h2> “One system for the whole migration.” |
#ffffff on #f4f5f2 |
1.09 | The section sat inside a wrapper that set text-white and never reset it, so its heading inherited white on a near-white background and was effectively invisible. The section now sets text-slate-950 |
#why card index + “Outcome / visible by design” |
slate-400 on #f4f5f2 |
2.40 | text-slate-600 |
#workflow step labels (Scan / Plan / Attest) |
slate-600 on #020618 |
2.65 | text-slate-400 |
| Product preview “Preview” badge | slate-500 on slate-200 |
3.86 | text-slate-700 |
| Product preview inactive tabs | slate-500 on slate-200/70 |
4.08 | text-slate-700 |
| Product preview dark-panel meta text | slate-500 on #0c1424 |
3.86 | text-slate-400 |
| Scanner/dashboard/vendor secondary notes (post-scan states the gate cannot reach) | slate-400 on white |
2.64 | text-slate-500 |
Verified: / and /scanner pass axe (wcag2a + wcag2aa + best-practice) with zero
critical or serious violations across four consecutive runs, where the gate had previously
been roughly 50% flaky and, once made deterministic, failing.
planner/qtrust_planner/checkpoint_manifest.py — parses the
models.sha256 manifest and verifies a checkpoint’s SHA-256 before it is
deserialized. Contracts: listed basename must match its pinned hash or
verification raises (callers fail closed); an unlisted operator-selected
artifact is reported and allowed with a warning; a missing manifest is
reported (and refused under QTRUST_ENFORCE_MODEL_MANIFEST=1).planner/server.py verifies the resolved GNN checkpoint and the
RL agent at startup, BEFORE torch.load — a mismatch aborts boot instead of
degrading into heuristic mode; /health now reports the checkpoint’s
integrity status. planner/qtrust_planner/predict.py verifies in
_load_trained_model (the documented control anchor).planner/models.sha256 (planner-relative copy of the
canonical root manifest) is baked into the planner image
(planner/Dockerfile), and compose sets QTRUST_ENFORCE_MODEL_MANIFEST=1
so a tampered checkpoint fails closed at startup.planner/tests/test_checkpoint_manifest.py
(verified/unlisted/no-manifest resolution, tamper → fail-closed on the real
server startup path, and a planner↔root manifest drift guard).frontend/e2e/cwv-budget.spec.ts — Playwright-driven regression
gate measuring Largest Contentful Paint (≤ 2.5 s) and Cumulative Layout
Shift (≤ 0.1) on the home page with PerformanceObserver, in the existing
e2e job (desktop project; warm-up navigation first so the measured paint is
runtime, not dev-server first-compile). Budgets overridable via
QTRUST_CWV_LCP_BUDGET_MS / QTRUST_CWV_CLS_BUDGET.Applied skills curated from VoltAgent/awesome-agent-skills:
openai/security-threat-model, openai/security-best-practices,
trailofbits/constant-time-analysis, trailofbits/audit-context-building.
fetchIpfsJson fetched the on-chain
attacker-influenceable metadata_uri server-side with only a prefix strip;
it now validates a strict CIDv0/CIDv1 grammar before any fetch and refuses
redirects. 8 regression tests added./docs, /redoc, /openapi.json
are now disabled in production (available in dev); regression tests added.docs/SECURITY_THREAT_MODEL.md — repo-grounded threat model with
evidence anchors, 10 classified threats, abuse paths, and focus paths.docs/audit/DOSSIER.md — external-audit prep (R-01): system
rules, unenforced assumptions, and micro-analyses of the four
highest-value functions.hmac.compare_digest, hash+timingSafeEqual); SDK hashing is
public-data content addressing.unsafe-eval/unsafe-inline, helmet on backend (HSTS), no
dangerouslySetInnerHTML, no client-exposed secrets.Applied three external design-skill collections (pbakaus/impeccable, Leonxlnx/taste-skill, emilkowalski/skills) as audits against the frontend, fixing only what survived their gates.
prefers-reduced-motion kill-switch (0.01ms) also froze loading spinners and
pending indicators, making a working app look hung. They now run slowed
(1.5s) instead of frozen; decorative motion stays fully disabled.Button primitive had no :active state.
Added active:scale-[0.98] at 150ms ease-out with an explicit
transition-[...] property list (no transition: all).TxStatus state swaps teleported. State
changes now crossfade via a 200ms tx-bridge animation (repo’s own
cubic-bezier(0.16, 1, 0.3, 1) family), remount-keyed on state; reduced
motion gets the instant swap.Autonomous multi-agent verification cycle: ML validity audit, Docker build/run validation, and static analysis of the smart contracts.
IPausable into
src/interfaces/IPausable.sol; all 10 governable registries now inherit it,
so the governance↔registry pause contract is checked by the compiler instead
of by convention (resolves Slither missing-inheritance for all project
sources; remaining Slither findings are in vendored OpenZeppelin or are
intentional zero-value sentinel patterns). New invariant test
PausabilityInvariant.t.sol pins every governable contract to the interface.dotenv.config() calls now use
{ quiet: true }, removing dotenv v17’s promotional “tip” banners from
production container logs.docs/TRUTH_AUDIT.md discovery row corrected to the
empirically verified split (38 repos → 30 train / 8 eval, seed 42;
11,558 / 2,415 files — reproduced by re-running _code_splits), and the
unverifiable “4-epoch” qualifier replaced with the script default
(--hf-epochs 2). New recorded leakage audit: repo-level split integrity
confirmed, zero repo overlap; cross-repo exact duplicates affect 58/13,973
files (0.4%), full-record train/eval overlap 11 files (0.46% of eval) —
organic, bounded well below the claimed 0.11 F1 gain./plan, 422 validation, auth); backend Docker image
built and run through its fail-closed startup gates (CORS, relayer key,
scan roots) to a healthy /health; no critical/high Slither findings in
project sources; vendor dataset duplicate scan (16 records, 0 dupes).A design-system audit of the marketing pages against the anti-AI-slop responsive/a11y gates (no fabricated metrics, no clipped display type, no horizontal overflow at 320–768 px).
frontend/e2e/mobile-layout.spec.ts):
real-browser assertions at 320 px and 375 px that the page never scrolls
horizontally and no element extends past the viewport (elements inside
deliberately clipped containers such as the marquee track are excluded).
The detector was red-team validated: it correctly ignores clipped regions
and was shown not to flag the hero (a width probe of the live h1 at
320 px measured max text rect 238 px — it fits, disproving the
estimate-based violation).overflow-wrap: anywhere on the hero <h1> so long
words can never clip on platforms with wider fallback font metrics (the
hero clamp itself was measured correct and is unchanged).Fourth pass: GPU training smoke tests (GNN: val τ 0.922→0.927 on seeded quick run; RL PPO: 6-episode vectorized run; both checkpoints load and eval on CUDA), planner latency benchmarking (p50 28–123 ms / p95 43–337 ms for 50–2000-asset CBOMs, no regression from the new validation gate), and an end-to-end inspector CLI exercise that surfaced two real detection defects:
import rsa; rsa.newkeys(2048) was invisible to both scanner layers.
The regex layer had no rsa-package pattern and the AST layer did not
treat rsa as a crypto root module (same for PyCryptodome Crypto), so a
common Python crypto usage scanned as clean. Both layers now detect it;
the AST layer resolves the exact key size (rsa.newkeys(2048) → RSA-2048).Third verification pass: live probing of the backend API (36 malformed-input, auth, SSRF, prototype-pollution, path-traversal and oversize-payload probes), the Python risk heuristics with garbage inputs, and a full on-chain SDK E2E (anvil → deploy → register/attest/migrate/audit → integrity guards). The backend surfaced zero exploitable defects — every probe returned a clean 400/401/413/422 with a precise message.
QTrustClient(base_url=...),
client.verify(asset_id=...) and engine.score("cbom.json") do not exist
anywhere in the SDK; the only remaining copy was the top-level README
(docs-v2 and sdk/README.md were already correct). Replaced with verified
examples (verify_asset, RiskScoringEngine.calculate, real constructor
kwargs) that were executed against the SDK before landing.sdk/tests/test_readme_contract.py) parses
the README’s Python code blocks and asserts every documented constructor
kwarg, method call, and model field exists on the real SDK objects — docs
can no longer silently drift from the code.overflow-x: hidden → clip on html/body (prevents horizontal
scroll without turning the body into a scroll container, which would break
position: sticky children).A second verification sweep probed the live HTTP/CLI surfaces with malformed inputs. Three defects found and fixed, each with a regression test.
/plan and /rl/plan no longer 500 on malformed CBOM assets.
A non-numeric key_size (or a non-object asset entry) detonated mid-request
(int("abc") in the fallback path; a latent NameError on the graph when
the GNN path raised after a partial parse). Both endpoints now share one
validation gate and return a precise 422; integer-string key_size values
are still accepted and normalized./plan accepted an arbitrarily
large CBOM (a 20k-asset / 2.5 MB request produced a 4.6 MB response with
no limit). Requests above QTRUST_MAX_CBOM_ASSETS (default 5000) are now
rejected with 422 before feature construction or GNN inference.crypto-inspector scan fails loudly on a mistyped path. A directory-
shaped target that does not exist (or a bare file passed as target) fell
through to the network scanner and produced a misleading “0 findings”
clean report with exit 0 — dangerous for a security tool wired into CI.
Both cases now exit 2 with an explanatory message; real directories and
CIDR ranges are unaffected.benchmark_comparison.json, which actually contains them, instead of the
run log whose evaluate field is null; the unverifiable “4-epoch”
qualifier was dropped (the epoch count is not recorded in any artifact).Every CI gate was re-run locally on this checkout; the failures below were found and fixed during that sweep, each with a regression test.
QTRUST_MODEL_PATH now wins over the convenience defaults (real-data v3,
GPU v3, DDP, RL), making rollback/canary selection deterministic instead of
silently serving another artifact; a nonexistent explicit path fails loudly.
The Compose stack and planner image default to the tracked real-data
checkpoint (model_real_v3.pt).parsePagination rejects
malformed, fractional, negative, or unsafe-integer offset/limit values
with a 400 instead of Number() coercion producing NaN/Infinity or
silently changing paging semantics (orgs assets/migrations, vendor
attestations).verifyEvidenceChain/ledger verification now handle
evicted chain prefixes correctly, look up entries by chainIndex (not
array position), and report the true chainIndex in failedIndex./health is liveness again. Missing relayer signing credentials no
longer turn startup probes into 500s; the relayer is reported as null
and transaction routes still fail closed on first use./v1/stats-private no
longer inherits /v1/stats access, and the webhook subscriber listing was
removed from the public allowlist.r word instead of a
single-bit flip: a flipped r still lands on the curve with overwhelming
probability and recovers to a random address, which made the expected
revert a per-digest lottery (the AuditRegistry case failed in practice).
No production contract changes — authorization checks after recovery were
always enforced.All findings below come from the September 2026 due-diligence report; each fix ships with a regression test, and every IANA value was re-verified against the registry CSV exports the same day.
negotiated_group no longer mislabels a cipher as a TLS group.
tls_probe.probe_tls_endpoint now reports SSLSocket.group() where the
interpreter exposes it (Python 3.14+/OpenSSL 3.2+), and otherwise emits an
explicit "not captured" marker instead of shared_ciphers()[0] — the
exact signal a PQC migration tool exists to report is no longer fabricated.tls_probe.py vs pcap_scanner.py) are replaced by
qtrust_inspector/tls_registry.py, checked against the IANA
tls-parameters-8.csv and tls-signaturescheme.csv exports: x25519 is
0x001D (not 0x0012), secp256r1 is 0x0017, pure ML-KEM groups are
0x0200-0x0202 (not 0x6399-0x639B, which are the obsolete
X25519Kyber768Draft00/SecP256r1Kyber768Draft00 hybrids), ML-DSA signature
schemes (0x0904-0x0906) are no longer listed as key-exchange groups, and
SLH-DSA schemes are included. Both consumers import the shared table; a
parity test asserts the two modules can never disagree again.verify_chain()). v1 ledgers load
and verify under the legacy construction and are transparently re-hashed to
v2 on the next save; append-after-upgrade stays chained.qrisk.QRiskEnsemble.fit calibrates on
a seeded random holdout instead of the ordered tail of the training set
(the old ECE was optimistically biased), and _ece closes the last bin so
p=1.0 samples are counted. Reported ECE is now a conservative estimate.merge_findings_dedupe
normalizes the line component (explicit line, else first of regex-layer
lines) so the same call site found by both the AST and regex layers
merges into one finding instead of duplicating.side_channel.collect_timing_traces no longer appends 0 ns on errors
(which skewed z-normalization feeding the leakage detector); failures are
logged via logging, and an all-failed run raises instead of returning a
zero vector. Training-loop prints converted to structured logging.extractfile() returning None (directories/links) is handled instead of
raising AttributeError outside the caught exception types.{ is classified as Suricata EVE only when the first line
parses as a JSON object carrying EVE fields; everything else is unknown.auto-remediate --patch/--dry-run/--backup.
Accepted, documented, never referenced (users could believe patches were
applied when nothing was written). The command still only SUGGESTS
replacements; automated source rewriting remains out of scope by design./api/[...path] no longer
forwards the admin API key to every /v1/* path. A route policy allowlist
proxies public GET reads and stateless compute POSTs only; relay, write,
scan, evidence-create, webhook and GPU routes are rejected at the proxy
with 403 before any backend call. 40-test auth-matrix regression added.qtrust_ai base-model downloads pass
revision= (CodeBERTa-small-v1 pinned to its current main commit); bandit
B615 cleared.QTRUST_WEBHOOKS list get the same x-webhook-signature HMAC as
per-subscriber endpoints when QTRUST_STATIC_WEBHOOK_SECRET (≥16 chars) is
set; without it a one-time warning makes the gap visible in ops logs.curl | bash from
main), and release-drafter is pinned by commit SHA with a comment mapping
SHA → tag.backend/src/services/relayer-guard.ts:
a minimum-balance circuit breaker, a daily gas-spend cap over a rolling 24 h
window fed by real receipt costs, and an EIP-1559 base-fee ceiling. Every
broadcast path in attestation.ts funnels through the guard; thresholds
via QTRUST_RELAYER_MIN_BALANCE_ETH / QTRUST_RELAYER_DAILY_SPEND_CAP_ETH
/ QTRUST_RELAYER_MAX_BASE_FEE_GWEI (unset = disabled, so anvil dev is
unaffected). A drained relayer now fails loudly, not silently.did:web SSRF and key-binding hardening. VC issuer
resolution now resolves DNS once, rejects private/reserved addresses, dials
the validated IP directly, preserves hostname-based TLS verification, follows
no redirects, and caps DID documents at 1 MiB. DID documents must match the
issuer DID and the proof’s exact verification method/controller; a proof that
is not bound to the issuer fails under invalid_signature, not
did_resolution_failed. Additionally, the issuer key is resolved once per
process (stable identity across credentials), and production refuses to
start VC issuance without a 32-byte hex QTRUST_VC_ISSUER_KEY. Regression
coverage includes DNS-resolved private hosts and malformed authority inputs.qtrust-sdk / qtrust-inspector
were re-verified as HTTP 404 on the PyPI API (2026-09-03); the fake PyPI
badges are replaced with an honest “pending publication” badge, and the
install instructions lead with pip install -e ./sdk from source until the
packages actually publish via publish-pypi.yml.inspector/side_channel_model_real.pt is now tracked (removed from
.gitignore, added to models.sha256, verified), and the README row
discloses that training used real liboqs clean traces with synthetically
injected leak classes — no claim of real leaking-hardware traces.python -m entry points that do not exist. dvc.yaml now declares only
the stage that actually runs (evaluate, which itself refuses to fabricate
metrics when splits are missing), with an explicit policy comment: add a
stage only when its entry point runs end-to-end.inspector/qtrust_inspector/tls_registry.py — single IANA-verified group +
signature-scheme registry (B-7).backend/src/services/relayer-guard.ts + 12 unit tests — relayer financial
guardrails (OPS-1).inspector/tests/test_audit_remediation.py — 18 regression tests covering
B-6/B-7/B-8/B-9/B-10/B-11/B-13/B-14/B-15 and the dead-flag removal.frontend/src/app/api/[...path]/route.test.ts — 40-test proxy auth-matrix
regression for the S-1 default-deny allowlist.planner/results/benchmark_v3.json (seed=999,
1000 graphs): v3 τ 0.975 (synthetic-scale, held-out)3 (top-5 0.673) and v2 τ 0.9703 (top-5
0.713) — the CI promotion gate (v3 must beat canonical v2) now passes
honestly, and planner/results/benchmark.json (3 seeds) re-measures
gnn-listmle at τ 0.9637 ± 0.0002. models.sha256 refreshed for the
new binaries; README / WHITEPAPER / showcase / docs numbers updated to the
fresh measurements. The 400K-graph DDP checkpoint was not retrained and is
documented as a research artifact (τ 0.864, batch-norm).planner/results/real_cbom_loo_40.json now records the reproducible
out-of-sample τ-b 0.7263 vs the doctrine heuristic 0.7450
(Δ −0.0188), reproducing the doctrine on 38/40 held-out real CBOMs
(0 wins / 38 ties / 2 losses, both n≤13), +0.503 vs random — folds sharded
across 4 A100s and merged with --merge-shards (a fresh 3-fold run is
bit-identical to the merged shards). The pre-fix τ-b 0.7377 (39/40) is
superseded; README/TRUTH_AUDIT/DEVELOPER_ROADMAP/AUDIT_REMEDIATION updated.criticality:
medium, which left the migration reward with no order-dependent term — so
all completing policies scored identically and the archived “RL beats the
heuristic on real estates” headline (agent 130.20 vs heuristic 112.40) was
not reproducible by any script in the repo. Assets are now re-labelled
with risk_criticality_from_scan (scripts/train_real_models.py) — a
deterministic function of the real certificate attributes (RSA-1024 →
critical, RSA-2048 → high, expired/self-signed/near-expiry raise the
class) — and the agent was retrained on those estates. Honest result
(planner/results/rl_benchmark_real_cbom.json): agent 140.34 ± 8.13 vs
heuristic 140.62 (Δ −0.28, tie) vs random 136.84 (+2.6%), 100% completion
(2/40 wins · 27 ties · 11 losses) — the agent learns real risk-priority
and matches the doctrine, mirroring the GNN planner finding. Also fixed a
second reproducibility bug: pack_graph_cboms built its host list from a
set of scanner hostnames, and Python set iteration order is
hash-randomized per process (PYTHONHASHSEED), so the same seed=99
produced a different packing every run — RL retrain and benchmark now
share one deterministic packing (hosts sorted before seeded shuffle); two
independent eval processes return identical numbers.qtrust_ai models train on the real corpora (15/15 trained, anchors 15/15,
wall 328s); CodeBERTa held-out F1 0.9395 reproduces bit-for-bit
(P 0.9279 / R 0.9514); 6/7 models beat their best naive baseline (mean
relative gain 1.55×). Anomaly detector re-verified: 162/162 (100%)
detection, FPR 2/54 (3.7%) on real CBOMs.scripts/train_factory.py --phase all crashed in phase_risk on real CBOM
assets with "algorithm": null; qtrust/models/risk/model.py::featurize
now coalesces None/empty algorithms and the factory defaults to RSA-2048.
The full factory pipeline (discovery → risk → graph) now completes.planner/qtrust_planner/train_gpu.py + rl_agent.py: deterministic
kernels (seeded shuffle generator, cudnn deterministic/benchmark off,
skip torch.compile when deterministic) — same seed now yields bit-identical
weights (verified 0 param diff in test_train_gpu_deterministic_same_seed_same_weights).Principal-level audit P0: /v1/credentials/verify previously returned
signature_verification_unavailable_in_backend (structural checks only) and
/v1/credentials/issue produced an UNSIGNED stub.
backend/src/services/vc.ts implements full W3C VC v2.0 issuance and
FAIL-CLOSED cryptographic verification in TypeScript (@noble/curves +
@scure/base): Ed25519Signature2020 signing, canonical payload
byte-compatible with the Python SDK (sort_keys + compact separators +
ensure_ascii — verified byte-identical), did:key (offline) and did:web
(HTTPS with DNS-pinned SSRF protection) resolution./v1/credentials/issue now signs a real credential under the backend’s
did:key issuer (QTRUST_VC_ISSUER_KEY)./v1/credentials/verify now verifies structure + expiry + signature
against the issuer DID and returns a structured per-check result.qtrust.vc.VCVerifier) and SDK-issued VC verifies in the backend.backend/tests/vc.test.ts (16 tests — round-trip, tamper,
forged-key, unsigned, expired, missing fields, pinned did:web transport,
DNS-resolved SSRF, and malformed-authority guards). The forged-key case
surfaces as invalid_signature under the verificationMethod binding check.Remediates the 2026-08-26 Z.ai engineering audit (docs/Q-Trust_Codebase_Audit.pdf).
All Critical and High findings are fixed with regression tests; all Medium,
Low, and Informational code findings are fixed unless explicitly noted below.
Critical
Deploy.s.sol now
transfers QTrustGovernance.DEFAULT_ADMIN_ROLE to the timelock, then the
deployer renounces timelock admin/proposer/executor/canceller roles and
governance admin. Regression test
(contracts/test/AuditRemediations.t.sol::test_C1_*) runs the actual deploy
script and asserts zero residual deployer roles.schedule() allowed UUPS upgrade bypass. _isRoleMutationCall
now also rejects upgradeTo (0x3659cfe6) and upgradeToAndCall (0x4f1ef286)
selectors, closing implementation-swap-after-delay.High
attestProductSigned skipped the VENDOR_ROLE check (the only
signed path in the codebase without a post-recovery role check). Added;
regression test revokes the role from a still-active vendor and expects
NotVendor.whenNotPaused on TrustAnchorRegistry.revokeAccreditation,
reaccreditIssuer, SchemaRegistry.addEquivalence, deactivateSchema./v1/relay/* gas-griefing. All four relay POST routes now require
an API key, and the relayer pre-checks the signer’s on-chain role before
broadcasting (failed txs no longer cost relayer gas). Operators must issue
API keys to relaying clients (see .env.example); dev mode without keys is
unchanged.beforeSend scrubs x-api-key/
authorization/cookie headers, redacts request bodies, masks any
64-hex private-key-shaped string anywhere in the event; sendDefaultPii: false.QTRUST_WEBHOOK_ENC_KEY
unset. Production now refuses to store unencrypted subscriber secrets
(fail-closed); dev fallback retained.watchEvent unsubscription. The indexer now
awaits the pooled watchEvent Promise so real unwatch functions are stored;
new test asserts stopIndexer unsubscribes all seven streams./v/[id] interpolated server-controlled asset_id into copy-paste
shell commands. parseAssetId enforces strict ^0x[0-9a-fA-F]{64}$; the
CLI block renders only for valid IDs, otherwise a warning explains how to
verify manually.ApiKeyMiddleware enforces X-Auth… X-Api-Key (QTRUST_PLANNER_API_KEY);
fail-closed 503 in production when unset. Backend proxies forward the key.
First-ever planner HTTP tests added (planner/tests/test_server.py).Medium
AuditRegistry._postAudit
reads a count instead of copying the full per-org array.MigrationRegistry._recordMigration uses the orgDid already returned
by verifyAsset (one cross-contract call instead of two).ComplianceAttestation.getOrgComplianceStatus is O(1) via a latest-
attestation pointer; revocation clears it.PolicyCommitment.commitPolicy enforces version == 1 for new policies
and latest+1 afterwards (a v=type(uint256).max brick is impossible)./v1/evidence/create API-key gated with a 5/min route limit and a
bounded in-memory chain; /v1/stats gated and scan targets stored as keyed
hashes (no absolute paths).timestamp + expires_at (5-minute TTL) so
recipients can reject replays.requireApiKey (per-call env read, cached 30s, uniform
401 semantics); the divergent server.ts copy was deleted.Low / Informational
MigrationVerified and IssuerDeactivated events emitted; deactivateIssuer
also validates registration and pauses.EvidenceRegistry batch IDs use OZ Strings.toHexString (batch ID
format gains 0x prefixes — off-chain parsers of batchId must adjust).scheduleGrantRoleOn/schedulePauseOn/scheduleUnpauseOn
wrappers reach all ten registries, not just the core four._initialized guards removed from all ten
registries (OZ Initializable suffices). Storage layout shifted — redeploy
via Deploy.s.sol rather than upgrading existing staging proxies.revocationReason.https://sepolia.base.org; production refuses
plaintext http:// RPC at boot./var/lib/qtrust so the evidence chain
persists for the non-root user.NotRegistrar error split out as
NotOwnerOrAdmin; dead verifySignature and unused auth helpers deleted.proofValue returns invalid_signature
instead of raising.contracts/test/AuditRemediations.t.sol — C-1/C-2/H-1/H-2/L-6/M-4/M-5
regressions (contract suite now 211 tests).backend/tests/indexer.test.ts — H-6 unsubscription regression.backend/tests/secret-box.test.ts additions — H-5 production fail-closed.frontend/src/components/__tests__/attestation-form.test.tsx — first tests
for the signing component: domain pinning, nonce fetch → sign → relay
round-trip, chain-switch behavior, error surfacing.planner/tests/test_server.py — first tests for the FastAPI surface:
health shape, plan happy path/validation, API-key auth matrix, prod fail-closed.models.sha256 + scripts/verify_models.sh + CI model-integrity job —
committed .pt checkpoints are now tamper-evident.abi-drift job — regenerates abis.ts/contracts.py from Forge
artifacts and fails on drift (previously claimed but not implemented).golive-preflight job (release tags only) — fails releases that still
carry unresolved escalation-contact placeholders. The historical markers
and the placeholder security email have since been replaced with real
contacts.docs/PATENT/ remains tracked pending a legal decision.benchmark.score_order) — tau was
computed by index-correlating the two order sequences (node IDs at each
list position) instead of comparing per-node ranks. Any imperfect model
was silently understated; the repo’s historical GNN τ ≈ 0.27–0.39 grew to
τ ≈ 0.78–0.96 under the corrected per-node-rank protocol while the
heuristic upper bound stays 1.00. train_gpu.compute_metrics already used
the correct formulation and is now cross-validated by a regression test
suite (planner/tests/test_benchmark_protocol.py). results/benchmark.json
regenerated at canonical scale.(T, 1) against (T,) returns, silently broadcasting the advantage
and critic loss to (T, T) and corrupting policy gradients; values are now
flattened before the loss computation (planner/qtrust_planner/rl_agent.py).{state_dict, threshold} with legacy raw state-dict loading still
supported (inspector/qtrust_inspector/anomaly_detector.py).fail_on_revert = true — pause
toggles in RegistryHandler lacked admin roles (silently reverting since
inception) and bounded salts replayed duplicate content-addressed IDs;
fixed via role grants and ghost-set dedup.qiskit_algorithms — order finding
is implemented directly via quantum phase estimation on the modular
multiplication permutation unitary, compatible with qiskit 1.x/2.x and any
Aer backend (GPU when available, CPU otherwise, classical Pollard’s rho as
labeled last resort). Controlled-U powers are executed natively by Aer as
block unitaries (no transpilation synthesis), making the demo ~20x faster:
N=35 factors via the full quantum path in <1s and order finding for
N=77 completes in ~3s.qiskit-aer-gpu PyPI package stops at Python 3.12 (use a GPU-built
Aer on newer Pythons).[invariant] raised to
runs=1000, depth=100 with fail_on_revert = true; all 189 contract tests
pass under the strict config.QTRUST_RATE_LIMIT_MAX env override
(0 disables globally, e.g. behind an edge proxy or for load tests);
default unchanged at 120/min per IP.QuantumThreatPanel, AnomalyPanel,
RLPlanViewer join SideChannelPanel on the org dashboard’s GPU analysis
grid, with component tests (frontend suite now 44 tests).planner/qtrust_planner/benchmark_v3.py) —
same held-out split and scipy-Kendall protocol as benchmark.py;
writes results/benchmark_v3.json.notebooks/02_quantum_threat_gpu.ipynb)
generated from the authoritative script and executed with outputs; the
script is now runnable from any working directory.publish-pypi.yml) and GHCR Docker workflow (publish-docker.yml) on
tags/releases.mkdocs.yml (Material) + GitHub Pages workflow;
new pages: PERFORMANCE.md, MULTI_CHAIN.md, GO_LIVE_CHECKLIST.md,
case-studies/CASE_STUDY_EXAMPLE_COM.md (scan → CBOM → on-chain → verify,
validated end-to-end on a local chain-id-84532 chain).frontend/src/lib/generated/api-schema.ts from
backend/openapi.yaml via openapi-typescript.ci profile (1000 examples where per-test settings allow).make -f Makefile.gpu train-gnn reproduces/resumes).Master-audit remediation release. Breaking changes are pre-deployment (nothing has shipped to a public chain yet).
block.chainid and recomputed on mismatch (EIP-712 “defensive copies”
pattern) across all six EIP-712 contracts, enabling safe multi-chain
redeployment. One extra cold SLOAD on signed paths.computeAssetId() / computeAttestationId() getters exposed;
duplicates revert with explicit errors.StringBounds lib.Security-hardening fixes shipped in the current hardening pass:
qtrust-inspector engine end-to-end.postAuditSigned — EIP-712 gasless path for auditors,
closing the last trust-model gap; backend relay route /v1/relay/audit
(+ nonce endpoint) with TypeBox schema and tests.MAX_ATTESTATIONS_PER_PRODUCT — governor-settable within
[16, 4096], default 256, with change event.hasRole(DEFAULT_ADMIN_ROLE) read (UI hint only).next/dynamic
(ssr:false), planning panel lazy-loaded on dashboard.QTRUST_IPFS_PROVIDERS, best-effort replication, CID-mismatch warnings.verify_chain).indexer_lag_blocks,
rpc_pool_unhealthy_endpoints.ast module
(scope-aware, key-size/curve refinement, false-positive controls);
optional tree-sitter upgrade path for JS/TS with honest per-finding
detector labels (ast-python / tree-sitter / regex-fallback).
Wired into CLI, API, and MCP server.analyze_zeek_ssl_log and
analyze_suricata_eve normalize network TLS telemetry into flow records./v1/scan/* works in containers; evidence chain persists across restarts
(append-only JSONL store); planner serves explicit heuristic mode instead
of placeholder model weights.qtrust-inspector v1.1.0 with an
accurate description; SDK version drift resolved (0.2.0/1.0.0 → 1.1.0);
python-nmap moved to optional extra.dynamic-provider.tsx with
wagmi 2 + RainbowKit 2 (30+ wallets, chain-switching, mobile support);
EIP-712 verifyingContract still pinned to local env config, never API./docs (44 paths); TypeBox JSON-Schema validation on scan/evidence/
risk/compliance/credential routes replacing manual field checks.>=43,<45.>=2.5,<3.0; non-root Dockerfile USER;
Redis sliding-window rate limiter (ZSET pipeline) with graceful
in-memory fallback across uvicorn workers.QTRUST_RPC_URLS)
with round-robin rotation and 60s health cooldown for attestation +
indexer viem clients./metrics endpoint with HTTP request
duration histogram; Prometheus + Grafana (provisioned datasource) added
to compose on loopback ports; Sentry (backend, DSN-gated no-op).forge verify-contract job (guarded, push-to-main);
coverage reporting (pytest-cov + forge coverage → Codecov).Six CUDA features activated on A100-class hardware (QTRUST_GPU_ENABLED=true,
/v1/gpu/*; see docs/GPU_FEATURES.md, Makefile.gpu):
/rl/plan planner endpoint decodes plans,
reporting rl_policy or heuristic_fallback truthfully.Backend: stdin-JSON bridge (backend/scripts/gpu_bridge.py) — no shell
interpolation of request data; per-request feature gate; 409 for untrained
detectors; OpenAPI-tagged routes + 15 vitest tests.
qtrust-inspector-action) for CI integration.Enterprise-grade release of the Q-Trust platform.
Metric-correction note (2026-10-23): the discovery F1 quoted above as
0.9525was corrected to 0.9395 (P 0.9279 / R 0.9514) by the re-audit inpaper/REANALYSIS.md(no threshold reaches 0.9525). Update any downstream value accordingly.