Skip to content

fix: Patch Rust and npm security advisories - #200

Merged
ecv merged 3 commits into
mainfrom
fix/security-advisories
Oct 25, 2026
Merged

ecv merged 3 commits into
mainfrom
fix/security-advisories

Conversation

@ecv

@ecv ecv commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Eleven high advisories were open in the app's Rust and npm lockfiles, and this clears nine of them while also bumping tokio and rustls for the two Renovate PRs. Two stay open, one withdrawn without a fix and one needing a major version that breaks the DMG tool.

The Renovate PRs failed the image build because two architecture builds raced on one cargo cache, now locked. Bundle versions also gain a letter before the commit hash, since an all-digit hash with a leading zero broke the bundle job.

Test plan

  • Workspace check and tests pass
  • Image and bundle builds pass

ecv added 2 commits October 24, 2026 21:30
The amd64 and arm64 image builds share one cargo registry cache mount.
When both unpack the same crate at once, one fails with "File exists"
on .cargo-ok, which is what turned the tokio and rustls security bumps
red. A locked mount makes the two builds take turns.
Eleven high advisories were open across the Rust and npm lockfiles.
ui/Cargo.lock was an orphan of the cargo workspace, which resolves
from the root Cargo.lock, so it is removed rather than patched.

- quinn-proto 0.11.14 to 0.11.15
- openssl 0.10.78 to 0.10.79
- rustls-webpki 0.103.13 to 0.103.16, via rustls 0.23.46
- tokio 1.52.1 to 1.53.3
- picomatch 2.3.1 to 2.3.2 and source-map-js 1.2.1 to 1.2.2 in ui
- braces and image-size stay: braces is withdrawn with no fix, and
  image-size 2 breaks appdmg, which has no newer release
@ecv
ecv requested review from kevwilliams and scotwells October 25, 2026 04:30

@kevwilliams kevwilliams 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.

Hold: the bundle (ubuntu-latest) check fails on this head.

Untagged builds are versioned as the date plus the short commit SHA. A
SHA of seven digits starting with zero is an invalid numeric pre-release
identifier, so cargo rejects the manifest and the bundle job fails on
that commit. A leading letter makes every SHA a valid identifier.
@ecv
ecv requested a review from kevwilliams October 25, 2026 04:54

@kevwilliams kevwilliams 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.

Diff exceeds auto-review threshold (8168 lines). Flagging for human review.

@ecv
ecv merged commit d8da2eb into main Oct 25, 2026
9 checks passed
@ecv
ecv deleted the fix/security-advisories branch October 25, 2026 04:58
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.

3 participants