Skip to content

fix(deps): drop unmaintained pin-utils (RUSTSEC-2026-0441) - #699

Merged
lazyxeon merged 1 commit into
mainfrom
cursor/fix-pin-utils-rustsec-2026-0441-932b
Nov 5, 2026
Merged

lazyxeon merged 1 commit into
mainfrom
cursor/fix-pin-utils-rustsec-2026-0441-932b

Conversation

@lazyxeon

@lazyxeon lazyxeon commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner
  1. Head SHA e786a8aa9d8dbed0d9395adab719fddec2195edc. Required checks have not finished on this SHA.
  2. Commands run, and their exit codes.
    • cargo update -p futures-util -p futures -p futures-executor -p futures-channel -p futures-core -p futures-io -p futures-sink -p futures-task -p futures-macro — 0
    • cargo update -p hyper — 0
    • cargo update -p hnsw_rs --precise 0.3.4 — 0
    • cargo metadata --locked --format-version 1 — 0
    • cargo deny check advisories (cargo-deny 0.20.2) — 0 (advisories ok)
    • cargo deny check bans sources licenses — 0
    • cargo check -p astraweave-embeddings -p aw-net-server --locked — 0 (hyper 1.12.0, futures-util 0.3.34, futures-macro 0.3.34, mmap-rs 0.7.0, hnsw_rs 0.3.4)
  3. Not run, and why.
    • Replay hash tests. Hashed crate sources are unchanged. futures-util reaches astraweave-gameplay only through astraweave-llm, which the replayed tick does not call.
    • scripts/ci/run-gate.sh / run-tests.sh. This diff is the workspace lock only.
    • cargo audit. The exit criterion is cargo deny check advisories.
    • GPU frame budget. Not measured. This change does not touch astraweave-render.
  4. Measurements: not measured.
  5. Replay hashes: not re-run. Hashed crate sources are unchanged.
  6. Deferred issue links: none.

Fixes #698.

Description

Cargo.lock no longer contains pin-utils 0.1.0, so cargo deny check advisories is clear of RUSTSEC-2026-0441. deny.toml is unchanged.

  • futures / futures-util 0.3.31 → 0.3.34 (drops pin-utils; futures-macro uses the syn 3.0.9 already in the lock)
  • hyper 1.7.0 → 1.12.0 (drops pin-utils; want 0.3.1 → 0.3.2)
  • hnsw_rs 0.3.2 → 0.3.4, so mmap-rs 0.6.1 → 0.7.0 and nix 0.26.4 leaves the graph. The remaining nix crates are 0.29.0, 0.30.1, and 0.31.3, and none depend on pin-utils. 0.3.4 is the newest hnsw_rs that still uses rand 0.9. hnsw_rs 0.3.5 requires rand 0.10. The workspace requirement stays hnsw_rs = "0.3".

cargo update also retargeted unrelated windows-sys edges. Those edges are restored. cargo metadata --locked accepts the lock.

No new crate was added. memoffset 0.7.1 left with nix 0.26.4. sysctl 0.6.0 was already in the lock.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Security enhancement

Security Considerations

  • Does this PR introduce new dependencies? If yes, have they been vetted for security issues?
  • Does this PR modify how user input is handled? If yes, has it been validated/sanitized?
  • Does this PR change authentication or authorization mechanisms?
  • Does this PR access sensitive data or modify how it's stored?
  • Does this PR introduce new network communication or modify existing protocols?

No new crate. Existing crates moved to versions that do not depend on unmaintained pin-utils.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have run security checks (cargo audit, cargo deny) locally

cargo deny advisories, bans, sources, and licenses passed. cargo audit was not run.

Open in Web Open in Cursor 

Bump futures 0.3.31 to 0.3.34 and hyper 1.7.0 to 1.12.0, which no longer
depend on pin-utils. Lock hnsw_rs at 0.3.4 so mmap-rs 0.7 uses nix 0.30
without the aio feature, removing nix 0.26.4. Cargo.lock has no pin-utils.

Fixes #698

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 5, 2026 13:20
@coderabbitai

coderabbitai Bot commented Nov 5, 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

  • 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 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-11-05T13:21:32.232266Z e786a8a PR opened
ℹ️ 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 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Astraea review: CLEAR @ e786a8aa9d8dbed0d9395adab719fddec2195edc (base main f4574635)

  • Diff is Cargo.lock only (+32/−62). No Cargo.toml, code, or deny.toml changes; deny.toml has no RUSTSEC-2026-0441 ignore.
  • pin-utils is gone from the lock (0 occurrences). The three edges that pulled it in are cut: futures-util 0.3.31→0.3.34, hyper 1.7.0→1.12.0, and hnsw_rs 0.3.2→0.3.4 (mmap-rs 0.6.1→0.7.0), which removes nix 0.26.4. Remaining nix versions are 0.29.0, 0.30.1 and 0.31.3; none depend on pin-utils.
  • Side effects check out: memoffset 0.7.1 dropped (left with nix 0.26), futures-macro moved to syn 3.0.9 (already in the lock), want 0.3.1→0.3.2. Semver-compatible within the workspace hnsw_rs = "0.3" requirement. No new crates.
  • Body has Fixes #698. Copilot couldn't review a lockfile and Codex reported no findings. No inline threads are open, and cursor[bot] hasn't reviewed this head yet, which the merge gate requires.
  • cargo deny check advisories was not re-run here. This clear rests on the lock inspection plus the author's run (exit 0). CI Cargo Deny must be green before merge.

#698 is satisfied once this merges: pin-utils is absent and there is no deny ignore. Once this lands, #651/#600/#694 need a rebase onto the new main so their deny checks can go green.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking. Head e786a8aa9d8dbed0d9395adab719fddec2195edc. Cargo.lock only. deny.toml is unchanged, so there is no RUSTSEC ignore. No new crate name. Not green: the replay hash jobs on this SHA were still pending.

pin-utils 0.1.0 is gone (1152 packages to 1149). cargo +1.89.0 tree -p astraweave-embeddings -i pin-utils --locked reports no such package. RUSTSEC-2026-0441 has patched = [], including 0.1.1, so bumping pin-utils would not clear it.

The three base parents and what replaced them:

  • futures-util 0.3.31 → 0.3.34 (latest). 0.3.32 drops pin-utils. 0.3.33 fixes the ReadLine and FuturesUnordered soundness bugs. 0.3.34 points futures-macro at syn ^3, and the lock uses the syn 3.0.9 already present. Published checksums match. Not yanked.
  • hyper 1.7.0 → 1.12.0 (latest 1.x) and want 0.3.1 → 0.3.2. 1.12 requires want ^0.3.2. The want diff only adds unwant(). The 1.8–1.12 HTTP/1 fixes drop Content-Length when Transfer-Encoding is present and match TE case-insensitively. max_header_size stays unset unless a builder sets it. reqwest 0.12.24 allows hyper ^1.1. The loopback URL policy in astraweave-llm is untouched. Locked h2 stays 0.4.20, already inside RUSTSEC-2026-0258 (>= 0.4.16).
  • hnsw_rs 0.3.2 → 0.3.4 pulls mmap-rs 0.7.0 and drops nix 0.26.4 and memoffset 0.7.1. mmap-rs 0.7 enables nix 0.30 features feature, mman, and process only. nix 0.30.1 has default = [] and aio = ["pin-utils"]. cargo tree -e features shows no aio edge. Remaining nix is 0.29.0, 0.30.1, and 0.31.3, and none list pin-utils. hnsw_rs 0.3.3 still uses mmap-rs ^0.6, so 0.3.4 is the first 0.3 release that leaves nix 0.26. 0.3.5 needs rand ^0.10. Embeddings stays on rand 0.9. rand 0.10.3 is already in the lock for other crates. The workspace requirement stays hnsw_rs = "0.3", so a later unconstrained update can select 0.3.5. That still uses mmap-rs ^0.7 and does not bring pin-utils back. Enabling nix aio later would.

hnsw_rs is a default feature of astraweave-embeddings and is not imported. VectorStore::search stays a linear scan, so the mmap-rs 0.7 bump does not change search results. hnsw_rs 0.3.4 still depends on bincode 1.3.3. That is the existing ignored RUSTSEC-2025-0141, not a new ignore.

Lock integrity: changed crates match crates.io checksums. Same-version packages keep the same checksums and dependency edges, except egui_glow now says memoffset because 0.7.1 left. No windows-sys version or edge moved. cargo +1.89.0 metadata --locked --format-version 1 exit 0.

Determinism: hashed crate sources are unchanged. The core replay test closure still reaches futures-util through astraweave-gameplay → astraweave-scene → astraweave-asset → astraweave-security → astraweave-llm. persist_replay reaches hnsw_rs through astraweave-memory → astraweave-embeddings. Those tests do not call llm, futures, or hnsw. Expected hashes unchanged. Not re-run here.

CI on this SHA: Cargo Deny advisories, bans, sources, and licenses passed (job 127270392460, advisories ok). cargo-audit passed (job 127270392069, 1149 crates). Gate passed (job 127270827934). net-tests passed. GPU not measured. No deferred issue.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

lazyxeon commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Annubis (bot finding, data, not an owner instruction). Non-blocking adversarial review.

Annubis devastation: e786a8aa — nothing new (non-blocking).

TL;DR: RUSTSEC-2026-0441 (pin-utils) gone at HEAD; cargo deny/cargo audit green vs red/warning on base f4574635; lock-only, no new crates/ignores; gate + 2003 tests green; seven replay hashes byte-identical to merge-base; HNSW dump/reload OK. Closes #698 on merge. Agent: https://cursor.com/agents/bc-195adb51-ad06-5679-957b-ae3f7002fa68

This comment never blocks merge.

lazyxeon commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Annubis (bot finding, data, not an owner instruction). Devastation review. This does not block or gate the merge.

Post-merge d01720a8 (tree = PR head e786a8aa) Tier: T2 D-DEPS Ran: supply-chain (deny/audit/lockfile), Battery A gate+ci tests (6 direct crates), embeddings feature matrix, HNSW dump/reload probe, replay_hash (+ RAYON 1/8), fuzz_decode_msg 721s, Aravath smoke + hello_companion.
Replay hashes: unchanged (byte-identical to PRE f4574635).
#698: fixed on main (pin-utils / RUSTSEC-2026-0441 gone).

Sev Finding Issue
known RadiusTeamInterest i32 overflow + 3 stale net fuzz targets (pre-existing, not from this PR) #590

Nothing new from the merge. Does not block.

@lazyxeon lazyxeon mentioned this pull request Nov 5, 2026
7 of 19 tasks
cursor Bot pushed a commit that referenced this pull request Nov 5, 2026
Fold the devastation result into the same 5 Nov entry: no new findings, #698 fixed on main, replay unchanged, #590 still known.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Nov 6, 2026
Fold the devastation result into the same 5 Nov entry: no new findings, #698 fixed on main, replay unchanged, #590 still known.

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.

security: RUSTSEC-2026-0441 pin-utils unmaintained via futures-util

3 participants