Skip to content

Commit 66934aa

Browse files
bse-aiclaude
andauthored
patch certifi and desktop cargo advisories and fix the cargo-about install command (#16)
* patch certifi and desktop cargo advisories and fix the cargo-about install command - certifi 2026.6.17 -> 2026.10.19 in the harbor testbed uv.lock (GHSA-6q48-6c7w-9gw2, Dependabot alert block#101). The parent benchmark lock already took this bump in #13. - desktop/src-tauri/Cargo.lock: h2 0.4.15 -> 0.4.16 (RUSTSEC-2026-0258), rtrb 0.3.4 -> 0.3.5 (RUSTSEC-2026-0274) and the yanked chacha20 0.10.1 -> 0.10.2. h2 and chacha20 now match the workspace lock. Only these three packages change. - cargo-about 0.9.2 builds its binary only with the `cli` feature, so the install command in licenses/README.md and in the generator docstring now passes `--features cli`. - Regenerated the native notices with cargo-about 0.9.2. The remaining desktop advisories are unmaintained-crate notices with no upgrade: mach (user-idle), proc-macro-error (gtk-rs 0.18 via tray-icon) and unic-* (urlpattern via tauri-utils). Signed-off-by: Brendan Smith-Elion <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CqT7EqwYMQoSjcRi3Ch29f * check the desktop lockfile with cargo-deny in the Security job The Security job ran `cargo-deny check` against the workspace lock only, and CI skipped it when only desktop/src-tauri changed, so nothing checked desktop/src-tauri/Cargo.lock. - The Security job now also runs `cargo-deny check advisories bans` from desktop/src-tauri, using the hermit-pinned cargo-deny. Security Domain and the Security gate run for desktop-rust changes too. The workspace step keeps its rust-only selection. - desktop/src-tauri/deny.toml is the desktop policy. cargo-deny reads one config per run, so the root deny.toml gains no ignores. The graph enables all features because macOS and Linux releases ship `mesh-llm`. Each ignore names the desktop path and why it is acceptable: unmaintained crates with no upgrade (instant, mach, paste, proc-macro-error, unic-*, unsafe-libyaml, zbus 5 crates), quick-xml in a dev-dependency only, ringbuf in neteq only (with the same wrapper ban as the workspace), and zip, which tauri-plugin-updater extracts on Windows only after its signature check and which mesh-llm never extracts. - desktop/src-tauri/Cargo.lock: negentropy 0.5.0 -> 0.5.2 (RUSTSEC-2026-0365, mesh-llm feature). The yanked async-utility 0.3.1, spin 0.9.8 and spin 0.10.0 move to 0.3.2, 0.9.9 and 0.10.1. All four now match the workspace lock, and only these packages change. - Regenerated the native notices with cargo-about 0.9.2. Signed-off-by: Brendan Smith-Elion <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CqT7EqwYMQoSjcRi3Ch29f --------- Signed-off-by: Brendan Smith-Elion <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent e5e63e2 commit 66934aa

9 files changed

Lines changed: 118 additions & 45 deletions

File tree

‎.github/workflows/_ci-security.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
rust:
66
required: true
77
type: boolean
8+
desktop_rust:
9+
required: true
10+
type: boolean
811
outputs:
912
security_result:
1013
value: ${{ jobs.results.outputs.security_result }}
@@ -19,14 +22,19 @@ jobs:
1922
name: Security
2023
runs-on: ubuntu-latest
2124
timeout-minutes: 20
22-
if: github.event_name == 'push' || inputs.rust
25+
if: github.event_name == 'push' || inputs.rust || inputs.desktop_rust
2326
permissions:
2427
contents: read
2528
steps:
2629
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2730
- uses: cashapp/activate-hermit@cea9af7913204a965fd488637a8d1811bba2e616 # v1
2831
- name: Dependency policy
32+
if: github.event_name == 'push' || inputs.rust
2933
run: cargo-deny check
34+
# The desktop lockfile is separate; cargo-deny reads Cargo.toml and deny.toml from the working directory.
35+
- name: Desktop dependency policy
36+
working-directory: desktop/src-tauri
37+
run: cargo-deny check advisories bans
3038

3139

3240
results:

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,11 @@ jobs:
269269
security-domain:
270270
name: Security Domain
271271
needs: [changes]
272-
if: github.event_name == 'push' || needs.changes.outputs.rust == 'true'
272+
if: github.event_name == 'push' || needs.changes.outputs.rust == 'true' || needs.changes.outputs.desktop-rust == 'true'
273273
uses: ./.github/workflows/_ci-security.yml
274274
with:
275275
rust: ${{ needs.changes.outputs.rust == 'true' }}
276+
desktop_rust: ${{ needs.changes.outputs.desktop-rust == 'true' }}
276277

277278
rust-lint:
278279
name: Rust Lint
@@ -444,7 +445,7 @@ jobs:
444445

445446
security:
446447
name: Security
447-
if: always() && (needs.changes.result != 'success' || ((github.event_name == 'push' || needs.changes.outputs.rust == 'true')))
448+
if: always() && (needs.changes.result != 'success' || ((github.event_name == 'push' || needs.changes.outputs.rust == 'true' || needs.changes.outputs.desktop-rust == 'true')))
448449
needs: [changes, security-domain]
449450
runs-on: ubuntu-latest
450451
timeout-minutes: 5

‎benchmarks/harbor-buzz-orchestra/testbed/uv.lock‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎desktop/src-tauri/Cargo.lock‎

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎desktop/src-tauri/deny.toml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# cargo-deny policy for desktop/src-tauri/Cargo.lock. The root deny.toml governs
2+
# the workspace lock; cargo-deny reads one config per run, so nothing here
3+
# relaxes it. CI's Security job runs `cargo-deny check advisories bans` from
4+
# this directory.
5+
6+
[graph]
7+
# macOS and Linux release builds enable `mesh-llm`.
8+
all-features = true
9+
10+
[advisories]
11+
ignore = [
12+
{ id = "RUSTSEC-2024-0384", reason = "instant 0.1.13 via nostr 0.44 (buzz-core, buzz-sdk, buzz-ws-client); unmaintained, not vulnerable; leaves with the nostr 0.45 migration" },
13+
{ id = "RUSTSEC-2020-0168", reason = "mach 0.1.2 and 0.3.2 via user-idle 0.6.0, its latest release (macOS idle detection); unmaintained, not vulnerable" },
14+
{ id = "RUSTSEC-2024-0436", reason = "paste 1.0.15, a proc macro, via tokenizers 0.22 (buzz-voice) and mesh-llm → iroh → netlink; unmaintained, compile-time only" },
15+
{ id = "RUSTSEC-2024-0370", reason = "proc-macro-error 1.0.4 via glib-macros/gtk3-macros 0.18, the gtk-rs line Tauri 2 uses on Linux; unmaintained, compile-time only" },
16+
# tauri-utils 2.10 moved to urlpattern 0.6, which has no unic dependency, so
17+
# these five clear with a Tauri upgrade.
18+
{ id = "RUSTSEC-2025-0075", reason = "unic-char-range 0.9 via urlpattern 0.3 ← tauri-utils 2.9; unmaintained, not vulnerable" },
19+
{ id = "RUSTSEC-2025-0080", reason = "unic-common 0.9 via urlpattern 0.3 ← tauri-utils 2.9; unmaintained, not vulnerable" },
20+
{ id = "RUSTSEC-2025-0081", reason = "unic-char-property 0.9 via urlpattern 0.3 ← tauri-utils 2.9; unmaintained, not vulnerable" },
21+
{ id = "RUSTSEC-2025-0098", reason = "unic-ucd-version 0.9 via urlpattern 0.3 ← tauri-utils 2.9; unmaintained, not vulnerable" },
22+
{ id = "RUSTSEC-2025-0100", reason = "unic-ucd-ident 0.9 via urlpattern 0.3 ← tauri-utils 2.9; unmaintained, not vulnerable" },
23+
{ id = "RUSTSEC-2024-0449", reason = "unsafe-libyaml via serde_yaml (buzz-desktop, buzz-agent, buzz-persona); unmaintained, not vulnerable; removal needs a YAML parser migration" },
24+
{ id = "RUSTSEC-2026-0370", reason = "zvariant via zbus 5 (notify-rust 4, Tauri notification/opener/single-instance plugins, mesh-llm keyring 4); unmaintained, not vulnerable; none of them uses zbus 6 yet" },
25+
{ id = "RUSTSEC-2026-0371", reason = "zbus_names via zbus 5 (notify-rust 4, Tauri notification/opener/single-instance plugins, mesh-llm keyring 4); unmaintained, not vulnerable; none of them uses zbus 6 yet" },
26+
{ id = "RUSTSEC-2026-0372", reason = "zvariant_derive via zbus 5 (notify-rust 4, Tauri notification/opener/single-instance plugins, mesh-llm keyring 4); unmaintained, not vulnerable; none of them uses zbus 6 yet" },
27+
{ id = "RUSTSEC-2026-0194", reason = "quick-xml 0.38.4 only via buzz-media, a desktop dev-dependency; absent from shipped builds" },
28+
{ id = "RUSTSEC-2026-0195", reason = "quick-xml 0.38.4 only via buzz-media, a desktop dev-dependency; absent from shipped builds" },
29+
# Safe only while the wrapper ban below holds.
30+
{ id = "RUSTSEC-2026-0293", reason = "ringbuf 0.3.3 only via exactly pinned neteq 0.8.3 (buzz-audio-client), whose sources never use it; bans.deny forbids other consumers" },
31+
# Fixed only in zip >= 9; tauri-plugin-updater 2.x and mesh-llm v0.76.2 require zip 4 and 8.
32+
{ id = "RUSTSEC-2026-0367", reason = "zip 4.6.1: Windows-only tauri-plugin-updater extracts an update only after its minisign check; zip 8.6.0: mesh-llm copies entries manually, never extracts" },
33+
{ id = "RUSTSEC-2026-0368", reason = "zip 4.6.1: Windows-only tauri-plugin-updater extracts an update only after its minisign check; zip 8.6.0: mesh-llm copies entries manually, never extracts" },
34+
{ id = "RUSTSEC-2026-0369", reason = "zip 4.6.1: Windows-only tauri-plugin-updater extracts an update only after its minisign check; zip 8.6.0: mesh-llm copies entries manually, never extracts" },
35+
]
36+
37+
[bans]
38+
multiple-versions = "allow"
39+
deny = [
40+
{ name = "ringbuf", version = "<0.5.2", wrappers = ["neteq"], reason = "only audited NetEQ may declare this unused vulnerable dependency; all other consumers must use a patched release" },
41+
]

‎licenses/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ the desktop-only Kubernetes backend is scanned separately.
3131
Use Python 3.10+ and the pinned scanner:
3232

3333
```sh
34-
cargo install cargo-about --version 0.9.2 --locked
34+
cargo install cargo-about --version 0.9.2 --locked --features cli
3535
python scripts/generate-distribution-notices.py
3636
python scripts/check-distribution-notices.py
3737
```

‎licenses/desktop-native.txt‎

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8851,8 +8851,8 @@ DEALINGS IN THE SOFTWARE.
88518851
--------------------------------------------------------------------------------
88528852
License: MIT
88538853

8854-
h2 0.4.15
8855-
Source: https://crates.io/api/v1/crates/h2/0.4.15/download
8854+
h2 0.4.16
8855+
Source: https://crates.io/api/v1/crates/h2/0.4.16/download
88568856
Project: https://github.com/hyperium/h2
88578857

88588858
Copyright (c) 2017 h2 authors
@@ -10721,9 +10721,6 @@ DEALINGS IN THE SOFTWARE.
1072110721
--------------------------------------------------------------------------------
1072210722
License: MIT
1072310723

10724-
chacha20 0.10.1
10725-
Source: https://crates.io/api/v1/crates/chacha20/0.10.1/download
10726-
Project: https://github.com/RustCrypto/stream-ciphers
1072710724
chacha20 0.10.2
1072810725
Source: https://crates.io/api/v1/crates/chacha20/0.10.2/download
1072910726
Project: https://github.com/RustCrypto/stream-ciphers
@@ -14720,8 +14717,8 @@ SOFTWARE.
1472014717
--------------------------------------------------------------------------------
1472114718
License: MIT
1472214719

14723-
async-utility 0.3.1
14724-
Source: https://crates.io/api/v1/crates/async-utility/0.3.1/download
14720+
async-utility 0.3.2
14721+
Source: https://crates.io/api/v1/crates/async-utility/0.3.2/download
1472514722
Project: https://github.com/yukibtc/async-utility.git
1472614723

1472714724
MIT License
@@ -14897,6 +14894,34 @@ SOFTWARE.
1489714894
--------------------------------------------------------------------------------
1489814895
License: MIT
1489914896

14897+
negentropy 0.5.2
14898+
Source: https://crates.io/api/v1/crates/negentropy/0.5.2/download
14899+
Project: https://github.com/rust-nostr/negentropy.git
14900+
14901+
MIT License
14902+
14903+
Copyright (c) 2023-2025 Yuki Kishimoto
14904+
14905+
Permission is hereby granted, free of charge, to any person obtaining a copy
14906+
of this software and associated documentation files (the "Software"), to deal
14907+
in the Software without restriction, including without limitation the rights
14908+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14909+
copies of the Software, and to permit persons to whom the Software is
14910+
furnished to do so, subject to the following conditions:
14911+
14912+
The above copyright notice and this permission notice shall be included in all
14913+
copies or substantial portions of the Software.
14914+
14915+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14916+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14917+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14918+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14919+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14920+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
14921+
SOFTWARE.
14922+
--------------------------------------------------------------------------------
14923+
License: MIT
14924+
1490014925
ort 2.0.0-rc.12
1490114926
Source: https://crates.io/api/v1/crates/ort/2.0.0-rc.12/download
1490214927
Project: https://github.com/pykeio/ort
@@ -15280,9 +15305,6 @@ Project: https://github.com/Mesh-LLM/mesh-llm
1528015305
n0-error-macros 1.0.0
1528115306
Source: https://crates.io/api/v1/crates/n0-error-macros/1.0.0/download
1528215307
Project: https://github.com/n0-computer/n0-error
15283-
negentropy 0.5.0
15284-
Source: https://crates.io/api/v1/crates/negentropy/0.5.0/download
15285-
Project: https://github.com/rust-nostr/negentropy.git
1528615308
neteq 0.8.3
1528715309
Source: https://crates.io/api/v1/crates/neteq/0.8.3/download
1528815310
Project: https://github.com/security-union/videocall-rs
@@ -16246,8 +16268,8 @@ Project: https://github.com/dtolnay/ref-cast
1624616268
ref-cast-impl 1.0.25
1624716269
Source: https://crates.io/api/v1/crates/ref-cast-impl/1.0.25/download
1624816270
Project: https://github.com/dtolnay/ref-cast
16249-
rtrb 0.3.4
16250-
Source: https://crates.io/api/v1/crates/rtrb/0.3.4/download
16271+
rtrb 0.3.5
16272+
Source: https://crates.io/api/v1/crates/rtrb/0.3.5/download
1625116273
Project: https://github.com/mgeier/rtrb
1625216274
rustc-hash 2.1.3
1625316275
Source: https://crates.io/api/v1/crates/rustc-hash/2.1.3/download
@@ -16732,11 +16754,11 @@ SOFTWARE.
1673216754
--------------------------------------------------------------------------------
1673316755
License: MIT
1673416756

16735-
spin 0.10.0
16736-
Source: https://crates.io/api/v1/crates/spin/0.10.0/download
16757+
spin 0.10.1
16758+
Source: https://crates.io/api/v1/crates/spin/0.10.1/download
1673716759
Project: https://github.com/mvdnes/spin-rs.git
16738-
spin 0.9.8
16739-
Source: https://crates.io/api/v1/crates/spin/0.9.8/download
16760+
spin 0.9.9
16761+
Source: https://crates.io/api/v1/crates/spin/0.9.9/download
1674016762
Project: https://github.com/mvdnes/spin-rs.git
1674116763
tracing-core 0.1.36
1674216764
Source: https://crates.io/api/v1/crates/tracing-core/0.1.36/download

‎licenses/native-inputs.sha256‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ d62c9a396c99ec92d604b3fd8098e2a21cf20a58416a8117f6dec0275f45e1f2 crates/git-cre
3535
e11818d1ca2c516324896c96dd2669bc48083ae08265ec2a0bb0649948cb5710 crates/git-sign-nostr/Cargo.toml
3636
bfd56324d4b0d123276903317b010587153f6ad44bbc966f18c4e7c8bad9d13a crates/ifc-core/Cargo.toml
3737
cd697662a41b44fcdc44700a25242089c129cc81fe7c830ba2b0429a607dac20 crates/sprig/Cargo.toml
38-
d2723e3a04f7b19d4ec2cbcd51dd162f150c6e47c450d3f5277ec2778678e935 desktop/src-tauri/Cargo.lock
38+
d9e4b25193eae90951022c4b59198230d18000436e22d632b744cdc052eb8056 desktop/src-tauri/Cargo.lock
3939
f735604cf48076cbf756a08af725a179c6172df7beb4450cc82b6c81f290eef2 desktop/src-tauri/Cargo.toml
4040
0b36ec257f44bded78d513b80f14caca38dbf4011d888b860f756bf4187dfaaf desktop/src-tauri/crates/buzz-terminal/Cargo.toml
4141
928a589b2e749b2389af21cd6fc120610cddca4d0a7d28063f016c35944f4ee3 licenses/about.toml
@@ -66,7 +66,7 @@ c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 licenses/speec
6666
be029c50df83105a810e391778b6edcb522d6cb4b4e142332aca54437a499bf7 licenses/speech/ucd-data.txt
6767
8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 licenses/speech/ucd-tools.txt
6868
5ba81a1ed402517dce2581fa2d4042baf6a9c8ca0fe94fa6a7043ce6ab23064f licenses/speech/websocketpp.txt
69-
2a6f1023013e2a36c3a0e7a80b8e9152b29a7cf8e154ad602accdd446ec2263a scripts/generate-distribution-notices.py
70-
3b0805b59a789aabb82cb65896f2aa6717fbd3d60416266f2d4a254032ea382f licenses/desktop-native.txt
69+
d57ffdc59c4ec49314a7181ffb128bd7f29ff8185395f94900911fc32ea52da2 scripts/generate-distribution-notices.py
70+
4ff7457cf33804e2da1b68f63f84352514c0ce0a194ec2e99243c3c3ab5ab7d1 licenses/desktop-native.txt
7171
33550d84578b0806d38453323d40606500a689a3344be8fbfd6ca17dea2df682 licenses/sprig-native.txt
7272
3c1f5a0ba39c19e2828495eb27418c665231d20f5724d5fbfdf6ea7262e68274 licenses/speech-native.txt

‎scripts/generate-distribution-notices.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env python3
22
"""Generate redistributable notices from locked dependencies and bundled assets.
33
4-
Install the pinned scanner with `cargo install cargo-about --version 0.9.2 --locked`.
4+
Install the pinned scanner with
5+
`cargo install cargo-about --version 0.9.2 --locked --features cli`.
56
Run this script from any directory. No network access is needed for --mobile-only.
67
"""
78

0 commit comments

Comments
 (0)