chore(deps): harden the @theqrl crypto stack (mldsa87 2.2.0, wallet.js 6.3.0) - #54
Merged
Merged
Conversation
Bump the upstream post-quantum crypto packages released on 2026-09-17: mldsa87 2.2.0 and wallet.js 6.3.0 reject weak ML-DSA-87 public keys and invalid secret keys and bound signing work, qrl-cryptography 0.3.3 carries the same validation. Root package: @theqrl/mldsa87 ^2.1.4 -> ^2.2.0, @theqrl/qrl-cryptography ^0.3.1 -> ^0.3.3, @theqrl/wallet.js ^6.2.4 -> ^6.3.0. @theqrl/web3 1.0.3 stays, and its sub-packages pin the old crypto versions exactly, so both lockfiles gained npm overrides that collapse the tree onto one hardened copy of each package. The frontend has no direct declarations and pins the literal versions; the root uses the $ reference form because npm requires an override to match a direct spec. Both are temporary and can go once @theqrl/web3 publishes a release above 1.0.3 with its own bump. Claude-Session: https://claude.ai/code/session_01SWsDPAzBHwiNnRXXmYhvyW
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.
Bumps the
@theqrlpost-quantum crypto stack to the upstream releases of 2026-09-17.@theqrl/mldsa872.2.0 and@theqrl/wallet.js6.3.0 reject weak ML-DSA-87 public keys and invalid secret keys and bound the work signing does;@theqrl/qrl-cryptography0.3.3 carries the same validation.@theqrl/web3stays at 1.0.3.Changes
Root
package.json:@theqrl/mldsa87^2.1.4->^2.2.0@theqrl/qrl-cryptography^0.3.1->^0.3.3@theqrl/wallet.js^6.2.4->^6.3.0frontend/package.jsondeclares none of the three directly and keeps@qrlwallet/connect4.0.0 untouched. Both lockfiles were regenerated withnpm install.Why the overrides
@theqrl/web31.0.3 sub-packages pin the old crypto exactly (web3-qrl-accountspins mldsa87 2.1.3, qrl-cryptography 0.3.0, wallet.js 6.2.3;web3-qrlpins wallet.js 6.2.3;web3-validatorandweb3-utilspin qrl-cryptography 0.3.0), so a plain bump plusnpm dedupeleaves nested pre-hardening copies. Each lockfile-owning package therefore gained npmoverridesfor the three packages. The root uses the"$@theqrl/<name>"reference form because npm requires an override to match a direct spec; the frontend pins the literal versions. These overrides are temporary and removable once@theqrl/web3publishes its own crypto bump (announced in the QRL weekly of 2026-09-18, not yet on npm) above 1.0.3.Resolution after the bump
npm ls @theqrl/mldsa87 @theqrl/wallet.js @theqrl/qrl-cryptographyresolves to one version of each in both trees:@qrlwallet/connect4.0.0's mldsa87 deduped onto 2.2.0Gates
npm test(HYPERION_COMPILERpointed at the reviewed hypc build): 32 tests, 32 pass, 0 fail. This compiles the canonical Hyperion contracts, verifies artifacts and ABI entries, parses the retained behavioral specifications and runs the Node tooling tests.frontend:npm run lintclean under--max-warnings 0;npm test42 tests, 42 pass, 0 fail;npm run build(tsc -b + vite) succeeded.No contract source, deploy script or live-pool interaction is touched.
https://claude.ai/code/session_01SWsDPAzBHwiNnRXXmYhvyW