Skip to content
This repository was archived by the owner on Dec 3, 2026. It is now read-only.

fix(deps): update rustls, rustls-webpki, tar, webpki-roots and crossbeam-epoch; turn on Renovate lock maintenance - #136

Merged
gold-silver-copper merged 2 commits into
mainfrom
fix/lockfile-security
Oct 31, 2026
Merged

gold-silver-copper merged 2 commits into
mainfrom
fix/lockfile-security

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes the 11 open Dependabot alerts on Cargo.lock and turns on Renovate lock-file maintenance so the lock stops going stale. Task: [[tasks/harmony-2945]] (part 1 of harmony-2905).

What changed

Cargo.lock: cargo update -p rustls -p rustls-webpki -p tar for the Dependabot alerts, then cargo update -p webpki-roots@1.0.5 -p crossbeam-epoch for two RustSec advisories that cargo audit still found and Dependabot hasn't raised yet. Nothing wider. Every version change:

Crate Before After Alerts fixed
rustls 0.23.36 0.23.46 GHSA-2mjx-qc3c-rqvc, GHSA-h2v8-394m-p7vv, GHSA-c8m5-c952-6cm4, GHSA-w44r-93j7-qv28
rustls-webpki 0.103.9 0.103.16 GHSA-82j2-j2ch-gfr8 (high), GHSA-pwjx-qhcg-rvj4, GHSA-965h-392x-2mh5, GHSA-xgp8-3hg3-c2mh; also RUSTSEC-2026-0382 (emSign)
tar 0.4.44 0.4.46 GHSA-j4xf-2g29-59ph, GHSA-gchp-q4r4-x4ff, GHSA-3pv8-6f4r-ffg2
webpki-roots (1.x) 1.0.5 1.0.11 RUSTSEC-2026-0381 (bundled roots trust distrusted emSign intermediates)
crossbeam-epoch 0.9.18 0.9.21 RUSTSEC-2026-0204 (invalid pointer dereference in fmt::Pointer)

All five are patch-level, semver-compatible updates from crates.io. No crate is added or removed, and their dependency lists don't change. All are in the shipped binaries: ureq → rustls → rustls-webpki, and ureq → webpki-roots for HTTPS and tar for plugin archives (all in meta_cli), and rayon → rayon-core → crossbeam-deque → crossbeam-epoch (rayon is used by loop_lib, loop_cli, meta_cli and meta_git_cli). webpki-roots 0.26.11 stays: it's the compatibility shim that re-exports 1.x.

One side effect: unlocking tar lets cargo re-pick which windows-sys version five Windows-only dependents point to. errno, is-terminal, rustix and tempfile now point at windows-sys 0.59.0 and winapi-util at 0.48.0, instead of 0.61.2. All four windows-sys versions (0.48.0, 0.52.0, 0.59.0, 0.61.2) were already in the lock and stay there, and each dependent's version range allows the one it now uses. Which windows-sys version cargo picks here is arbitrary (cargo update -p tar alone picks 0.52.0), and the next full cargo update will likely move them back to 0.61.2. I kept cargo's output rather than hand-editing the lock; Windows CI builds and tests it.

renovate.json: lockFileMaintenance enabled, on Renovate's default weekly schedule.

Why Renovate has been quiet

  • Not the config. renovate.json hasn't changed since 2025 and passes renovate-config-validator --strict.
  • It never updated Cargo deps here: until refactor!: move the child crates into this repo [[tasks/harmony-2901]] #135 the crates lived in child repos that were gitignored here, so the dashboard (#5) shows only GitHub Actions, asdf and rust-toolchain deps. With lockFileMaintenance off, nothing refreshed the root lock either.
  • It has also stopped processing this repo. Renovate edits the dashboard only when its content changes, and its last edit was 2026-08-16. But fix(build): install meta-mcp and loop; keep Cargo.lock in step at release #109 (2026-10-24) added dtolnay/rust-toolchain@stable to on-child-update.yml, and the dashboard still lists that file with one dependency. The app still runs on other gitkb repos (the gitkb-analytics, gitkb-ui and harmony-gitops dashboards were updated this week).
  • I couldn't find out why from here; it needs Mend's job logs or the app's installation settings, which this token can't read. Possible causes, none confirmed: the Renovate app lost access to gitkb/meta, Mend disabled or skips the repo, or its jobs for this repo fail before they reach the dashboard. An org admin can check https://developer.mend.io/github/gitkb/meta (logs) or the Renovate app's repository list. Ticking the "run again" box on Dependency Dashboard meta#346 would also show whether it still runs. Once it runs again, expect Cargo update PRs for the moved crates plus a weekly lock-maintenance PR.

Verification

  • cargo test -p meta -p loop_lib --locked (the crates that use ureq and tar, and one of the crates that use rayon): 313 passed. CI runs the rest.
  • cargo audit (cargo-audit built into a scratch dir, advisory DB fetched 2026-10-30): main's lock has 13 vulnerabilities; this lock has 0. Four warnings remain, none of them a vulnerability. I left them out to keep this PR to the alerts, and they're tracked as a follow-up in the task: anyhow 1.0.100 (unsound, RUSTSEC-2026-0190; fixed in 1.0.103, a patch update), scc 2.4.0 (unsound, RUSTSEC-2026-0205; test-only, through serial_test 3.3.1; serial_test 3.5.0 drops scc entirely and fits meta_git_lib's "3.0", so a lock refresh removes it), number_prefix and unsafe-libyaml (unmaintained, no fixed version).
  • renovate-config-validator --strict (renovate 43): "Config validated successfully".
  • CI runs the whole workspace on Linux, macOS and Windows.

Not checked

  • Renovate's behaviour after merge (needs the app to run on this repo).
  • Dependabot closes the alerts only once this is on main.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 5387d9e5-f90e-4d3c-b51d-dc4db368e504
Commits

Reviewing files that changed from the base of the PR and between 8d6e7e4 and f2d698f.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 395cd309-e370-444f-90b2-23311d2ac52b
Commits

Reviewing files that changed from the base of the PR and between 2a303c7 and 8d6e7e4.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 1
  • renovate.json

Included review availability: This review used your included allowance. 7 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour.

Walkthrough

The Renovate configuration now enables lock-file maintenance.

Changes

Renovate lock-file maintenance

Layer / File(s) Summary
Enable lock-file maintenance
renovate.json
The configuration adds lockFileMaintenance with maintenance enabled.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: mateodelnorte

Merge Risk: Minimal · previous review 8d6e7

The Renovate configuration change is ready to merge; runtime Renovate execution remains operational follow-up.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the dependency updates and the Renovate lock-file maintenance change, which match the pull request objectives.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the lock-file trail,
Renovate keeps the setting hale.
The config now says maintenance is on,
A tidy little task before dawn.
Soft paws hop past each line,
While locks stay in their proper sign.

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

@coderabbitai
coderabbitai Bot requested a review from mateodelnorte October 30, 2026 21:13
…es [[tasks/harmony-2945]]

Cargo.lock had rustls 0.23.36, rustls-webpki 0.103.9 and tar 0.4.44,
which the 11 open Dependabot alerts flag (GHSA-82j2-j2ch-gfr8 high).
cargo update -p rustls -p rustls-webpki -p tar moves them to 0.23.46,
0.103.16 and 0.4.46. No crate is added or removed.

Turn on Renovate lockFileMaintenance so the lock stops going stale:
nothing refreshed it, and the crates only arrived in this repo with #135.
…ries [[tasks/harmony-2945]]

cargo audit on the updated lock still found RUSTSEC-2026-0381 (webpki-roots
1.0.5 trusts distrusted emSign intermediates) and RUSTSEC-2026-0204
(crossbeam-epoch 0.9.18 invalid pointer dereference), both in the shipped
binary. cargo update -p webpki-roots@1.0.5 -p crossbeam-epoch moves them to
1.0.11 and 0.9.21. No Dependabot alert yet, but the same kind of fix.
@gold-silver-copper
gold-silver-copper merged commit 69d26f0 into main Oct 31, 2026
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant