From 5cb00a46031257d5c2d7ccaae5d8477788c28ec5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 20:26:54 +0000 Subject: [PATCH 1/2] chore(deps): bump the rust-dependencies group across 1 directory with 3 updates Bumps the rust-dependencies group with 3 updates in the / directory: [rand](https://github.com/rust-random/rand), [gloo-timers](https://github.com/rustwasm/gloo) and [nix](https://github.com/nix-rust/nix). Updates `rand` from 0.10.3 to 0.10.4 - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.10.3...0.10.4) Updates `gloo-timers` from 0.4.0 to 0.4.1 - [Release notes](https://github.com/rustwasm/gloo/releases) - [Changelog](https://github.com/ranile/gloo/blob/master/CHANGELOG.md) - [Commits](https://github.com/rustwasm/gloo/compare/gloo-timers-v0.4.0...gloo-timers-v0.4.1) Updates `nix` from 0.31.3 to 0.32.0 - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.31.3...v0.32.0) --- updated-dependencies: - dependency-name: gloo-timers dependency-version: 0.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: nix dependency-version: 0.32.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: rand dependency-version: 0.10.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies ... Signed-off-by: dependabot[bot] --- Cargo.lock | 50 +++++++++++++++++---------- crates/bashkit-monty-types/Cargo.toml | 2 +- 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 378f8fbb2..8d8dc8a5f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,7 +483,7 @@ dependencies = [ "postcard", "pretty_assertions", "proptest", - "rand 0.10.3", + "rand 0.10.4", "regex", "regex-automata", "reqwest", @@ -655,7 +655,7 @@ dependencies = [ "chrono", "jiff", "monty-macros", - "nix", + "nix 0.32.0", "num-bigint 0.4.8", "num-traits", "ruff_python_stdlib", @@ -1698,7 +1698,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.10", ] [[package]] @@ -2504,9 +2504,9 @@ dependencies = [ [[package]] name = "gloo-timers" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "482ce8a491a501da4cd806bd190275363d674f2845005c6ddbd5d3e1dd54495d" +checksum = "a4460540da666acdb5722b2a62ac47d18f627fcfc0c728d04dc7226b3f6d40a7" dependencies = [ "futures-channel", "futures-core", @@ -3490,7 +3490,7 @@ dependencies = [ "log", "md-5", "nom", - "rand 0.10.3", + "rand 0.10.4", "rangemap", "rayon", "sha2 0.11.1", @@ -3851,9 +3851,21 @@ dependencies = [ [[package]] name = "nix" -version = "0.31.3" +version = "0.31.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bc81ce8148d3b4f3274da811f11cdd824ae661ee4ef732cdb229825cf5be7f7" +dependencies = [ + "bitflags 2.13.2", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[package]] +name = "nix" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +checksum = "77730ed34f01f4990cb2ea67fec715ecebc6fab9a6396cf83c5529b13f581bdc" dependencies = [ "bitflags 2.13.2", "cfg-if", @@ -3910,7 +3922,7 @@ checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0" dependencies = [ "num-integer", "num-traits", - "rand 0.10.3", + "rand 0.10.4", "rand_core 0.10.1", ] @@ -4285,7 +4297,7 @@ dependencies = [ "delegate", "futures", "log", - "rand 0.10.3", + "rand 0.10.4", "sha2 0.11.1", "thiserror", "tokio", @@ -4843,7 +4855,7 @@ dependencies = [ "chacha20", "core_detect", "num-traits", - "rand 0.10.3", + "rand 0.10.4", "rand_xorshift", "regex-syntax", "rusty-fork", @@ -5066,9 +5078,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11" dependencies = [ "chacha20", "getrandom 0.4.3", @@ -5504,7 +5516,7 @@ dependencies = [ "pkcs5", "pkcs8", "polyval 0.7.3", - "rand 0.10.3", + "rand 0.10.4", "rand_core 0.10.1", "rsa", "russh-cryptovec", @@ -5534,7 +5546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3aec6cb630dbe85d72ffd7bcd95f07e1bd69f9f270ee8adfa1afe443a6331438" dependencies = [ "log", - "nix", + "nix 0.31.4", "ssh-encoding", "windows-sys 0.61.2", ] @@ -5701,7 +5713,7 @@ dependencies = [ "libc", "log", "memchr", - "nix", + "nix 0.31.4", "radix_trie", "unicode-segmentation", "unicode-width 0.2.2", @@ -6526,7 +6538,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys 0.61.2", @@ -7007,7 +7019,7 @@ version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5283634e518fe9e82c7b20520bb4bc209009fd16c82077c802f8111ecbb0117a" dependencies = [ - "rand 0.10.3", + "rand 0.10.4", ] [[package]] @@ -8088,7 +8100,7 @@ dependencies = [ "getrandom 0.4.3", "indexmap", "memchr", - "nix", + "nix 0.31.4", "typed-path", "windows-sys 0.61.2", "zopfli", diff --git a/crates/bashkit-monty-types/Cargo.toml b/crates/bashkit-monty-types/Cargo.toml index 66550ffa5..1dcc5289f 100644 --- a/crates/bashkit-monty-types/Cargo.toml +++ b/crates/bashkit-monty-types/Cargo.toml @@ -51,7 +51,7 @@ unicode-general-category = { version = "1" } web-time = { version = "1.1" } [target.'cfg(target_os = "linux")'.dependencies] -nix = { version = "0.31", features = ["fs", "time"], optional = true } +nix = { version = "0.32", features = ["fs", "time"], optional = true } [features] cpu-clock = ["dep:nix"] From a6b841bd92c190b1810ee82ca2d336f217ef903f Mon Sep 17 00:00:00 2001 From: Mykhailo Chalyi Date: Wed, 18 Nov 2026 21:39:46 -0600 Subject: [PATCH 2/2] chore(deps): vet rust-dependencies group (rand, gloo-timers, nix) and mark nix 0.32 fork --- crates/bashkit-monty-types/Cargo.toml | 2 +- supply-chain/audits.toml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/crates/bashkit-monty-types/Cargo.toml b/crates/bashkit-monty-types/Cargo.toml index 1dcc5289f..b0480d0ea 100644 --- a/crates/bashkit-monty-types/Cargo.toml +++ b/crates/bashkit-monty-types/Cargo.toml @@ -51,7 +51,7 @@ unicode-general-category = { version = "1" } web-time = { version = "1.1" } [target.'cfg(target_os = "linux")'.dependencies] -nix = { version = "0.32", features = ["fs", "time"], optional = true } +nix = { version = "0.32", features = ["fs", "time"], optional = true } # bashkit fork: follow nix 0.32 (upstream monty-types 1.5.0 pins 0.31); only ClockId/time use, unaffected by accept/vmsplice breaking changes [features] cpu-clock = ["dep:nix"] diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml index 0f6b44b45..7b4f47c24 100644 --- a/supply-chain/audits.toml +++ b/supply-chain/audits.toml @@ -224,6 +224,12 @@ criteria = "safe-to-deploy" version = "0.3.0" notes = "Reviewed complete crate: thin wasm-bindgen wrappers around host setTimeout/setInterval with RAII cancellation, plus futures channels. No Rust unsafe code, filesystem/network/process access, or attacker-controlled ambient capabilities; unchecked_ref casts wasm-bindgen Closure handles to the JavaScript Function type they represent." +[[audits.gloo-timers]] +who = "Mykhailo Chalyi " +criteria = "safe-to-deploy" +delta = "0.4.0 -> 0.4.1" +notes = "Reviewed delta: adds CallbackUnwindSafe bound for Timeout/Interval callbacks under wasm unwind, AssertUnwindSafe around the oneshot send with documented UnsafeCell lock reasoning, workspace wasm-bindgen dependency, and unsafe extern C syntax for Rust 2024 with no semantic FFI change. No new ambient capabilities." + [[audits.hermit-abi]] who = "Mykhailo Chalyi " criteria = "safe-to-deploy" @@ -550,6 +556,18 @@ criteria = "safe-to-deploy" delta = "3.4.0 -> 3.4.1" notes = "Doc-comment only: the wasi_heap_sync design-note reference moves from rolldown's internal docs to cli/docs/wasi-heap-sync-design.md. No code, FFI declaration or build-script change." +[[audits.nix]] +who = "Mykhailo Chalyi " +criteria = "safe-to-deploy" +delta = "0.31.3 -> 0.31.4" +notes = "Reviewed delta: fixes recvfrom undefined behavior, propagates posix_spawn attr/file-action errors instead of ignoring them, corrects SockaddrIn/LinkAddr net feature docs, and swaps pin-utils unsafe_pinned for pin-project-lite in aio with cfg_aliases bump. No new unsafe; removes macro-generated unsafe pinning." + +[[audits.nix]] +who = "Mykhailo Chalyi " +criteria = "safe-to-deploy" +delta = "0.31.3 -> 0.32.0" +notes = "Reviewed delta including 0.31.4 fixes plus 0.32 breaking hardening: accept/accept4 take AsFd and return OwnedFd, vmsplice becomes unsafe with documented iov lifetime and page-alignment requirements, netlink recv avoids per-recv allocation, Haiku ioctl module, and aio pin! to Box::pin. Unsafe changes tighten ownership; no new ambient capabilities beyond existing libc bindings. Bashkit use (CLOCK_THREAD_CPUTIME_ID, ClockId with fs/time) is unaffected by the socket/vmsplice changes." + [[audits.num-bigint]] who = "Mykhailo Chalyi " criteria = "safe-to-deploy" @@ -633,6 +651,12 @@ criteria = "safe-to-deploy" delta = "0.10.2 -> 0.10.3" notes = "Correctness fixes in the distribution code: WeightedIndex returns Error::Overflow instead of panicking on an infinite float weight sum, Uniform::new_inclusive no longer reports NonFinite for large finite ranges, a deserialized Uniform can no longer panic when sampled, and WeightedIndex::weights reports exact remaining lengths. No new unsafe, fs, net, or ambient access; entropy sources unchanged." +[[audits.rand]] +who = "Mykhailo Chalyi " +criteria = "safe-to-deploy" +delta = "0.10.3 -> 0.10.4" +notes = "Reviewed delta: fixes panic when sampling a deserialized Uniform by validating offset below NANOS_PER_SEC and checking secs carry, mirroring the UniformChar guard; deserialization now rejects states unreachable from new_inclusive. No new unsafe, fs, net, or ambient access; entropy sources unchanged." + [[audits.russh]] who = "Mykhailo Chalyi " criteria = "safe-to-deploy"