Skip to content

Releases

v2.2.2 🛡

Choose a tag to compare

@github-actions github-actions released this 20 Sep 08:49
c9735ca

Q-Trust v2.2.2

Post-quantum cryptography migration & attestation protocol — CBOM scanning,
GPU-accelerated analysis, GNN/RL migration planning, verifiable provenance
on Base L2.

What's Changed

  • Fix Release Drafter v7 schema violation + document label setup @humoge7502 (#92)
  • chore(deps): update torch requirement from <3.0,>=2.5 to >=2.14.0,<3.0 @dependabot[bot] (#65)
  • chore(deps): update pydantic requirement from >=2.6 to >=2.13.5 in /planner @dependabot[bot] (#67)
  • chore(deps): update uvicorn requirement from >=0.29 to >=0.52.4 @dependabot[bot] (#34)
  • chore(deps): update aiohttp requirement from >=3.9.0 to >=3.14.3 @dependabot[bot] (#30)
  • chore(deps): update qiskit requirement from >=1.0.0 to >=2.5.2 @dependabot[bot] (#27)
  • chore(deps): update fastapi requirement from >=0.110 to >=0.141.1 in /planner @dependabot[bot] (#28)
  • chore(deps): update qiskit-aer requirement from >=0.13.3 to >=0.17.2 in /planner @dependabot[bot] (#31)
  • Release: external benchmarks, ACVP vectors, dataset manifest, anyio security floor @humoge7502 (#91)
  • data: 42-fold LOO on GPU + side-channel retrain on 54 trace sets @humoge7502 (#89)
  • data: commit host-disjoint 42-CBOM corpus + track qtrust/data sources @humoge7502 (#88)
  • fix: roadmap MEDIUM phase, retired planner lookup, dashboard onboarding, planner reliability @humoge7502 (#87)
  • chore(deps): bump python from 3.11-slim to 3.14-slim in /planner @dependabot[bot] (#45)
  • security+perf: TM-PL-02 checkpoint SHA-256 pinning at startup + TD-06 CWV budget in CI @humoge7502 (#75)
  • chore(deps): bump github/codeql-action/upload-sarif from 3.28.17 to 4.37.9 @dependabot[bot] (#71)
  • chore(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.4 @dependabot[bot] (#73)
  • chore(deps): bump crytic/slither-action from 0.4.0 to 0.4.2 @dependabot[bot] (#70)
  • chore(deps): bump release-drafter/release-drafter from 6.4.0 to 7.7.0 @dependabot[bot] (#74)
  • correct final test counts; record end-state verification on merged main @humoge7502 (#59)
  • reconcile governance docs with PR #57: security evidence, R-09 closure, test counts @humoge7502 (#58)
  • security: threat model, audit dossier, IPFS SSRF fix, planner docs exposure fix @humoge7502 (#57)
  • add governance artifacts: scorecard, registers, release checklist, final engineering report @humoge7502 (#56)
  • design-craft pass: reduced-motion spinner fix, button press feedback, tx-state bridge, copy hygiene @humoge7502 (#55)
  • harden contracts with IPausable invariant; record ML leakage audit; silence dotenv logs @humoge7502 (#54)
  • docs(perf): measured planner latency table; verify_all 12/12 green @humoge7502 (#53)
  • UX: mobile layout-safety e2e gates + hero overflow-wrap safety net (Hallmark audit) @humoge7502 (#52)
  • fix: verification sweep — VC key-binding taxonomy, deterministic contract tamper tests, honest docs @humoge7502 (#51)
  • docs(readme): OPERATION SILENT QUANTUM mission card @humoge7502 (#50)
  • chore(deps): bump pino from 9.14.0 to 10.3.1 in /backend @dependabot[bot] (#5)
  • chore(dev-deps): bump @types/node from 20.19.43 to 26.4.0 in /backend @dependabot[bot] (#2)
  • chore(deps): bump ioredis from 5.11.1 to 6.0.0 in /backend @dependabot[bot] (#3)
  • chore(dev-deps): bump typescript from 5.9.3 to 7.0.2 in /backend @dependabot[bot] (#6)
  • chore(deps): bump dotenv from 16.6.1 to 17.4.2 in /backend @dependabot[bot] (#4)
  • chore(deps): bump pino-pretty from 11.3.0 to 13.1.3 in /backend @dependabot[bot] (#8)
  • chore(deps): update scikit-learn requirement from >=1.4.0 to >=1.9.0 in /planner @dependabot[bot] (#35)
  • chore(deps): update redis requirement from >=5.0.0 to >=8.1.0 in /planner @dependabot[bot] (#33)
  • chore(deps): bump codecov/codecov-action from 5.1.2 to 7.0.0 @dependabot[bot] (#37)
  • chore(deps): bump actions/checkout from 4.2.2 to 7.0.1 @dependabot[bot] (#41)
  • chore(deps): bump actions/setup-python from 5.6.0 to 7.0.0 @dependabot[bot] (#40)
  • chore(deps): bump actions/download-artifact from 4.3.0 to 8.0.1 @dependabot[bot] (#38)
  • chore(deps): bump actions/upload-artifact from 4.6.2 to 7.0.1 @dependabot[bot] (#39)
  • chore(deps): bump actions/setup-node from 4.4.0 to 7.0.0 @dependabot[bot] (#20)
  • fix(deps): patch vite/esbuild in docs-v2 (clears 4 Dependabot alerts) @humoge7502 (#48)
  • fix(ci): allowlist gitleaks false positives (anvil dev keys, test fixtures) @humoge7502 (#49)
  • fix(ci): pin codeql-action to a real commit SHA (scorecard publisher) @humoge7502 (#47)
  • fix(ci): make CI green — four root causes, all evidence-backed @humoge7502 (#46)

Full changelog: v2.2.1...v2.2.2

💜 Contributors

Thank you @humoge7502, @dependabot[bot], @codebuff-team, @KanimozhiL16 and Q-Trust — Q-Trust is built in the open, and every
contribution counts: code, docs, bug reports, and CBOM feedback alike.

v2.2.1 🛡

Choose a tag to compare

@github-actions github-actions released this 05 Sep 17:34

Q-Trust v2.2.1

Post-quantum cryptography migration & attestation protocol — CBOM scanning,
GPU-accelerated analysis, GNN/RL migration planning, verifiable provenance
on Base L2.

What's Changed

  • feat(factory): Q-Trust ML Factory — world's best labeled dataset strategy @VigneshJai-Debug (#42)

Full changelog: v2.2.0...v2.2.1

💜 Contributors

Thank you @KanimozhiL16, @VigneshJai-Debug and Q-Trust — Q-Trust is built in the open, and every
contribution counts: code, docs, bug reports, and CBOM feedback alike.

v2.2.0 — The Flagship Release

Choose a tag to compare

@humoge7502 humoge7502 released this 26 Aug 22:38
⛓ 11 UUPS registries 🔎 10 scanner modules 🧠 τ 0.961 GNN 🧪 189 contract tests 🛡 7 compliance frameworks
EIP-712 gasless · 7-day timelock TLS · SSH · source · binary PyTorch Geometric + RL unit · invariant · fuzz · attack NIST · CNSA 2.0 · FIPS · NIS2 · FISMA · FedRAMP · CMMC

Flagship README + 11 brand assets + showcase landing + profile + automation. Design system: Deep Space #0a0e1a, Quantum Cyan #00d9ff, Crypto Violet #a855f7. Live badges, typing SVG, snake, star history.

v2.1.1 — P0 Hardening

Choose a tag to compare

@humoge7502 humoge7502 released this 26 Aug 20:53

Incremental hardening over v2.1.0 Engineering Elevation:

  • Backend per-route rate limits (10/min scan, 5/min full) to prevent fork-bomb when global limiter disabled
  • Error sanitization in read routes (generic 400 + request.log)
  • Inspector torch/numpy as optional [ml] extra — pip install without torch now succeeds
  • Frontend vendor portal loading skeleton + v/[id]/loading.tsx
  • Repo metadata: description, homepage, topics, Pages enabled (main), Discussions enabled
  • Verified: mkdocs strict, backend tsc, frontend build, inspector tests

v2.1.0 — Engineering Elevation

Choose a tag to compare

@humoge7502 humoge7502 released this 26 Aug 20:11

Engineering Elevation Blueprint V3 (2026-08-27)

Reference implementation with 7 CI pipelines, full local deployment via Docker, and bank pilot demo. Contracts not yet deployed and no external audit — see README Reality check.

Highlights

  • README v3 rebuilt as credibility asset (one-liner, problem, proof table with sources, 60s/10m quick start, reality check)
  • Docs curated: strict mkdocs, Guides (scan/deploy/sdk/operate), routing homepage, metrics.json single source of truth, 16K lines of internal docs removed from public tree, patent drafts purged
  • Repo hygiene: root training artifacts → planner/training, notebooks/data → research/, 4 deduped _real.pt checkpoints removed, shared qtrust_common heuristic, backend server.ts 858→91 lines (routes plugins)
  • UI/UX: dead tailwind.config deleted, complete @theme scale + semantic risk tokens, risk-gauge token-driven/accessible, TxStatus state machine, real dashboard assets, metadata OG cards

Measured results (sourced)

  • GNN v2 Kendall τ 0.961 (held-out) — planner/results/benchmark.json
  • API 147.8 req/s @100 VUs p95 11.3 ms — docs/PERFORMANCE.md
  • 211 Foundry tests (invariant 1000 runs) — CHANGELOG.md
  • 12+ languages, 10+ manifests, 7 compliance frameworks

Known limits

No independent audit, no public deployment, relayer trust, patent status — see README. P0 security fixes remain mandatory work from Master Audit.

Full diff: v2.0.0...v2.1.0

Q-Trust v2.0.0 — Production-Ready PQC Migration Coordination Protocol

Choose a tag to compare

@humoge7502 humoge7502 released this 24 Aug 22:17

Q-Trust v2.0.0 — Production-Ready PQC Migration Coordination Protocol

Master-audit remediation release. Breaking changes are pre-deployment
(nothing has shipped to a public chain yet).

Breaking

  • EIP-712 domain separators are now chainid-defensive — cached per
    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.
  • Deterministic content-addressed IDs verified contract-wide —
    computeAssetId() / computeAttestationId() getters exposed;
    duplicates revert with explicit errors.
  • String-length bounds enforced on all contracts (URI ≤512,
    DID ≤128, IDs ≤64, reason ≤256) via shared StringBounds lib.

Security

Security-hardening fixes shipped in the current hardening pass:

  • VendorRegistry duplicate-attestation DoS fix — reject and bound duplicate
    attestations so a single vendor cannot exhaust registry gas/loop capacity.
  • Backend scanner wired to real inspector — backend no longer serves stubbed
    scan results; it invokes the actual qtrust-inspector engine end-to-end.
  • SHA-256 evidence chain — evidence ledger entries are chained with SHA-256
    hashes, making tampering with historical evidence detectable.
  • Fail-closed VC verification (backend + SDK) — verifiable-credential
    verification now fails closed on signature, schema, or status-check errors
    instead of degrading to an accept.
  • Risk-engine quantum classification correction — asymmetric keys (RSA,
    ECC) are classified correctly as quantum-vulnerable rather than being
    mis-scored via symmetric heuristics.
  • Operational-role transfer to timelock — administrative operations moved
    from deployer EOA control to a timelock-governed operational role.
  • Webhook secret redaction — webhook signing secrets are redacted from all
    logs, error payloads, and API responses.
  • SSRF DNS pinning — outbound fetches resolve once and pin the resolved IP
    for the connection lifetime, defeating DNS-rebinding SSRF bypasses.
  • Relayer-key fallback removal — removed hardcoded/fallback relayer keys;
    relayer credentials must be provided explicitly or operations abort.
  • Indexer reorg handling — chain reorganizations are detected and replayed
    instead of persisting orphaned events into indexed state.

Added (2.0.0)

  • AuditRegistry 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.
  • Solidity invariant + upgrade tests — handler-based invariants (nonce
    monotonicity, ID uniqueness, paused-rejects-writes at 256×128 depth) and
    UUPS upgrade state-preservation tests; 189 contract tests total.
  • Configurable MAX_ATTESTATIONS_PER_PRODUCT — governor-settable within
    [16, 4096], default 256, with change event.
  • Frontend wallet gating — /dashboard and /vendors require a connected
    wallet with a recognized role; real admin detection via on-chain
    hasRole(DEFAULT_ADMIN_ROLE) read (UI hint only).
  • Mobile + accessibility E2E — Playwright desktop/mobile projects,
    axe-core wcag2a/2aa assertions on public pages.
  • Code splitting — provenance graph client-isolated via next/dynamic
    (ssr:false), planning panel lazy-loaded on dashboard.
  • Multi-provider IPFS pinning — Pinata + Kubo + web3.storage behind
    QTRUST_IPFS_PROVIDERS, best-effort replication, CID-mismatch warnings.
  • Property-based tests — 19 hypothesis tests: CBOM-hash determinism,
    VC round-trip/tamper, DID grammar, risk monotonicity, evidence-chain
    tamper detection (found + fixed a head-truncation bug in verify_chain).
  • Alerting — Prometheus alert rules (API errors/p99, indexer lag,
    RPC-pool health, relay 429 surge) + AlertManager service.
  • Observability gauges — indexer_lag_blocks,
    rpc_pool_unhealthy_endpoints.
  • Operations docs — incident-response runbook (incl. pause + relayer-
    compromise playbooks), backup/restore drill, step-by-step Base Sepolia
    deployment guide, k6 smoke/stress load-test scripts.
  • Engineering hygiene — CODEOWNERS, PR/issue templates, ADRs 0000–0006,
    CBOM↔CycloneDX conformance mapping doc, inspector dependency graph.

Added

  • Real AST-based detection — Python analysis via the stdlib 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.
  • Real PCAP TLS extraction — pure-stdlib pcap/pcapng reader with TCP
    reassembly-lite and full ClientHello/ServerHello parsing: cipher suites,
    negotiated groups (incl. X25519MLKEM768), SNI. HNDL scoring now derives
    from the actual negotiated suite instead of worst-case defaults.
  • Zeek/Suricata log ingestion — analyze_zeek_ssl_log and
    analyze_suricata_eve normalize network TLS telemetry into flow records.
  • Binary artifact scanning — ELF/PE/Mach-O crypto-library fingerprinting
    (OpenSSL/BoringSSL/liboqs/...), JAR/WAR/APK/wheel/gem inspection,
    embedded PEM detection; wired into CLI/API/MCP.
  • Benchmark corpus + CI gate — labeled ground-truth fixtures with
    precision/recall thresholds enforced in pytest (first published evaluation
    harness in the PQC-scanning space).
  • EAS schema publication kit — three PQC-compliance attestation schemas
    (compliance, vendor readiness, migration milestone) with field mappings
    from Q-Trust registries plus a Foundry registration script for EAS on Base.
  • FIPS parameter-set validator — conformance module now executes real
    spec-table checks (PASS/FAIL) against FIPS 203/204/205 constants,
    reserving SKIP strictly for external KAT/ACVP items; corrected stale
    ML-DSA constants to final FIPS values.

Fixed

  • Deployment integrity — docker-compose fail-fast credentials (no more
    empty-password Postgres/Redis), loopback-only DB/Redis ports,
    service healthchecks; backend image bundles Python + inspector so
    /v1/scan/* works in containers; evidence chain persists across restarts
    (append-only JSONL store); planner serves explicit heuristic mode instead
    of placeholder model weights.
  • Package honesty — inspector renamed 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.

Changed — Stack Migration (2026-08)

  • Frontend wallet stack — replaced custom 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.
  • Backend API surface — @fastify/helmet security headers (HSTS,
    nosniff, frameguard); @fastify/swagger + swagger-ui serving OpenAPI at
    /docs (44 paths); TypeBox JSON-Schema validation on scan/evidence/
    risk/compliance/credential routes replacing manual field checks.
  • SDK — web3.py 7.x (audited: already v7-clean API usage);
    cryptography pinned >=43,<45.
  • Planner — torch pinned >=2.5,<3.0; non-root Dockerfile USER;
    Redis sliding-window rate limiter (ZSET pipeline) with graceful
    in-memory fallback across uvicorn workers.
  • RPC reliability — multi-endpoint failover pool (QTRUST_RPC_URLS)
    with round-robin rotation and 60s health cooldown for attestation +
    indexer viem clients.
  • Component primitives — Radix UI tabs/dialog/select + cva-based
    Button/Card/Badge primitives; scanner dashboard refactored as proof.
  • Observability — prom-client /metrics endpoint with HTTP request
    duration histogram; Prometheus + Grafana (provisioned datasource) added
    to compose on loopback ports; Sentry (backend, DSN-gated no-op).
  • CI completeness — Dependabot (6 ecosystems, grouped); gitleaks
    secret scanning; forge verify-contract job (guarded, push-to-main);
    coverage reporting (pytest-cov + forge coverage → Codecov).

Deferred (documented, not forgotten)

  • Arweave/Walrus storage migration, full 11→EAS contract consolidation
    (schema kit + registration script shipped), ERC-4337 paymaster,
    WebAuthn/passkey auth, Drizzle migrations, Postgres HA — tracked as
    P2 strategic items in the stack-migration checklist.

Added — GPU-Accelerated Features (2026-08)

Six CUDA features activated on A100-class hardware (QTRUST_GPU_ENABLED=true,
/v1/gpu/*; see docs/GPU_FEATURES.md, Makefile.gpu):

  • Large-scale GNN training — MigrationGNNv3 (256-dim hidden, 8 GAT heads,
    4 layers) with BF16 mixed precision; quick run already reaches val
    Kendall τ 0.66 vs the audit-flagged 0.387 baseline. Fixed ListMLE
    (log-cumsum-exp), vectorized Kendall τ.
  • Timing side-channel analysis — CNN distribution-shape detector
    (sorted-trace + skew/kurtosis channels) with held-out calibration;
    clean → VERIFIED, leaking ≥0.1σ → HIGH_RISK. Redesigned the provided
    simulator, whose original leakage model was mathematically undetectable
    (sub-σ shift vs within-group width); raw-trace input allowed seed
    memorization — both fixed and documented honestly.
  • Quantum threat estimation — Shor simulation via qiskit-algorithms when
    available, honest classical fallback otherwise (the provided code used
    qiskit ≤0.x APIs removed in 1.0).
  • RL migration agent — REINFORCE actor-critic over a DAG migration
    environment (cycle-free fix); /rl/plan planner endpoint decodes plans,
    reporting rl_policy or heuristic_fallback truthfully.
  • Parallel enterprise scanning — async multi-host scanning with SSRF
    validation and optional GPU-batch risk scoring.
  • CBOM anomaly detection — VAE with per-CBOM threshold calibration
    (per-asset percentile would flag ~98% of normal CBOMs by construction);
    untrained scoring now raises instead of returning garbage.

Backend: stdin-JSON bridge (`back...

Read more