Skip to content

Commit 98411b7

Browse files
authored
fix(security): clear fuzz lockfile advisories and close the audit gap (#2293)
Refresh crates/bashkit/fuzz/Cargo.lock, clearing RUSTSEC-2026-0190 (unsound anyhow Error::downcast_mut, 1.0.102 -> 1.0.104) and the yanked js-sys 0.3.88 and wasm-bindgen 0.2.111. The fuzz workspace has its own lockfile and nothing watched it: CI's cargo audit scanned only the root lockfile and Dependabot's cargo entry only covered directory "/". CI now audits both lockfiles and Dependabot has a matching /crates/bashkit/fuzz entry. Fuzz-only build dependencies, never shipped in the library.
1 parent 53b0d8e commit 98411b7

5 files changed

Lines changed: 239 additions & 398 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ updates:
3939
- "version-update:semver-major"
4040
- "version-update:semver-minor"
4141

42+
# Fuzz targets are a separate cargo workspace with their own lockfile, so the
43+
# "/" entry above never touches them. Without this the fuzz lockfile silently
44+
# rots between releases (it drifted onto an unsound `anyhow` and two yanked
45+
# crates before CI started auditing it). Grouped into one PR — these are
46+
# build-time-only test dependencies, not shipped library code.
47+
- package-ecosystem: "cargo"
48+
directory: "/crates/bashkit/fuzz"
49+
schedule:
50+
interval: "weekly"
51+
commit-message:
52+
prefix: "chore(deps)"
53+
groups:
54+
fuzz-dependencies:
55+
patterns:
56+
- "*"
57+
4258
# GitHub Actions
4359
- package-ecosystem: "github-actions"
4460
directory: "/"

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,13 @@ jobs:
147147
# upgrade to, and the crate is reachable only through the opt-in `ssh`
148148
# feature. Drop this flag once `rsa` ships a constant-time release.
149149
# Keep in sync with the `[advisories] ignore` list in deny.toml.
150-
run: cargo audit --ignore RUSTSEC-2023-0071
150+
#
151+
# `crates/bashkit/fuzz` is a separate workspace with its own lockfile, so
152+
# the workspace scan above never reaches it. Audit it explicitly —
153+
# otherwise fuzz-only dependencies rot unnoticed between releases.
154+
run: |
155+
cargo audit --ignore RUSTSEC-2023-0071
156+
cargo audit --ignore RUSTSEC-2023-0071 -f crates/bashkit/fuzz/Cargo.lock
151157
152158
- name: License check (cargo-deny)
153159
# Held at v2.0.20: v2.1.0 (6f99e34) bundles cargo-deny 0.20.2, whose

0 commit comments

Comments
 (0)