Skip to content

Scope the neural audit around the zip 8.6 advisories Candle cannot avoid - #49

Merged
enaboapps merged 3 commits into
mainfrom
claude/44-zip-audit
Oct 17, 2026
Merged

enaboapps merged 3 commits into
mainfrom
claude/44-zip-audit

Conversation

@enaboapps

@enaboapps enaboapps commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes #44

neural-audit fails on main because zip 8.6.0 now carries RUSTSEC-2026-0367, RUSTSEC-2026-0368 and RUSTSEC-2026-0369. All three are patched only in zip 9, and candle-core 0.11.0, the newest release, requires ^8.6.0, so there is no semver-compatible lock file update. cargo update -p zip changes nothing.

What changes

  • .github/workflows/neural.yml ignores the three advisories beside the existing paste exception.
  • neural/SECURITY.md documents all four exceptions: the advisories concern extract() writing attacker-controlled archives to disk with kept SUID/SGID bits, permissions through symlinks and symlink targets outside the destination; Candle only reads .npz and pickle entries through ZipArchive::new and writes .npz through ZipWriter, never calling extract(), and the worker loads only the hash-pinned GGUF model. The exceptions are to be removed when Candle moves to zip 9.

The lock file, code and model outputs are unchanged, so the pinned-model tests and third-party notices need no regeneration.

Validation

  • The exact CI command passes locally with cargo-audit and a fresh advisory database.
  • The neural-audit job on this PR.

🤖 Generated with Claude Code

candle-core 0.11.0, the newest release, requires zip ^8.6.0, and the
fix for RUSTSEC-2026-0367 and RUSTSEC-2026-0369 is in zip 9. Candle
only reads archive entries and never extracts to disk, and the worker
loads only the pinned safetensors model, so the audit ignores the two
advisories and SECURITY.md records why.

Closes #44

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps enaboapps added this to the v0.5.0 milestone Oct 17, 2026
OwenMcGirr and others added 2 commits October 17, 2026 10:52
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps
enaboapps marked this pull request as ready for review October 17, 2026 11:08
@enaboapps
enaboapps merged commit e5aecca into main Oct 17, 2026
15 checks passed
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.

neural-audit fails on yanked zip 8.6.0 from candle-core

2 participants