Pin @bitcoinerlab/descriptors to v3.1.7
What changed, and why it matters
This commit changes a JavaScript package dependency from allowing any compatible 3.x version of @bitcoinerlab/descriptors to a fixed, exact version (3.1.7). Pinning a dependency is often done to prevent unexpected future changes, but the commit itself does not say whether it fixes a security bug. It is a routine dependency-management change with no direct evidence of a vulnerability being patched.
Treat as a maintenance/dependency-hygiene commit. If assessing risk, verify whether @bitcoinerlab/descriptors versions between 3.0.6 and 3.1.7 (exclusive) contained known vulnerabilities, and review the 3.1.7 release notes for security fixes. No immediate security action is indicated by the supplied materials alone.
Security signals we found
Dependency version pinning
No explicit security claim in commit message
No code-level security fix visible in diff
No advisory or CVE referenced in supplied materials
Evidence from the diff
The diff updates bitcoin_client_js/package.json and package-lock.json to pin @bitcoinerlab/descriptors to exactly 3.1.7 (replacing the caret range ^3.0.6). The lockfile also records a new transitive dependency structure including @bitcoinerlab/descriptors-core and several optional peer dependencies. No code logic, cryptographic handling, or device-side behavior is modified. There is no mention of CVEs, advisories, or security fixes in the commit message or diff.
Changed components
bitcoin_client_js/package.jsonbitcoin_client_js/package-lock.jsonJavaScript client library dependency resolutionInspect captured patch +101 / −12
### bitcoin_client_js/package-lock.json
@@ -9,7 +9,7 @@
"version": "0.3.1",
"license": "Apache-2.0",
"dependencies": {
- "@bitcoinerlab/descriptors": "^3.0.6",
+ "@bitcoinerlab/descriptors": "3.1.7",
"@bitcoinerlab/secp256k1": "^1.2.0",
"@ledgerhq/hw-transport": "^6.31.13",
"bip32-path": "^0.4.2",
@@ -1784,35 +1784,125 @@
"license": "MIT"
},
"node_modules/@bitcoinerlab/descriptors": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/@bitcoinerlab/descriptors/-/descriptors-3.0.6.tgz",
- "integrity": "sha512-ofnRRCw5O+7elj8CzRtiLmCg+0j6uCxwJ7z4J5SFK1FSmVWjfmgyol3TxvNTQXzu80BYeUqL+qUW/UdKRZyjWA==",
- "license": "MIT",
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@bitcoinerlab/descriptors/-/descriptors-3.1.7.tgz",
+ "integrity": "sha512-HUWXFgIeHGV5N1kf7C4KxBkYwb3H1DfyxNY4hooGCNjBKDtp4aeuIvo9PHkUi7XkmBSwFIrDWzW73CLiKY3bpA==",
"dependencies": {
- "@bitcoinerlab/miniscript": "^2.0.0",
+ "@bitcoinerlab/descriptors-core": "3.1.7",
"@bitcoinerlab/secp256k1": "^1.2.0",
- "bip174": "^3.0.0",
"bip32": "^5.0.1",
"bitcoinjs-lib": "^7.0.1",
- "ecpair": "^3.0.1",
+ "ecpair": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=20.19.0"
+ },
+ "peerDependencies": {
+ "@ledgerhq/ledger-bitcoin": "^0.3.1"
+ },
+ "peerDependenciesMeta": {
+ "@ledgerhq/ledger-bitcoin": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@bitcoinerlab/descriptors/node_modules/@bitcoinerlab/descriptors-core": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@bitcoinerlab/descriptors-core/-/descriptors-core-3.1.7.tgz",
+ "integrity": "sha512-7VccUDvKcHK7RF07Vo19Obax9jO3wlPWIXtvXy61GBqXptKv156O9Z4+sm2py1CuxPRpTXHlvH70G4KVVDoKlw==",
+ "dependencies": {
+ "@bitcoinerlab/miniscript": "^2.0.0",
"lodash.memoize": "^4.1.2",
"uint8array-tools": "^0.0.9",
"varuint-bitcoin": "^2.0.0"
},
+ "engines": {
+ "node": ">=20.19.0"
+ },
"peerDependencies": {
- "@ledgerhq/ledger-bitcoin": "^0.3.0"
+ "@ledgerhq/ledger-bitcoin": "^0.3.1",
+ "@noble/curves": "^2.0.1",
+ "@noble/hashes": "^2.0.1",
+ "@scure/base": "^2.0.0",
+ "@scure/bip32": "^2.0.1",
+ "@scure/btc-signer": "^2.0.1",
+ "bip32": "^5.0.1",
+ "bitcoinjs-lib": "^7.0.1",
+ "ecpair": "^3.0.1"
},
"peerDependenciesMeta": {
"@ledgerhq/ledger-bitcoin": {
"optional": true
+ },
+ "@noble/curves": {
+ "optional": true
+ },
+ "@noble/hashes": {
+ "optional": true
+ },
+ "@scure/base": {
+ "optional": true
+ },
+ "@scure/bip32": {
+ "optional": true
+ },
+ "@scure/btc-signer": {
+ "optional": true
+ },
+ "bip32": {
+ "optional": true
+ },
+ "bitcoinjs-lib": {
+ "optional": true
+ },
+ "ecpair": {
+ "optional": true
}
}
},
+ "node_modules/@bitcoinerlab/descriptors/node_modules/@noble/curves": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-2.4.0.tgz",
+ "integrity": "sha512-P4/62zrgfH33CneE3Dn4WhJVA22YUU0eR51wKIan4NVRvwsA0YnPTwWGpNbpuacSujmSFLvyzpyuR30+fbq2Ew==",
+ "optional": true,
+ "peer": true,
+ "dependencies": {
+ "@noble/hashes": "2.4.0"
+ },
+ "engines": {
+ "node": ">= 20.19.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@bitcoinerlab/descriptors/node_modules/@noble/hashes": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.4.0.tgz",
+ "integrity": "sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA==",
+ "optional": true,
+ "peer": true,
+ "engines": {
+ "node": ">= 20.19.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@bitcoinerlab/descriptors/node_modules/@scure/base": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-2.4.0.tgz",
+ "integrity": "sha512-thZ1TuJwFwBblOhgsjDKvvGirBxNp+wSvY/DR6tJBJOTDhdAAcHJ8Vbr2eFnqaxeca4+t0i9KBf+uHYGWwZORg==",
+ "optional": true,
+ "peer": true,
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
"node_modules/@bitcoinerlab/miniscript": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@bitcoinerlab/miniscript/-/miniscript-2.0.0.tgz",
"integrity": "sha512-P8yyubPf6lphmIZfyD/ZbhT/umJX7zH1mKjGql7z0Qt+xuffnz2AueQqq2/01VE2rTIq80VM0oRFdJClGBYx/g==",
- "license": "MIT",
"dependencies": {
"bip68": "^1.0.4"
}
@@ -4359,7 +4449,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/bip68/-/bip68-1.0.4.tgz",
"integrity": "sha512-O1htyufFTYy3EO0JkHg2CLykdXEtV2ssqw47Gq9A0WByp662xpJnMEB9m43LZjsSDjIAOozWRExlFQk2hlV1XQ==",
- "license": "ISC",
"engines": {
"node": ">=4.5.0"
}
### bitcoin_client_js/package.json
@@ -34,7 +34,7 @@
"node": ">=18.14"
},
"dependencies": {
- "@bitcoinerlab/descriptors": "^3.0.6",
+ "@bitcoinerlab/descriptors": "3.1.7",
"@bitcoinerlab/secp256k1": "^1.2.0",
"@ledgerhq/hw-transport": "^6.31.13",
"bip32-path": "^0.4.2",Why this scored 25/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.