Repository navigation
qntm v0.9.5
qntm 0.9.5 delivers the full-stack security, correctness, and hygiene remediations from the November 12, 2026 audit across the Python SDK/CLI/MCP, TypeScript client (@corpollc/qntm), API Gateway Worker, Relay Worker, Charter Registry, browser/terminal UIs, and agent adapters.
uvx qntm --help
pip install --upgrade qntm
npm install @corpollc/qntmHighlights
- Strict CBOR & Envelope Validation (
P0-1,P1-2): Enforce strict runtime byte-field type/length checks (_require_bytes), a 64 KiB pre-decode ceiling, and malformed-envelope skip handling across Python and TypeScript so crafted CBOR payloads cannot trigger pre-crypto memory exhaustion or stall receive cursors. - Gateway Origin Allowlists, Endpoint Binding & SSRF Protection (
P0-2,P1-6): Bindgate.secretvault credentials to explicitallowed_origins(derived from built-in services or configured origins), require exacttarget_endpoint === pathnameagreement, normalize HTTP verbs to uppercase across threshold lookup and execution, encode recipe{param}substitutions safely, and block non-HTTPS, loopback, link-local, RFC 1918, and cloud metadata IPs. - Charter Registry Hardening (
P0-3,P1-5e,P2-4,P2-8): Remove unauthenticated HTTPGET /backupfrom the TCP metrics listener in favor of atomic0600localsnapshot.dbfiles inside the0700data directory, bind Grafana to127.0.0.1with anonymous access disabled, enforce 64-bit integer bounds in JCS canonicalization, apply per-IP Nginx rate limiting, and upgrade the Go toolchain floor to Go 1.27.4 (GO-2026-6859). - Group & Gateway Membership Authority (
P1-1,P1-3): Require group-administrator signatures ongate.promote, enforce vote-proof verification for delegated gateway controls using deterministic envelope timestamps, protect group creators againstgov.appliedremoval and pre-genesis invite ordering, and serialize Pythonconversations.jsonmutations under an exclusive file lock. - Relay Hibernation, Rate Limiting & Monitoring (
P1-5,P2-7): Persist WebSocket authentication state across Durable Object hibernation, gate live broadcasts on completedauth_ok, normalize IPv6 rate-limit buckets to/64prefixes while exemptingGET /healthz, bound D1 replay metadata, and paginate monitor cursor recovery. - Browser UI, Terminal UI, Adapters & CI (
P1-4,P1-7,P2,P3): Route browser UI receive processing throughreceiveConversationEventandverifyGatewayMessage, strip terminal control sequences in TUI sidebars, harden OpenClaw/Channel/NanoClaw epoch and cursor state, pin GitHub Actions to 40-hex commit SHAs, and update Hono (4.13.18) and Playwright (1.65.0) dependencies.
See the November 2026 Full-Stack Audit for full technical details and regression test coverage.