Skip to content

Fix Research ZIP extraction advisories - #1163

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-zip-audit-maple
Oct 18, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-zip-audit-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

The nightly Research supply-chain check fails on RUSTSEC-2026-0367, RUSTSEC-2026-0368, and RUSTSEC-2026-0369 because the app and document parsers resolve vulnerable ZIP versions. Upgrade the document graph to ZIP 9.0.5 and exact-pin office_oxide 0.1.15, preserving the existing PDFOxide maintenance revision and ONNX loader policy.

Use the published tauri-plugin-updater 2.10.1 with default features disabled and rustls-tls explicitly enabled. Its optional legacy archive handlers pull ZIP 4; Maple publishes raw Windows NSIS installers and Linux AppImage/DEB/RPM packages, so those handlers are unused. The current release generator and artifact verifier enforce those raw formats. macOS .app.tar.gz support is unconditional and remains enabled. No vendored updater or updater source patch is needed. Future publication of Windows zipped installers or Linux .AppImage.tar.gz updates must re-enable compatible handlers first.

Adapt Word preflight to ZIP 9's fallible filename API and add regressions for main/ancillary symlinks, traversal paths, and canonicalization of privileged metadata while retaining valid document text.

Validation:

  • cargo-deny 0.20.2, unchanged Research policy, refreshed advisory database, all root features and locked graph: advisories and bans pass.
  • All-target feature tree resolves updater 2.10.1 from crates.io with rustls-tls only; its ZIP dependency is absent and the only remaining ZIP is 9.0.5.
  • Existing installer catalog suite: 33 pass, 133 assertions. A real-code smoke accepts current formats and rejects Windows .exe.zip and Linux .AppImage.tar.gz inventories with matching metadata URLs and consistent sizes/digests.
  • Native Rust suite on aarch64 macOS / pinned Rust 1.94.1 and amended-commit hook: 430 pass, 2 ignored with RUST_TEST_THREADS=1. DOC/DOCX/native PDF extraction contract tests and all Word archive regressions pass. The first simplified run hit the previously observed macOS login-shell deadline flake; that case passed in isolation and the full hook suite then passed.
  • cargo fmt and git diff --check pass.
  • Hosted CI at 320b38c: RustSec, Rust tests (424 passed, 1 ignored), Windows/Linux/macOS desktop packages and ResearchDev macOS, and downloaded Windows artifact verification pass. Fresh Android and iOS builds also pass.

The format smoke uses synthetic inventories and preserved nonempty signature fields; it does not verify cryptographic signatures or run installers. All selected hosted checks passed for the amended head. These are build/artifact checks; real updater installation, desktop UI, external model-backed OCR and mobile runtime remain untested.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@AnthonyRonning
AnthonyRonning marked this pull request as ready for review October 18, 2026 19:30
@AnthonyRonning
AnthonyRonning merged commit cbfa250 into master Oct 18, 2026
34 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-zip-audit-maple branch October 18, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant