Skip to content

Point candle-core at patched zip 9.0.3 - #353

Merged
lazyxeon merged 2 commits into
mainfrom
cursor/candle-zip-9-a959
Oct 17, 2026
Merged

lazyxeon merged 2 commits into
mainfrom
cursor/candle-zip-9-a959

Conversation

@lazyxeon

@lazyxeon lazyxeon commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Description

cargo audit fails every pull request on zip 1.1.4: yanked, and named by RUSTSEC-2026-0367, RUSTSEC-2026-0368, and RUSTSEC-2026-0369. Those three are patched in zip >= 9.0.0.

candle-core 0.8.4 is the only parent. Its requirement is zip 1.1.1 with default features off. Published candle through 0.11.0, and current candle main, still depend on zip 8.6.0, which is also below the patched line. There is no crates.io candle release to bump onto.

third_party/candle-core is crates.io 0.8.4 with the dependency pinned to =9.0.3, the same release the workspace already uses for asset packs. The read path now treats entry names as Result<Cow<str>>. npz writes use SimpleFileOptions and CompressionMethod::Stored, which is what 0.8.4 wrote. Cargo.lock no longer contains zip 1.1.4. zip 9.0.3's checksum is unchanged. No audit ignore was added.

cargo audit exits 0. The remaining note is a yanked warning for inout 0.2.3, which was already a warning and is not one of these three advisories.

Local checks: cargo check -p astraweave-llm --features phi3 --locked and cargo check -p astraweave-embeddings --features candle --locked finished. npz_roundtrip_stored_entries passed against zip 9.0.3. Replay hashes are not touched.

Why third_party/candle-core exists

Candle upstream does not yet depend on zip >= 9, so the yanked 1.1.4 crate cannot be removed by a version bump. This directory is crates.io candle-core 0.8.4 with that one dependency pinned to the workspace's zip 9.0.3. Delete third_party/candle-core and the [patch.crates-io] entry once candle upstream depends on zip >= 9. The same note is in Cargo.toml, .cargo/audit.toml, and docs/current/ARAVATH_DISTRIBUTION.md.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Security enhancement

Security Considerations

  • Does this PR introduce new dependencies? No. It vendors candle-core 0.8.4 and points that copy at the existing zip 9.0.3.
  • Does this PR modify how user input is handled? No.
  • Does this PR change authentication or authorization mechanisms? No.
  • Does this PR access sensitive data or modify how it's stored? No.
  • Does this PR introduce new network communication or modify existing protocols? No.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
Open in Web Open in Cursor 

candle-core 0.8.4 through 0.11.0, and current candle main, require zip
before 9. zip 1.1.4 is yanked and is the crate named by
RUSTSEC-2026-0367, 0368, and 0369. Those advisories are patched in
zip >= 9.0.0. The workspace already uses 9.0.3 for asset packs, so the
patched candle-core is pinned to that same release. No audit ignore.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: lazyxeon/AstraWeave/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a949e01-66a2-49c7-a98d-b402b5023a16
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

third_party/candle-core stays only until candle upstream depends on
zip >= 9. The distribution note, the patch comment, and the audit
comment all say that.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@lazyxeon
lazyxeon marked this pull request as ready for review October 17, 2026 02:07
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T02:16:48.617454Z 760c3f4 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lazyxeon
lazyxeon merged commit cbb314b into main Oct 17, 2026
32 checks passed
@lazyxeon
lazyxeon deleted the cursor/candle-zip-9-a959 branch October 17, 2026 02:07
cursor Bot pushed a commit that referenced this pull request Oct 17, 2026
#353 replaces yanked zip 1.1.4 with third_party/candle-core pinned to
zip 9.0.3. There is no audit ignore for RUSTSEC-2026-0367, 0368, or
0369. #324 stays open.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Oct 17, 2026
GitHub shows #324 closed. The fix is the vendored candle-core pin in #353.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
lazyxeon added a commit that referenced this pull request Oct 17, 2026
* docs: nineteen required replay cases after #332

greybox_checkpoint, quest_ticks, and persist_replay join the compare
job. README, the status pages, and the doc-lint fixture name all
nineteen. The greybox golden stays b6a9d5a2c5da28a6.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

* style: rustfmt the nineteen-case lint assertion

The pull-request gate failed cargo fmt on the new length check.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

* docs: vendored candle-core pins zip 9.0.3

#353 replaces yanked zip 1.1.4 with third_party/candle-core pinned to
zip 9.0.3. There is no audit ignore for RUSTSEC-2026-0367, 0368, or
0369. #324 stays open.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

* docs: #324 is closed by the zip 9.0.3 vendor

GitHub shows #324 closed. The fix is the vendored candle-core pin in #353.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
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.

2 participants