Repository navigation
release 0.9.0-beta.10: bsv-rs =0.9.0-beta.10 (the security prerelease) - #53
Merged
Merged
Conversation
…5-4g84-q3f4's fix The requirement moves from =0.9.0-beta.9 to =0.9.0-beta.10 so that the toolbox's and the CLI's beta lines, which pin bsv-rs exactly and hold one bsv-rs per build, can follow onto bsv-rs's security prerelease. Cargo.lock by `cargo update -p bsv-rs --precise 0.9.0-beta.10` alone: the bsv-rs row's version and checksum move and no other row does. The package's .cargo_vcs_info.json sha1 6368663 is the tag v0.9.0-beta.10's peeled commit. No source line changes: the crate names bsv_rs::transaction::MerklePath and MerklePathLeaf alone, and bsv-rs's src moves only in src/kvstore/global.rs and src/kvstore/interpreter.rs, a module this crate's features (transaction, wasm) do not compile. cargo test --locked: 87 passed, the same names and answers as the base; compact_golden unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… prerelease) The version moves to 0.9.0-beta.10 in Cargo.toml and in the crate's own row of Cargo.lock, so the toolbox's and the CLI's beta lines can follow onto bsv-rs's security prerelease through this crate. CHANGELOG.md: ## [Unreleased] stays above, empty; a new ## [0.9.0-beta.10] - 2026-11-18 sits directly above ## [0.9.0-beta.9], in that entry's shape: "Changed: the pin to bsv-rs 0.9.0-beta.10" (no source line changes and no answer moves, as the runs and the read of bsv-rs's src diff show: only its kvstore module moves) and "Security" (GHSA-j4w5-4g84-q3f4, the key-value store's selector reads, which this crate neither calls nor compiles). Nothing below the new heading moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pin
bsv-rs=0.9.0-beta.9moves to=0.9.0-beta.10and the crate's version is cut to0.9.0-beta.10, so that the toolbox's and the CLI's beta lines can follow onto bsv-rs's security prerelease. They pin bsv-rs exactly and a build holds one bsv-rs, so they reach the patched prerelease only with a tracker that pins it.Commits
63ea110deps: pin bsv-rs =0.9.0-beta.10, the prerelease that carries GHSA-j4w5-4g84-q3f4's fix8103b8frelease: 0.9.0-beta.10, the pin to bsv-rs 0.9.0-beta.10 (the security prerelease)The pin and the lock
Cargo.lockmoved bycargo update -p bsv-rs --precise 0.9.0-beta.10alone. Two rows moved:bsv-rs: version0.9.0-beta.9to0.9.0-beta.10, checksum4da4ae5e...to7c56edf8.... Its dependency list is unchanged.bsv-tracker(the crate's own row): version0.9.0-beta.10, from the release commit.No other row moved.
The package against the tag
.cargo_vcs_info.jsonsha1 is63686630b78bef17e0d25b24b326ae2311a7f855.git ls-remote --tags https://github.com/Calhooon/bsv-rs 'v0.9.0-beta.10*'givese52ee163...forrefs/tags/v0.9.0-beta.10and63686630b78bef17e0d25b24b326ae2311a7f855forrefs/tags/v0.9.0-beta.10^{}.The two match.
No answer moved
cargo test --locked -- --liston the base (cbc179c) and on the tip: 87 entries each,diffempty.test resultline is the same on the base and on the tip, timings aside.tests/compact_golden.rsis unchanged and passes 11 of 11.git grep -n 'bsv_rs::' -- src testsfinds five lines, and they name onlyMerklePathandMerklePathLeaf:src/compact.rs:34,src/evidence.rs:3,src/evidence.rs:115(a doctest),tests/common/mod.rs:2andtests/transitions.rs:11.diff -rof bsv-rs'ssrc/between the beta.9 and beta.10 packages: onlysrc/kvstore/global.rsandsrc/kvstore/interpreter.rsdiffer.src/transaction/merkle_path.rsis byte for byte the same.src/the package diff is the manifest, the lock, the changelog,tests/CLAUDE.mdand the newtests/kvstore_global_selector_filter.rs.The advisory and this crate
GHSA-j4w5-4g84-q3f4 is Medium (CVSS 3.1 5.3). It affects the prerelease line through 0.9.0-beta.9 and is patched in 0.9.0-beta.10.
The flaw:
GlobalKVStore::query,get_by_controllerandget_by_tagsreturn the overlay resolver's answer "without re-checking the selector on the client side". The fix:query_overlay"now drops a decoded entry that does not satisfy the query's key, controller ..., protocol ... or tags ... before it is returned".This crate does not reach those reads, for two reasons:
srcandtestsname nokvstore,GlobalKVStoreorquery_overlay.kvstoremodule is not even compiled in its build.cargo tree -e features -i bsv-rs, with and without--features wasm, shows only bsv-rs'stransaction,script,blockandprimitivesfeatures, pluswasmandfutures-timerunder this crate'swasmfeature. bsv-rs'skvstorefeature is off.Hosts
A host changes nothing at this prerelease. No public item of this crate changes.
cargo semver-checks --baseline-version 0.9.0-beta.9 --release-type patchreports 229 checks, 229 pass, 31 skip, "no semver update required". Without--release-typethe tool reads a prerelease bump as major and skips every check.CHANGELOG
## [Unreleased]stays above and empty. The new## [0.9.0-beta.10] - 2026-11-18, directly above## [0.9.0-beta.9], has an opening paragraph and two sections,### Changed: the pin to bsv-rs 0.9.0-beta.10and### Security. Nothing below the new heading moves.Proof (at the tip, 8103b8f; local, macOS, stable 1.98.1)
cargo deny --locked check(online, after the push):advisories ok, bans ok, licenses ok, sources ok. It warns of one unmatched wrapper (secp256k1'sbsv-rswrapper indeny.toml); bsv-rs's dependency list is unchanged, so the graph and the warning are the same as on the base.git diff origin/beta --stat:Landing
The landing into
betaand the tagv0.9.0-beta.10are the captain's. This PR is not merged and no tag is pushed.🤖 Generated with Claude Code