BS
← All projectsBlockstream

Blockstream Jade

Firmware for Jade and Jade Plus Bitcoin hardware wallets.

BitcoinHardware walletsElevated watch
Repository coverage

557 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

120security candidates80second-pass queue462AI analyses
0commits · 30 days
47commits · 60 days
209commits · 180 days
423commits · 365 days
Backfill bands
Aug 5 → Feb 6216 seen38 candidatesComplete
Feb 6 → Jun 6131 seen9 candidatesComplete
Jun 6 → Jul 657 seen10 candidatesComplete
Jul 6 → Aug 510 seen0 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

57/100 average clarity
37Strong · 80–100
204Adequate · 60–79
275Thin · 40–59
41Opaque · 0–39
5security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Jon Griffiths32663289157
Mike Tolkachev541744153
Daniel Newton902078055
Mihailo Milenkovic878057
roderico633074
Valerio Vaccaro2226056
Jamie C. Driver525053
Gustavo Cateim917078
Austin-Fulbright414060
kkdao211068
quantpoet111072
cmiguelrn111045
Analysis record

Published AI watches

Last scanned 53 minutes ago

Moderate 57 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

process: whitelist reply message function calls

This commit adds a whitelist of approved functions that can be used when sending reply messages from the Jade hardware wallet to a connected computer or phone. Previously, any function could be passed in, which could allow a bug or malicio…

Function-pointer whitelist added to reply pathMultiple static reply helpers made global to enable whitelist comparisonAssertion tightened to validate callback before use
a59d14c2by Jon Griffiths+53−1513 files
No security note in commit
Low 42 AI analysisMessage 30 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

temporary_stack: whitelist temporary task function calls

This commit adds a whitelist to a special helper that lets certain functions run with extra memory stack space. Previously, any function could be passed to this helper. Now only a small list of approved functions is allowed, except during …

Addition of function-pointer whitelistRemoval of static linkage on internal functions to enable whitelist comparisonConditional bypass of whitelist only for debug/selfcheck builds
6a0fea51by Jon Griffiths+26−54 files
No security note in commit
Informational 15 AI analysisMessage 43 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

consistency: fix typos

This commit is a large typo-fixing cleanup across 40 files. Almost every change corrects spelling mistakes in code comments, variable names, or user-facing text strings. There is no change to program logic, security behavior, or cryptograp…

251f7713by Jon Griffiths+96−9640 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

docs: document get_bip85_bip39_entropy

This commit only updates documentation and removes a single comment line. It documents an existing feature that lets a user request encrypted BIP85-based BIP39 entropy from the Jade hardware wallet after on-device confirmation. There is no…

05a578adby Jon Griffiths+52−12 files
No security note in commit
Low 28 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

bip85: expose get_bip85_bip39_entropy over rpc in addition to qr

This commit moves a feature that derives BIP85 BIP39 entropy from being available only in debug builds to being available over the normal RPC interface. BIP85 lets a hardware wallet derive child seed phrases from a master seed. Making this…

Feature moved from debug-only to production RPC surfaceNo accompanying access-control or input-sanitization changes visible in diffBIP85 entropy derivation is a sensitive cryptographic operation
c6c5e860by Jon Griffiths+3−41 file
No security note in commit
Informational 19 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

versioninfo: add JADE_INTERFACE field to show which connection source holds the unlocked wallet

This commit adds a new read-only field, JADE_INTERFACE, to the device's version information reply. It simply tells a connected computer which communication path (USB, Bluetooth, QR mode, etc.) currently has control of the unlocked wallet. …

No authentication or authorization logic changedNo cryptographic or key-management code changedNo input parsing or memory-unsafe code added
2fe9df0bby Daniel Newton+66−56 files
No security note in commit
Low 44 AI analysisMessage 60 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

sign_tx/sign_psbt: extra check for BTC inputs

This commit adds overflow protection when adding up the total value of Bitcoin transaction inputs in Blockstream Jade's signing code. Previously, the firmware used a plain addition that could silently wrap around if a specially crafted tra…

Integer overflow hardening in financial-amount accumulationDefensive checked_add_uint64() introduced where plain addition existedTransaction signing path now rejects overflowed input totals
41d7e8b4by Daniel Newton+15−32 files
No security note in commit
Informational 19 AI analysisMessage 62 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

build: move NVS cache objects that can pin the DRAM heap to SPIRAM if available

This commit changes how the Jade hardware wallet's firmware uses memory. It moves some internal storage cache objects from the main RAM (DRAM) to external RAM (PSRAM/SPIRAM) when available. This is a memory-optimization change, not a direc…

Memory layout change: moves NVS cache from DRAM to SPIRAMNo direct security fix or vulnerability patch present in diffNo mention of CVE, security researcher, or security advisory in commit
329f73c5by Daniel Newton+7−17 files
No security note in commit
Informational 15 AI analysisMessage 60 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

tests: migrate pin action tests from test_jade to rpc tests

This commit simply moves existing test cases from one test file to another. It does not change any production code, security behavior, or fix any vulnerability. The tests check that the Jade device correctly rejects invalid parameters for …

be0e6b3dby Mike Tolkachev+42−402 files
No security note in commit
Informational 15 AI analysisMessage 60 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

tests: add tests for pin actions via debug_set_pin

This commit only adds a new test file that exercises PIN-related features of the Jade hardware wallet using a debug-only RPC command. It does not change any production code, introduce new functionality, or alter security behavior. The test…

dd3d5b22by Mike Tolkachev+334−01 file
No security note in commit
Moderate 62 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

process: require user to permit get_identity_shared_key RPC

This commit adds a user confirmation step before a hardware wallet will share an identity-derived shared secret. Previously, the get_identity_shared_key RPC could compute and return the shared key without the user pressing approve on the d…

RPC that derives/releases a cryptographic shared secret now requires explicit on-device user approvalInput validation added: identity string must be printable before being shown in a security promptNew dedicated accept/reject button event IDs separate this flow from sign_identity
7ca0d26cby Daniel Newton+70−116 files
No security note in commit
Informational 20 AI analysisMessage 60 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

auth: add unattended pin selection for rpc tests

This commit adds a debug-only feature that lets automated tests set or change the device's PIN over an internal RPC message. It only compiles when special debug flags are enabled and is not present in normal production firmware. The change…

New RPC endpoint debug_set_pin can set/change the unlock PINPIN-handling code path modified to read from a mutable debug context instead of a fixed constantCode is wrapped in CONFIG_DEBUG_UNATTENDED_CI and CONFIG_DEBUG_MODE preprocessor guards
309ee8bbby Mike Tolkachev+100−205 files
No security note in commit
Moderate 59 AI analysisMessage 65 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

pin: disallow pin update on initialized units in debug mode

This commit removes a special debug-only exception that previously allowed the PIN server's public key to be changed on a Jade hardware wallet that already had a wallet set up. In normal operation, changing this public key on an initialize…

Removal of debug-mode bypass for a security-critical authorization checkProtection against pinserver public key substitution on initialized devicesDefense-in-depth for wallet PIN/server trust binding
a5667efdby Jon Griffiths+1−31 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 95 · Strong
BS BlockstreamBlockstream Jade BitcoinHardware wallets

tests: fix mnemonic handling following seed changes

This commit only changes test code for the Blockstream Jade hardware wallet. It fixes how tests set and reset the device mnemonic/seed so tests run correctly after earlier seed-handling changes. There is no change to the actual wallet firm…

85e87d4eby Jon Griffiths+32−377 files
No security note in commit
Low 32 AI analysisMessage 35 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

malloc_ext: fix JADE_CALLOC_DRAM

This commit fixes a macro definition for a memory-allocation helper. The macro was accidentally written to take only one argument ('size') even though the underlying function it calls needs two arguments ('number of items' and 'size of eac…

Memory-allocation wrapper macro arity mismatch fixedPotential for undefined behavior if mismatched macro were usedNo explicit security claim or CVE referenced in commit
828835ccby Daniel Newton+1−11 file
No security note in commit
Low 43 AI analysisMessage 68 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

sign_psbt: fix reply count for exact chunk sizes

This commit fixes a bug in how Blockstream Jade counts the number of message chunks needed to send back a signed Bitcoin transaction (PSBT). When the transaction size was an exact multiple of the chunk size, the device told the host there …

Integer division off-by-one in chunk/message countDevice abort on assertion when host requests non-existent chunkDenial-of-service-like symptom: valid signing flow can crash the device
4f1a1565by kkdao+38−22 files
No security note in commit
Low 37 AI analysisMessage 73 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

ui: allow tapping directly on touchscreen elements

This commit adds a new touchscreen mode for some Jade hardware wallets where users can tap on-screen buttons directly instead of only using the three virtual buttons below the screen. To reduce the risk of accidental or malicious confirmat…

New direct-touch input path added to GUI event handlingCritical-action buttons require long-press to mitigate stray or coerced tap confirmationsDestructive operations (reset, delete wallet, delete OTP) converted to critical yes/no prompts
a46aa30aby Bota+206−1111 files
Vendor flagged security relevance
Informational 13 AI analysisMessage 60 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

urldecode: use plain strlen in self-tests of libjade

This commit only changes the internal test file for a URL-decoding helper. It swaps a custom string-length macro for the standard C strlen() function inside test data. The actual product code that users rely on is not changed, and there is…

b39a7a20by Mike Tolkachev+27−291 file
No security note in commit
Moderate 50 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

assets: support tickers up to 24 characters

This commit updates the Blockstream Jade hardware wallet to support longer asset tickers (up to 24 characters) and adds validation to reject malformed tickers. It also fixes a potential display bug where a ticker longer than 8 characters c…

Buffer size increased from 8 to 25 bytes to match new ticker maximumNew input validation added for asset ticker length and character setsnprintf precision argument cast from size_t to int to avoid undefined behavior on some platforms
cc5859a6by Mike Tolkachev+36−53 files
No security note in commit
Low 29 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

assets: improve empty ticker support

This commit hardens how the Blockstream Jade hardware wallet handles assets that have no ticker symbol. Previously, if an asset's ticker was missing (NULL), the code could pass a NULL pointer to string-length functions, which can cause cra…

NULL-pointer dereference risk in asset ticker handlingDefensive null-check added before strlen()New test fixture for NULL ticker asset path
9d0d74d0by Mike Tolkachev+30−23 files
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Lower-priorityotp: added qr for otpby Austin-Fulbright · 059ecf95 · Mar 13, 2026 · 5 filesMessage 53 · ThinLow 33Details
Commit message · Austin-Fulbright

otp: added qr for otp

Co-authored-by: Daniel Newton <dnewton@blockstream.com>
Co-authored-by: Jon Griffiths <jon_p_griffiths@yahoo.com>

53/100 · ThinMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 33/100

This commit adds a feature to Blockstream Jade hardware wallets that lets users display an OTP (one-time password) account's secret as a QR code on the device screen. The previous code had a placeholder 'Export is not implemented yet' message; now it loads the OTP URI, converts it to a QR code, and shows it. Displaying a secret on screen is an intentional feature, but it increases the risk that someone with physical access or a camera could steal the OTP secret. There is no evidence in the commit of a vulnerability, backdoor, or unauthorized data leak—this is a user-facing export function.

Lower-priorityqrcode: add a helper to get the allocated QR icon sizeby Jon Griffiths · 47ae4425 · Mar 13, 2026 · 2 filesMessage 50 · ThinInformational 12Details
Commit message · Jon Griffiths

qrcode: add a helper to get the allocated QR icon size

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 12/100

This commit is a small code cleanup in the QR-code display module of the Blockstream Jade hardware wallet firmware. It extracts a repeated size-calculation into a helper function and replaces a variable with the hard-coded value 32 (the number of bits in a uint32_t). There is no change in behavior and no security fix.

AI review queuedbuild: switch_to.sh: use local wifi SSID/password as defaults when enabling wifi loggingby Daniel Newton · d0ea731e · Mar 13, 2026 · 1 fileMessage 62 · AdequateLow 37Details
Commit message · Daniel Newton

build: switch_to.sh: use local wifi SSID/password as defaults when enabling wifi logging

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
second-pass: broader security terminology
AI analysis · Low 37/100

This change updates a developer build script so that, when enabling Wi-Fi logging on a Blockstream Jade device, it tries to auto-fill the user's current Wi-Fi network name and password from their Linux computer. The credentials are shown on screen as defaults and written into the device's build configuration. This is a convenience feature, but it increases the chance that real Wi-Fi credentials are copied into a firmware build configuration file and displayed in the terminal.

Lower-priorityutils: move split_text into utilsby Jon Griffiths · a720a42b · Mar 13, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · Jon Griffiths

utils: move split_text into utils

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit simply moves a helper function that breaks a long text string into smaller chunks from one source file to a shared utility file. The code itself is unchanged, and there is no indication of a security fix or vulnerability.

Lower-priorityotp: fix return type of register_otp_string()by Daniel Newton · 9ea76b13 · Mar 13, 2026 · 2 filesMessage 45 · ThinLow 26Details
Commit message · Daniel Newton

otp: fix return type of register_otp_string()

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Low 26/100

This commit fixes a mismatch between what a function called register_otp_string() actually returns and what callers expect. The function used to claim it returned a simple true/false value, but it was really returning numeric error codes. The fix changes the declared return type from bool to int so the code matches reality. This is a cleanup that prevents callers from misinterpreting error codes as plain failure, but the diff does not show an active exploit path on its own.

AI review queueddocker: update jade_builderby Jon Griffiths · ad9ad7ce · Mar 13, 2026 · 3 filesMessage 35 · OpaqueInformational 15Details
Commit message · Jon Griffiths

docker: update jade_builder

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit simply updates the version of a Docker container image used for building and testing the Jade firmware. It changes three configuration files to point from one published image hash to another. There is no code change, no disclosed security fix, and no evidence of a vulnerability in the commit itself.

Security candidateotp: avoid pow() when computing the otp moduloby Jon Griffiths · 4bee2b18 · Mar 13, 2026 · 1 fileMessage 45 · ThinLow 35Details
Commit message · Jon Griffiths

otp: avoid pow() when computing the otp modulo

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Low 35/100

This commit changes how a one-time passcode (OTP) is shortened to the requested number of digits. Previously the code used the floating-point math function pow() to compute 10^digits, which can introduce tiny rounding errors. Now it uses fixed integer constants (1,000,000 for 6 digits and 100,000,000 for 8 digits). The change removes a potential source of incorrect OTP values and also drops an unnecessary math-library dependency, but the commit message does not frame it as a security fix.

Lower-prioritypython: update bleak and dependenciesby Jon Griffiths · 4de91c8e · Mar 13, 2026 · 2 filesMessage 45 · ThinInformational 18Details
Commit message · Jon Griffiths

python: update bleak and dependencies

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 18/100

This commit updates the Python Bluetooth library used to talk to Blockstream Jade hardware wallets from an older version (bleak 0.13.0 with dbus-next) to newer versions (bleak 2.1.1 with dbus-fast). The code changes are mechanical API adjustments: how the app scans for devices, how it reads descriptors, and how it stores the receive characteristic. There is no direct evidence in the commit that this fixes a specific security vulnerability, but updating dependencies can remove known bugs or weaknesses in the Bluetooth stack. The commit message does not describe any security issue.

AI review queuedotp: avoid pow() when displaying asset amountsby Jon Griffiths · 8cb29077 · Mar 13, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jon Griffiths

otp: avoid pow() when displaying asset amounts

Removing this last use means we save 3924 bytes by removing the
floating point pow() implementation code.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a harmless code-size optimization. It replaces the mathematical pow() function (used to calculate 10 raised to a small power) with a simple lookup table of powers of 10, allowing the compiler to remove the floating-point pow() library code and save about 3.9 KB of firmware space. The displayed asset amounts are computed the same way as before.

Security candidateui: add a better UI for index selection vs PIN entryby Daniel Newton · c78995b6 · Mar 13, 2026 · 9 filesMessage 73 · AdequateInformational 20Details
Commit message · Daniel Newton

ui: add a better UI for index selection vs PIN entry

Allow entering just the number required when entering indices rather
than having to populate all digits including leading zeros.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
access controlauthentication path
AI analysis · Informational 20/100

This commit is a user-interface refactor for the Blockstream Jade hardware wallet. It replaces a PIN-only digit-entry screen with a shared 'digit entry' widget that can also accept shorter numeric indices (for things like BIP85 child mnemonic indexes or account indexes). The PIN entry behavior itself is preserved: PINs still require all six digits. The main functional change is that index entry can now be shorter than six digits, which is a usability improvement rather than a security fix. There is no vendor statement that this change addresses a security vulnerability.

Lower-priorityui: use uint32_t as the digit entry number typeby Jon Griffiths · a9f1fa78 · Mar 13, 2026 · 3 filesMessage 60 · AdequateLow 29Details
Commit message · Jon Griffiths

ui: use uint32_t as the digit entry number type

Don't use pow() to compute the final digit value.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 29/100

This commit changes how a hardware wallet (Blockstream Jade) turns on-screen digit entries into a numeric value. It replaces a floating-point math function (pow()) with simple integer arithmetic and switches the number type from size_t to uint32_t. The change is defensive: using pow() with floating-point numbers for integer digit values can introduce tiny rounding errors, and size_t is unnecessarily large/wide for this purpose. The commit does not by itself fix a known exploitable bug, but it removes a risky pattern in security-sensitive code that handles BIP85 child mnemonic indexes.

AI review queuedUpdate CHANGELOG.mdby Jon Griffiths · 019ae5dd · Mar 13, 2026 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · Jon Griffiths

Update CHANGELOG.md

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
documentation-only discountsecond-pass: opaque commit message
AI analysis · Informational 15/100

This commit only edits the project's CHANGELOG.md file. It updates a release date and adds a few bullet points describing new features and fixes, but it does not change any source code, firmware, build scripts, or configuration. There is no security-relevant change in the diff itself.

Security candidategui: special case for swap recovey in bip85 UIby Daniel Newton · e108d7bb · Mar 4, 2026 · 1 fileMessage 45 · ThinLow 30Details
Commit message · Daniel Newton

gui: special case for swap recovey in bip85 UI

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
seed or entropy path
AI analysis · Low 30/100

This commit changes the on-screen confirmation message shown to users when a specific BIP85 entropy export is requested. Normally the device warns that it is exporting an encrypted seed phrase for a specific BIP85 index. For the exact combination of a 12-word seed phrase at index 26589, the device instead shows a friendly 'Scan successful! Continue to pair with wallet app.' message under the title 'Enable Swaps'. The underlying cryptographic operation is unchanged; only the user-facing text is different. This could mislead users about what is actually being exported, but it does not by itself bypass the user's approval button press.

AI review queueddocker: update jade_builderby Jon Griffiths · a8df12ae · Mar 4, 2026 · 3 filesMessage 35 · OpaqueInformational 15Details
Commit message · Jon Griffiths

docker: update jade_builder

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit simply swaps the SHA256 digest of the Docker base image used for building Jade firmware in three configuration files. There is no code change, no disclosed vulnerability, and no security signal in the commit itself or the supplied references.

Lower-prioritydocker: revert idf from 5.4.3 back to 5.4.0 in jade_builder_baseby Jon Griffiths · ab89c09b · Mar 4, 2026 · 4 filesMessage 95 · StrongLow 35Details
Commit message · Jon Griffiths

docker: revert idf from 5.4.3 back to 5.4.0 in jade_builder_base

Aside from issues with the default docker image, 5.4 versions from
v5.4.1 onwards break bluetooth handling on v2 devices.

While several of the BLE bugs concerned have been identified and can be
patched locally to get 5.4.1 apparently working, we deem it too risky
to move to any 'bug fix' release at this stage of the release cycle.
This goes doubly so given that git bisection is broken in the 5.4
branches and as a result it is non-trivial to identify/partially revert
incorrect changes.

We will attempt to bump the idf version earlier in the next development
cycle so that proper testing can be done before release (and bug fixes
passed upstream to idf as needed).

Until then, revert to 5.4.0 (with some Jade changes for better BLE
reliability).

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Low 35/100

This commit rolls back the software framework (Espressif IDF) used to build Blockstream Jade hardware wallets from version 5.4.3 to 5.4.0. The stated reason is that 5.4.1 through 5.4.3 introduce Bluetooth bugs that break Bluetooth on older 'v2' Jade devices. The team considers the newer bug-fix releases too risky to ship because the upstream framework's own version history is broken, making it hard to isolate which changes cause the Bluetooth problems. This is a defensive, risk-reduction change rather than a fix for an active exploit.

Lower-priorityble: retry more often/faster, also when no buffer is availableby Jon Griffiths · da8574c7 · Mar 4, 2026 · 1 fileMessage 85 · StrongLow 26Details
Commit message · Jon Griffiths

ble: retry more often/faster, also when no buffer is available

Buffers can become exhausted if we race against the O/S freeing them.
Retry just like a sending failure if this happens. Also retry faster to
lower latency, and more often so we respect the typical BLE 2 second timeout.
Finally, log any waits less frequently to avoid log spam.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Low 26/100

This commit changes how Blockstream Jade's Bluetooth Low Energy (BLE) code retries sending data. Previously, if the system ran out of temporary memory buffers, the code would crash with an assertion failure. Now it treats that situation like any other send failure and retries. It also retries more often and faster to stay within typical BLE timeouts, and reduces how often warning messages are logged. The change is a robustness improvement rather than a clear security fix, but the removed assertion crash could have been triggered by an attacker exhausting buffers.

Lower-priorityble: be consistent in initializing structsby Jon Griffiths · 87a586d2 · Mar 4, 2026 · 1 fileMessage 45 · ThinLow 28Details
Commit message · Jon Griffiths

ble: be consistent in initializing structs

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Low 28/100

This commit changes how three internal Bluetooth-related data structures are initialized in the Blockstream Jade hardware wallet firmware. Previously, two structures were declared without initialization and later zeroed with memset(), while one was declared without initialization and never zeroed. Now all three are initialized to zero at the point of declaration, and the redundant memset() calls are removed. The change is defensive and reduces the risk that future edits could accidentally use uninitialized memory. There is no direct evidence in the commit that this fixes an exploitable security vulnerability.

AI review queuedlibjade: fix displayed LD_LIBRARY_PATHby Jon Griffiths · 7ec259fa · Mar 4, 2026 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Jon Griffiths

libjade: fix displayed LD_LIBRARY_PATH

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This is a tiny build-script fix. After compiling a library, the script now moves up one directory so the printed instructions about where to find the compiled files point to the correct folder. It does not change any security-sensitive code or behavior.

Lower-priorityci: skip flash_qemu_psram as we test it with the unamalgamated buildby Jon Griffiths · 74670945 · Mar 4, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Jon Griffiths

ci: skip flash_qemu_psram as we test it with the unamalgamated build

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes a GitLab CI configuration file. It comments out one automated test job (flash_qemu_psram) because the same scenario is already tested by another job (flash_qemu_psram_unamalgamated). There is no change to the actual Jade firmware, wallet code, cryptography, or anything users interact with. It is purely a pipeline optimization to avoid redundant testing.

AI review queueddocker: update jade_builderby Jon Griffiths · 1ca0a0a4 · Feb 26, 2026 · 3 filesMessage 35 · OpaqueInformational 15Details
Commit message · Jon Griffiths

docker: update jade_builder

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Informational 15/100

This commit simply updates three configuration files to use a newer version of a Docker container image used for building and testing the Jade firmware. There is no code change, no user-facing behavior change, and no security issue visible in the diff itself.

Lower-prioritydocker: make jade_builder use jade_builder_baseby Jon Griffiths · 4897f66e · Feb 26, 2026 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Jon Griffiths

docker: make jade_builder use jade_builder_base

Also add g++ for building libjade.

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit changes the project's Docker build file to use a custom-built base image instead of the upstream Espressif one, and adds the g++ compiler package. The change is described by the project as a workaround for a bug where the upstream Docker image produces bad firmware images for older 1.x Jade devices. There is no security-relevant change visible in the diff itself.

Lower-prioritydocker: add a CI job for jade_builder_baseby Jon Griffiths · b0692b36 · Feb 26, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Jon Griffiths

docker: add a CI job for jade_builder_base

The idf provided 5.4.3 builds invalid firmwares for 1.x devices. Until
this is fixed upstream, build our own base image using the idf dockerfile.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit adds a new manual CI job that builds a custom Docker base image for compiling Jade firmware. It is a build-infrastructure change, not a code change that affects the device firmware itself. There is no security vulnerability in the diff.

Lower-prioritydocker: remove defunct qemu scriptsby Jon Griffiths · 1ff40cc7 · Feb 23, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · Jon Griffiths

docker: remove defunct qemu scripts

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit simply deletes three old helper shell scripts used to build and run Jade firmware inside a QEMU emulator via Docker. The scripts are described as defunct and no longer used. There is no change to the actual firmware, wallet logic, cryptography, or any code that runs on user devices.

Lower-prioritydocs: update for docker build updatesby Jon Griffiths · 8edbbebb · Feb 23, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Jon Griffiths

docs: update for docker build updates

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates the README.md documentation to reflect new Docker build instructions for running a Jade emulator. No source code, build scripts, or configuration files were changed. There is no security-relevant content.

Lower-prioritydocker: replace qemu_gdb.sh with passing --gdb to gemu_run.shby Jon Griffiths · d3a631c7 · Feb 23, 2026 · 3 filesMessage 50 · ThinInformational 15Details
Commit message · Jon Griffiths

docker: replace qemu_gdb.sh with passing --gdb to gemu_run.sh

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This commit is a routine developer tooling cleanup. It removes a separate debug script and instead lets the same launch script start the emulator in debugger mode when a --gdb flag is passed. There is no change to the actual Jade firmware or to how end-user devices behave.