Skip to content

v0.6.1

Choose a tag to compare

@cargopete cargopete released this 22 Jul 17:50
· 4861 commits to main since this release
1b71ee8

Audit hardening patch. A full-repo audit (correctness, security, determinism, concurrency, coverage, supply-chain) - every finding fixed here or tracked. No API or schema changes; a drop-in upgrade from 0.6.0.

Correctness

  • Warm-restart view rebuild no longer double-counts balances and compliance flags after a crash in the seal-to-prune window (the cold fold is now bounded to the sealed watermark, so it can't overlap the hot replay).
  • Reorg rollback and the last-block watermark reset now commit in one transaction. A crash between them could otherwise strand the watermark past the fork and leave a permanent silent gap in the indexed range.

Security

  • /sql now caps cumulative result bytes (64 MiB), not just rows. A wide-cell SELECT could otherwise materialise unbounded Rust-side, breaching the per-cursor RAM budget and, in a roost, OOM-killing co-tenants.
  • /sql refuses DuckDB replacement scans (FROM '/path') that read a file with no function name for the denylist to match; parquet_metadata/schema/kv_metadata are denylisted.
  • RPC URLs (which embed API keys) are redacted in failure logs.
  • An empty NUTHATCH_ADMIN_TOKEN= is treated as unset (it was a null credential off-localhost).
  • Nest-config ABI paths are traversal-guarded.

Robustness and determinism

  • A dead IVM circuit thread now fails the ingest loop loudly, instead of silently serving frozen (and, for compliance, wrong) data as if healthy.
  • Seal-direct backfill sorts rows by (block, log_index) before sealing, so a segment's content hash is independent of RPC-provider log order.

Housekeeping

  • object_store deduped (optional dep 0.11 -> 0.12, to match dbsp). Regression tests added; zero unsafe; no license/ban changes.

Full audit report and the tracked tail live in issues #147 and #150.