fix(deps): zip 9 and tantivy 0.27 (zstd 0.14), drop seven audit ignores #583

Merged
sharang merged 1 commits from fix/zip9-tantivy027 into main 2026-10-30 07:23:59 +00:00
Owner

Backlog t47.

Why:

  • zip 2.4.2 carried RUSTSEC-2026-0367/0368/0369.
  • zip and tantivy 0.25 (tantivy-sstable) both pinned zstd ^0.13, which kept RUSTSEC-2026-0391/0398/0403/0410 open. Two of these (0391, 0403) were accepted knowingly by the owner on 28 Oct until this bump.

What:

Crate Before After
zip 2.4.2 9.1.2
tantivy (+ sstable) 0.25.0 0.27.0
zstd / zstd-safe / zstd-sys 0.13.3 / 7.2.4 / 2.0.16 0.14.3 / 8.2.0 / 2.1.2, one version each in the lock

Code changes:

  • zip 9: ZipFile::name() and ZipArchive::file_names() return a ZipResult. The PLC SBOM reader (pipeline/plc/sbom.rs) skips an entry whose name doesn't decode, like an unreadable one. The evidence-pack test unwraps. The ingest archive walk, the pentest report archive and AES reading/writing compile unchanged.
  • tantivy 0.27: TopDocs is ordered explicitly (.order_by_score()) in compliance-graph/src/search/index.rs. The index lives in RAM (Index::create_in_ram), so there's no on-disk format to migrate.
  • .cargo/audit.toml: the three zip and four zstd ignores are removed. cargo audit passes; the remaining ignores are hickory (mongodb) and rmcp, unchanged.

Checks (locally):

  • cargo fmt clean.
  • clippy -D warnings clean for every crate CI lints: core, agent, dashboard server, mcp, werkbank-exec, control-map.
  • Lib tests pass (core, agent 954, werkbank-exec, control-map, graph).
  • Core integration tests pass.
  • Agent integration tests (not in CI) against a podman MongoDB: the archive and upload tests pass. A few stats/dast tests fail on main too: /api/v1/stats/overview answers data: null there as well. That's pre-existing, unrelated to this bump, and worth its own look.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4

Backlog t47. **Why:** - zip 2.4.2 carried RUSTSEC-2026-0367/0368/0369. - zip and tantivy 0.25 (tantivy-sstable) both pinned zstd `^0.13`, which kept RUSTSEC-2026-0391/0398/0403/0410 open. Two of these (0391, 0403) were accepted knowingly by the owner on 28 Oct until this bump. **What:** | Crate | Before | After | |---|---|---| | zip | 2.4.2 | 9.1.2 | | tantivy (+ sstable) | 0.25.0 | 0.27.0 | | zstd / zstd-safe / zstd-sys | 0.13.3 / 7.2.4 / 2.0.16 | 0.14.3 / 8.2.0 / 2.1.2, one version each in the lock | Code changes: - **zip 9:** `ZipFile::name()` and `ZipArchive::file_names()` return a `ZipResult`. The PLC SBOM reader (`pipeline/plc/sbom.rs`) skips an entry whose name doesn't decode, like an unreadable one. The evidence-pack test unwraps. The ingest archive walk, the pentest report archive and AES reading/writing compile unchanged. - **tantivy 0.27:** `TopDocs` is ordered explicitly (`.order_by_score()`) in `compliance-graph/src/search/index.rs`. The index lives in RAM (`Index::create_in_ram`), so there's no on-disk format to migrate. - **`.cargo/audit.toml`:** the three zip and four zstd ignores are removed. `cargo audit` passes; the remaining ignores are hickory (mongodb) and rmcp, unchanged. **Checks (locally):** - `cargo fmt` clean. - clippy `-D warnings` clean for every crate CI lints: core, agent, dashboard server, mcp, werkbank-exec, control-map. - Lib tests pass (core, agent 954, werkbank-exec, control-map, graph). - Core integration tests pass. - Agent integration tests (not in CI) against a podman MongoDB: the archive and upload tests pass. A few stats/dast tests fail **on main too**: `/api/v1/stats/overview` answers `data: null` there as well. That's pre-existing, unrelated to this bump, and worth its own look. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang added 1 commit 2026-10-29 19:09:11 +00:00
fix(deps): zip 9 and tantivy 0.27 (zstd 0.14), drop seven audit ignores
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 22m26s
031cc3c098
zip 2.4.2 carried RUSTSEC-2026-0367/0368/0369 and both zip and tantivy
0.25 pinned zstd ^0.13 (RUSTSEC-2026-0391/0398/0403/0410, two of them
accepted knowingly until this bump). Backlog t47.

- zip 9.1.2: ZipFile::name() and file_names() now return a ZipResult.
  The PLC SBOM reader skips an entry whose name does not decode, like an
  unreadable one; the evidence-pack test unwraps.
- tantivy 0.27: TopDocs is ordered explicitly (order_by_score()).
- zstd 0.14.3, zstd-safe 8.2.0, zstd-sys 2.1.2: one version each.
- .cargo/audit.toml: the three zip and four zstd ignores are gone;
  cargo audit passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang merged commit 0cbabb73fd into main 2026-10-30 07:23:59 +00:00
Sign in to join this conversation.