Repository navigation
Description
Observed security blocker — 2026-11-23
In Hypatia's PR #1216, the Security workflow for commit 2f33a88cf8bf26ed4c34d6e0d941a45850ab633e failed in both Rust License & Ban Check (cargo-deny) and Rust Dependency Audit (cargo-audit). Both report:
- RUSTSEC-2026-0592 — stack overflow in
Url::origin()when nestedblob:URLs are processed. - Dependency at
Cargo.lock:url 2.5.8. - Advisory explicitly identifies url >= 2.5.9 as the fixed family and suggests
cargo update -p url. - Direct/transitive consumers include Hypatia adapters and infrastructure crates; determine whether any reachable
origin()path handles untrusted input. Even where reachability is unknown, the independently-red CI gate remains a blocker.
Reference job IDs and evidence:
Rust License & Ban Check: job 137434416822.Rust Dependency Audit: job 137434416902.- RustSec primary: https://rustsec.org/advisories/RUSTSEC-2026-0592
Provenance: Neither review PR #1216 nor collector PR #1218 modifies the Rust dependency lock or direct Cargo dependencies. The failure is observed on the review branch, but these PRs did not introduce the lock entry. Do not describe this as resolved, or weaken audit to obtain a pass. Historical main-branch CI status and impact/reachability have not been independently established in this work session.
Repair work order
- Reconfirm the current default-branch
Cargo.lockand existing open security-fix PRs, avoiding duplicate ownership. - With pinned Rust tooling, test
cargo update -p url --precise 2.5.9or a newer compatible fixed release. Inspect the dependency graph and inspect lockfile diff; do not hand-edit Cargo.lock. - Test the Rust workspace and dependent integration/tests. Ensure no unwanted downgrade or broad lock churn, preserve reproducibility.
- Run cargo-deny and cargo-audit and record version, advisory DB revision, exit status and exact commit. Distinguish the 1 vulnerability from separately reported unmaintained-crate warnings (not silently reclassified).
- Require a separately reviewable PR; do not put the Rust upgrade in the unrelated Hypatia external-review intake PR.
- Once independently verified, evaluate whether this blocker affects release/merge eligibility for feat(review): non-authorising external observations and read-only GitHub collector #1216 and feat(review): bounded read-only GitHub bot-review collector #1218; no bypass or false pass.
Acceptance: url resolution is fixed across all relevant Rust lock entries and both independent security jobs return success for the patch's exact commit, with no regression in workspace tests.
Activity
whatproblem-ai commentedon Nov 23, 2026
The job IDs, exact commit, and the named fixed release (
url >= 2.5.9) mean someone can pick this up and verify it without guessing.In short,
Cargo.lockpinsurl 2.5.8, which is affected by RUSTSEC-2026-0592 (stack overflow inUrl::origin()on nestedblob:URLs). Both cargo-deny and cargo-audit fail on #1216's commit2f33a88, even though neither #1216 nor #1218 touched Rust dependencies. The fix should be a separate PR that bumpsurlthroughcargo updatewith minimal lock churn. Both audit jobs must pass on that exact commit, and the gates must not be weakened.One scoping question: does "all relevant Rust lock entries" mean only the root workspace
Cargo.lock, or do some adapter or infrastructure crates keep their own lockfiles that also need the bump?🏆 Clarity Score: 93% - Great detail! 💫
⌨️ Commands · 💬 Have feedback? Tell us · 🎯 New here? Add WhatProblem to your repo · 🔒 Privacy
hyperpolymath commentedon Nov 23, 2026
Update: pre-existing status now verified at source. I fetched
Cargo.lockfrommain,feat/review-observation-admission-20261123andfeat/review-github-collector-20261123. All three have the identical Git blob SHA30d41a9fb72dfdfcbd4f73398649e7f2ccf4cb5cand resolveurl 2.5.8. Thus the relevant vulnerable lockfile was present before either review-intake branch, not introduced by #1216 or #1218. The Rust security job on #1216 correctly failed on RUSTSEC-2026-0592, and no bypass has been made. Remediation with a tool-generated lock update and independent Rust/Security checks is still outstanding.whatproblem-ai commentedon Nov 23, 2026
The matching blob SHA
30d41a9f…onmainand both review branches confirmsurl 2.5.8predates #1216 and #1218. The fix therefore belongs onmain, and the review branches should pick it up by rebasing or merging, not through their own lock edits. Since you refer to a single shared lockfile, I'm treating the rootCargo.lockas the only one in scope unless you say otherwise.✅ Nothing further needed. Clarity: 90%
⌨️ Commands · 💬 Have feedback? Tell us · 🎯 New here? Add WhatProblem to your repo · 🔒 Privacy
hyperpolymath commentedon Nov 23, 2026
Attempted isolated dependency repair (2026-11-23)
I confirmed the authorized WSL workstation has Cargo 1.85.1 and a clean local Hypatia checkout whose root Cargo.lock Git blob is exactly
30d41a9fb72dfdfcbd4f73398649e7f2ccf4cb5c— identical to the remote main branch's affected lockfile. Created a detached, isolated worktree under/home/hyperpolymath/developer/worktrees/hypatia-rustsec-20261123; the original checkout was untouched.Executed:
Result: NOT FIXED. Cargo returned
error: no matching package named hmac found(offline crates.io index lackshmac, required byhypatia-adapters), exit 1. After the attempt,git status --shortwas empty and Cargo.lock still had the original exact Git blob; no fake/generated lockfile, no manual checksum edits, no audit waiver, no new PR. WSL general GitHub HTTPS resolution also failed (Could not resolve host: github.com), while the authenticated GitHub REST API was available viagh api; ordinary registry access therefore cannot be presumed.Remaining dependency: run the same targeted
cargo update -p url --precise 2.5.9in a properly networked runner with crates.io sparse-index access (or a complete authenticated offline cargo cache), inspect exact lockfile diff, run Rust workspace tests, cargo-deny and cargo-audit on the generated revision, then open a separate security PR and pick it into #1216. Do not substitute a hand-edited Cargo.lock or claim the advisory resolved.This is an environmental access/cache blocker, not evidence that
urlcannot be updated compatibly.hyperpolymath commentedon Nov 23, 2026
2026-11-23 resolution progress: targeted lock update generated; security CI pending
The previous WSL offline attempt failed because its crates.io cache lacked
hmac. The authorised Windows host, however, successfully retrieved the crates.io index and ran Cargo 1.99.1 against a fresh, isolated clone ofmainatd158aed87f76b93e4f291e995bef9f26559c7fb2:Both completed successfully. A full byte comparison with
mainshowed only four generated lockfile lines changed:url2.5.8→2.5.9 and checksum,form_urlencoded1.2.2→1.2.3 and checksum. Original blob30d41a9fb72dfdfcbd4f73398649e7f2ccf4cb5c; updated blobd8c0f251afd6bea8ec7b4f48983eb58d1bba4234.Separate draft security PR: #1225, based directly on
main, modifies only Cargo.lock. No manual checksum edits, manifest edits, rule bypasses, suppression or weakening of audits.Still open/blocked: the Linux CI workspace tests and both real Security jobs on the exact PR head must pass. Only after an independent merge into
mainshould #1216/#1220 refresh their base. This comment does not claim the vulnerability fixed in the default branch yet.hyperpolymath commentedon Nov 23, 2026
Security verification update (2026-11-23): draft PR #1225 generated and commits the exact lockfile update
url 2.5.8 -> 2.5.9,form_urlencoded 1.2.2 -> 1.2.3, with corresponding registry checksums only. Its Security workflow run 45150576721 has now completed successfully: Rust Dependency Audit, Rust License & Ban Check, CodeQL, Trivy container scan, secret checks, licence check, SBOM, and Security Status roll-up all green, no waivers. The GitHub CI and Rust workspace workflows are still completing, and this fix remains unmerged; issue stays open until integration intomainand revalidation of dependent #1216/#1220.feat(review): read-only pre-commit.ci check-run admission (S-04) (#1226)