Skip to content

fix: drop unused russh-keys dependency - #955

Merged
starpit merged 1 commit into
mainfrom
drop-russh-keys
Sep 11, 2026
Merged

starpit merged 1 commit into
mainfrom
drop-russh-keys

Conversation

@starpit

@starpit starpit commented Sep 11, 2026

Copy link
Copy Markdown
Member

Summary

spnl-run's gce feature depended on both russh 0.62 and the separate russh-keys 0.49 crate for SSH key handling, but crates/spnl-run/src/vllm/gce/ssh_tunnel.rs only ever uses russh's own bundled russh::keys module — no code references the standalone russh_keys crate.

The unused dependency pinned an old russh-cryptovec 0.48.0 alongside the already-current 0.62.0 copy pulled in by russh itself. That's the actual source of the russh-cryptovec Dependabot alerts (GHSA advisories for unchecked CryptoVec allocation/growth) that no version bump could resolve, since 0.49 was already the latest release on that now-dead line.

Removing the dependency drops the vulnerable duplicate entirely instead of chasing a fixed version that doesn't exist.

Test plan

  • .github/scripts/verify-feature-consistency.sh passes
  • cargo clippy --tests -- -D warnings passes for spnl-run, spnl, and spnl-cli with their full CI feature sets
  • cargo fmt --check passes

spnl-run's gce feature depended on both russh 0.62 and the separate
russh-keys 0.49 crate for SSH key handling, but crates/spnl-run/src/vllm/gce/ssh_tunnel.rs
only ever used russh's own bundled russh::keys module (no code
references the standalone russh_keys crate). The unused dependency
pinned an old russh-cryptovec 0.48.0 alongside the already-current
0.62.0 copy pulled in by russh itself, which is the actual source of
two open Dependabot alerts (GHSA advisories for unchecked CryptoVec
allocation/growth) that no version bump could resolve since 0.49 was
already the latest release in that dead line.

Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit
starpit merged commit 1d03125 into main Sep 11, 2026
35 of 36 checks passed
@starpit
starpit deleted the drop-russh-keys branch September 11, 2026 21:21
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.

1 participant