Skip to content

Update Rust Cargo Dependencies for Soroban Contracts Security Advisories - #407

Merged
Soumen1080 merged 2 commits into
thisisouvik:mainfrom
sourirashmi2004:main
Oct 21, 2026
Merged

Soumen1080 merged 2 commits into
thisisouvik:mainfrom
sourirashmi2004:main

Conversation

@sourirashmi2004

Copy link
Copy Markdown
Contributor

close #344 Update Rust Cargo Dependencies for Soroban Contracts Security Advisories

serde_with (#93): KeyValueMap serialization panics on empty sequence or map entries.
stellar-xdr (#45): StringM::from_str bypasses maximum length validation.
soroban-env-host (#46): Muxed address <-> ScVal conversions may break after conversion failure.
rand (#47): Unsoundness with custom logger using rand::rng().
Upgrading the Rust workspace dependencies under contracts/ will ensure contract build tools, test suites, and cryptographic types match the latest secure Soroban SDK releases.

Acceptance Criteria
Run cargo update in the contracts/ directory to bump serde_with, stellar-xdr, soroban-env-host, and rand to patched versions compatible with the current Rust toolchain.
Run cargo test across all Soroban contract crates (lending, treasury, auto_compound_vault, etc.) to ensure all test snapshots and contract executions pass.
Commit updated contracts/Cargo.lock.
Verify Dependabot alerts #93, #45, #46, and #47 resolve upon merge.

@drips-wave

drips-wave Bot commented Oct 21, 2026

Copy link
Copy Markdown

@sourirashmi2004 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

@sourirashmi2004 is attempting to deploy a commit to the thisisouvik's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ebf0e2a8-36d6-480c-8876-09cfbfc9c9a0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Soumen1080
Soumen1080 merged commit c1e4db2 into thisisouvik:main Oct 21, 2026
2 of 11 checks passed
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.

Update Rust Cargo Dependencies for Soroban Contracts Security Advisories

2 participants