BS
← All projectsBlockstream

Blockstream Jade

Firmware for Jade and Jade Plus Bitcoin hardware wallets.

BitcoinHardware walletsElevated watch
Repository coverage

502 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.

106security candidates69second-pass queue437AI analyses
25commits · 30 days
67commits · 60 days
220commits · 180 days
417commits · 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
32Strong · 80–100
182Adequate · 60–79
250Thin · 40–59
38Opaque · 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 Griffiths31357282157
Mike Tolkachev431438152
Daniel Newton771668055
Mihailo Milenkovic878057
roderico333060
Valerio Vaccaro1526054
Jamie C. Driver525053
Gustavo Cateim917078
Austin-Fulbright414060
quantpoet111072
cmiguelrn111045
tokyovyse111063
Analysis record

Published AI watches

Last scanned 50 minutes ago

Informational 20 AI analysisMessage 65 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

fmt: fix and prevent future use of unsupported format spec "zu"

This commit fixes the use of the "%zu" printf format specifier, which is not supported by the ESP32 toolchain used in this project. The unsupported format could cause log messages and user-facing strings to display incorrect or garbage val…

Use of unsupported printf format specifier %zu on embedded targetPotential for malformed log/UI output due to undefined format behaviorAddition of CI guard to prevent recurrence
26042182by Jon Griffiths+21−145 files
No security note in commit
Low 33 AI analysisMessage 30 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

otp: release md context on failure and clean temporary buffers

This commit fixes cleanup in the one-time-password (OTP) code. Previously, if setting up the cryptographic hash context failed, the code could return without freeing that context, and temporary buffers holding sensitive counter/HMAC data w…

Resource leak fix: mbedtls_md_free() now called on prepare_md_ctx failure pathSensitive buffer zeroization: wally_bzero() added for rcnt_buf and hmacControl-flow change from macro-based early return to explicit success checks
6e2cb6b6by Mike Tolkachev+26−141 file
No security note in commit
Low 47 AI analysisMessage 25 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

identity: clean temporary hash buffer

This commit fixes a small but real security hygiene issue in Blockstream Jade, a hardware wallet. A temporary buffer that holds a sensitive cryptographic hash (HMAC-SHA512 output used to derive child private keys) was not marked as sensiti…

Sensitive memory not marked for clearing (missing SENSITIVE_PUSH/POP)Buffer holds HMAC-SHA512 output used in BIP32 hardened child key derivationPatch adds explicit sensitive-memory lifecycle management
b5c35779by Mike Tolkachev+2−01 file
No security note in commit
Low 36 AI analysisMessage 15 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

qrmode: clean temporary buffer

This commit adds cleanup of a temporary memory buffer used when turning data into QR codes on the Blockstream Jade hardware wallet. The buffer could previously remain in memory after use, potentially leaving sensitive QR data behind for la…

Sensitive temporary buffer not cleared before fixUse of SENSITIVE_PUSH/SENSITIVE_POP memory-clearing macrosQR payload data may include private or confidential material
34f68c20by Mike Tolkachev+2−01 file
No security note in commit
Low 43 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

pinserver: retain unit private key on url change

This commit changes how Blockstream Jade handles its PIN server settings. Previously, changing the PIN server web address (URL) also wiped the device's private PIN encryption key, forcing the device to create a fresh one. The patch keeps t…

PIN private key lifecycle change: key retained on URL-only pinserver updatePublic-key change still triggers private-key erasure/regenerationDebug-clean and full reset still erase private key
ddcd93a3by Mike Tolkachev+38−324 files
No security note in commit
Informational 15 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

add more boards and descriptions

This commit is a documentation update for the do-it-yourself (DIY) hardware section of the Blockstream Jade project. It adds descriptions and photos for additional supported circuit boards and updates image file references. There are no co…

f4fb150dby Valerio Vaccaro+65−1625 files
No security note in commit
Moderate 63 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

process: limit array sizes in sign_tx, register_multisig and sign_bip85_digests

This commit adds size limits to several message-handling functions in the Blockstream Jade hardware wallet firmware. It caps how many asset records, transaction inputs/outputs, multisig signers, and BIP85 RSA digests a single RPC message c…

Adds explicit upper bounds on attacker-controllable array sizesRejects zero-input/zero-output transactions before further processingMoves BIP85 digest count validation before memory allocation
e87f26bfby Daniel Newton+251−8114 files
No security note in commit
Informational 15 AI analysisMessage 28 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

Update CHANGELOG.md

This commit only updates the project's CHANGELOG.md file to add release notes for version 1.0.41. It does not change any source code, build scripts, or configuration. The changelog text itself states that version 1.0.41 contains important …

Changelog describes prior security fixes in release 1.0.41Mentions external security researchers and tools (Loupe, Kvazar)References security-relevant improvements: stack protection, entropy, secure version, memory scrubbing, thread safety
dd45a7dcby Jon Griffiths+49−01 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 35 · Opaque
BS BlockstreamBlockstream Jade BitcoinHardware wallets

jadepy: update jadepy release

This commit simply bumps the version of a Python dependency called jade-client from 1.0.40 to 1.0.41, along with its matching cryptographic hashes and a fresh PGP signature. There is no code change visible here, and nothing in the commit m…

75eeada4by Jon Griffiths+19−192 files
No security note in commit
Informational 15 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

consistency: fix docs/comment/script typos

This commit fixes five spelling mistakes in documentation, code comments, and a script comment. None of the changes alter program behavior or affect security.

9ea7eed3by Jon Griffiths+5−55 files
No security note in commit
Informational 17 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

esp_lcd: vendor the esp_lcd component (ESP-IDF v5.5.4)

This commit copies the ESP-IDF 'esp_lcd' display-driver component directly into the Blockstream Jade firmware repository (a process called 'vendoring') at version 5.5.4. It adds about 8,700 lines of display-interface code for LCD panels us…

Large vendored third-party driver import (+8,718 lines, 43 files)Driver code runs in interrupt context and uses DMA, which historically carries memory-safety and cache-coherency risksNo explicit security fix or bug-fix narrative in commit title/message
d89207bfby Daniel Newton+8718−043 files
No security note in commit
Informational 21 AI analysisMessage 57 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

build: "fakeprod" prod-like development mode

This commit adds an official developer-only 'fakeprod' build mode for Blockstream Jade hardware wallets. It deliberately weakens several security settings (single signature, committed private keys, readable flash-encryption key, enabled JT…

In-tree private keys committed to repository (tools/fakeprod_v2.pem, tools/fakeprod_attest.pem)Secure boot minimum signatures reduced from 2 to 1Flash encryption set to DEVELOPMENT mode with key readable
cecedc76by Daniel Newton+350−59 files
Vendor flagged security relevance
Low 45 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

urldecode: add validation for URL encoding

This commit hardens a URL-decoding helper in Blockstream Jade's firmware. It adds validation so malformed percent-encoding, embedded null bytes, control characters, and non-ASCII bytes are rejected instead of being silently decoded. A new …

Input validation added for percent-encoded sequencesRejection of embedded NUL bytes and control characters in decoded outputRejection of non-ASCII decoded bytes (>=0x80 and DEL 0x7f)
dd0d699dby Mike Tolkachev+100−272 files
No security note in commit
Low 26 AI analysisMessage 73 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

qr: split datastream data into its own allocation, reorder alloc/free calls

This change rewrites how a small QR-code scanning library allocates memory. Instead of one big 16 KB block, it now uses two separate 8 KB blocks, and it frees them in the reverse order they were allocated. The stated goal is to avoid memor…

Memory allocation pattern changed from single large allocation to two smaller allocationsAllocation/free ordering changed to LIFO-style reverse pairingPointer field added to struct that previously held an inline array
43640f8cby Jon Griffiths+24−153 files
No security note in commit
Low 46 AI analysisMessage 45 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

psbt: check output amount presence before reading

This commit tightens how Blockstream Jade reads output amounts from a Partially Signed Bitcoin Transaction (PSBT). Before, the code tried to read the amount directly without first confirming it was actually present. Now it checks whether t…

Missing-field check added before sensitive value readPSBT output amount parsing hardenedDefensive validation of libwally presence flags
9f2b916dby Jon Griffiths+2−11 file
No security note in commit
Moderate 59 AI analysisMessage 50 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

psbt: require that all psbt bytes are consumed when parsing

This commit tightens how Blockstream Jade verifies a Bitcoin transaction file (PSBT) before signing. It now requires that every byte in the file is part of the transaction, with no leftover or trailing data allowed. Previously, extra bytes…

Parsing now rejects trailing/unconsumed bytes in PSBT inputChange is in the signing code path, directly affecting what the hardware wallet will signUse of stricter libwally-core parse flag (COMPLETE) indicates parser hardening
605d86acby Jon Griffiths+1−11 file
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

hardware: add Jade Plus design files

This commit reorganizes existing hardware design files for the original Jade device into a new subfolder and adds the open-source hardware design files for a new product, the Jade Plus. It does not change any software, firmware, or device …

5ad85661by bitcoinhelp+2573−122520 files
No security note in commit
Informational 15 AI analysisMessage 55 · Thin
BS BlockstreamBlockstream Jade BitcoinHardware wallets

tests: migrate low level tests

This commit only moves and reorganizes existing test code. It adds a new helper to check whether the current transport is a specific type, moves a shared wait() function into a common test package file, and migrates a large set of low-leve…

767006a0by Valerio Vaccaro+1580−54 files
No security note in commit
Low 27 AI analysisMessage 68 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

mnemonic: restore recovery phrase by word number

This commit adds a new way to restore a Bitcoin wallet on a Blockstream Jade hardware device: instead of typing each recovery word, users can enter each word's one-based BIP39 number (for example, '1' for 'abandon'). The change also refact…

New user-input path for seed recovery (word numbers instead of words)Refactoring of mnemonic input/validation helpersAddition of SENSITIVE_PUSH/POP for local mnemonic buffers
99927491by roderico+580−3183 files
No security note in commit
Informational 18 AI analysisMessage 68 · Adequate
BS BlockstreamBlockstream Jade BitcoinHardware wallets

ui: support bounded variable-length digit entry

This commit refactors the on-screen digit-entry keypad in Blockstream Jade so callers can ask for shorter number fields (for example 4 digits instead of 6) and optionally cap the entered value. The existing 6-digit PIN and index entry beha…

New bounded numeric input path may prevent out-of-range values in future callersRefactoring centralizes input validation rather than relying on callersNo buffer-size changes observed; digit array remains DIGIT_ENTRY_SIZE (6) elements
69627745by roderico+128−332 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-priorityserial: set UART0 pins on esp32by Daniel Newton · f2cb1e11 · May 15, 2026 · 1 fileMessage 60 · AdequateInformational 24Details
Commit message · Daniel Newton

serial: set UART0 pins on esp32

before ESP-IDF v5.5 these were set by default

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

This commit explicitly sets the physical pins used for the device's main serial (UART0) communication on ESP32 chips. In newer ESP-IDF versions (from v5.5), the default pins are no longer assigned automatically, so without this change the serial port might not work at all or might map to unexpected pins. It is a hardware-configuration fix rather than a patch for an active security vulnerability, but misconfigured serial pins could in theory cause communication failures or expose debug traffic on unintended pins.

Lower-priorityjadepy: update setup.py install depsby Jon Griffiths · 52ab757c · May 15, 2026 · 1 fileMessage 45 · ThinInformational 16Details
Commit message · Jon Griffiths

jadepy: update setup.py install deps

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

This commit updates two Python library version requirements in the Jade Python package's setup file. It raises the minimum required version of cbor2 (a data-serialization library) from 5.4.6 to 5.9.0, and updates the bleak Bluetooth library from 0.13.0 to 2.1.1 for the optional Bluetooth feature. The commit message gives no security reason for the change, and the diff alone does not show any vulnerability being fixed. It is most likely routine dependency maintenance, but pinning older, possibly insecure library versions can indirectly affect users if those older versions have known security flaws.

Security candidatesign_tx: suppress validation/change attribution for green 2of3 outputsby Mike Tolkachev · 0243f239 · May 15, 2026 · 1 fileMessage 85 · StrongHigh 72Details
Commit message · Mike Tolkachev

sign_tx: suppress validation/change attribution for green 2of3 outputs

Since the recovery xpub is not currently registered on-device, we should
not trust the caller provided value, and users must validate the address
on-device. A malicious companion app could otherwise swap out the
recovery xpub to grief the user.

This brings sign_tx behaviour in line with sign_psbt for Green 2of3.

A future update will allow user-confirmed registration for Green 2of3
which will allow skipping the confirmation for these outputs.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
signing boundarydefensive validationsigning or wallet path
AI analysis · High 72/100

This update fixes a security gap in how Blockstream Jade signs Bitcoin transactions for a specific wallet type called Green 2of3. Previously, the device trusted the connected app to supply a recovery public key and might silently treat an output as 'change' going back to the user's own wallet. A malicious or compromised companion app could have supplied a fake recovery key, tricking the device into marking a payment to an attacker's address as safe internal change. The fix forces the user to manually verify such outputs on the device screen instead of trusting the app, matching the behavior already used for PSBT signing.

AI review queuedjadepy: update jadepy releaseby Jon Griffiths · cdcebe8f · May 15, 2026 · 2 filesMessage 35 · OpaqueInformational 15Details
Commit message · Jon Griffiths

jadepy: update jadepy release

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 bumps the version of a Python client library (jade-client) used by the project from version 1.0.37 to 1.0.40, and updates the corresponding cryptographic signature file. There is no indication in the commit itself that this is a security fix, vulnerability, or malicious change. It is a routine dependency update.

Lower-priorityjade_cli: add required arguments to sign_txby Valerio Vaccaro · dd481eec · May 14, 2026 · 1 fileMessage 45 · ThinInformational 19Details
Commit message · Valerio Vaccaro

jade_cli: add required arguments to sign_tx

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

This commit updates the command-line tool for Blockstream Jade hardware wallets so that its 'sign transaction' command now requires additional pieces of information (the transaction inputs and any change output details) and formats its output as JSON. The change appears to be a normal feature/API update rather than a fix for a security vulnerability. There is no evidence in the commit that this was done to address a security issue.

Security candidateui: tidy up message/error activitiesby Daniel Newton · 1914ace0 · May 4, 2026 · 25 filesMessage 45 · ThinInformational 15Details
Commit message · Daniel Newton

ui: tidy up message/error activities

Fix spelling of "re-encrypt".

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
seed or entropy pathsigning or wallet pathboot or update pathauthentication path
AI analysis · Informational 15/100

This commit is a straightforward code cleanup. It replaces a verbose way of showing on-screen messages and errors with simpler helper functions, and fixes a spelling mistake ('re-encypt' to 're-encrypt'). There is no change to security logic, no bug fix, and no vulnerability addressed.

Lower-prioritybuild: move production config directory into the configs directoryby Daniel Newton · be7f66d2 · May 1, 2026 · 9 filesMessage 62 · AdequateInformational 15Details
Commit message · Daniel Newton

build: move production config directory into the configs directory

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

This commit simply moves existing production build configuration files from one folder (production/) into a subfolder (configs/production/). The contents of the files are unchanged, and only two helper scripts are updated to point to the new location. There is no change to the actual software behavior, security settings, or user-facing functionality.

Lower-priorityci: add security stageby Valerio Vaccaro · 98f87312 · May 1, 2026 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Valerio Vaccaro

ci: add security stage

45/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Names security-relevant behavior explicitly! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only adds automated security scanning steps to the project's continuous-integration (CI) pipeline. It does not change any firmware, application, or wallet code, and it does not fix a known vulnerability. It enables GitLab's built-in SAST, dependency-scanning, and secret-detection tools to run on future commits.

Lower-priorityfonts: simplify font settingby Jon Griffiths · d42f01da · May 1, 2026 · 3 filesMessage 58 · ThinInformational 15Details
Commit message · Jon Griffiths

fonts: simplify font setting

Note that data such as the maximum character width, computed when each font
is set could be computed at compile time, or cached when first set.

58/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit is a small internal cleanup of how fonts are selected on the device's screen. It removes an unused second argument from the font-setting function and adds a minor caching shortcut so the same font isn't re-initialized repeatedly. There is no visible security change.

Lower-priorityfonts: remove unused inverted fontsby Jon Griffiths · e5a39e15 · May 1, 2026 · 3 filesMessage 45 · ThinInformational 15Details
Commit message · Jon Griffiths

fonts: remove unused inverted fonts

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 two unused font files and removes their references from a combined source file. It is a cleanup change with no security relevance.

Lower-prioritytools: remove jade_capture_image_data.py since jade_cli can do this nowby Jon Griffiths · 5a8b6c59 · May 1, 2026 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Jon Griffiths

tools: remove jade_capture_image_data.py since jade_cli can do this now

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

This commit simply deletes a helper Python script used to capture image data from a Blockstream Jade hardware wallet. The commit message says the same task can now be done with jade_cli, so the old standalone script is no longer needed. There is no code change to the wallet firmware, no bug fix, and no security-related content in the diff or message.

Lower-priorityfonts: speed up/simplify fetching glyph databy Jon Griffiths · f4d99d26 · May 1, 2026 · 1 fileMessage 68 · AdequateInformational 15Details
Commit message · Jon Griffiths

fonts: speed up/simplify fetching glyph data

Note that glyph looking is still O(N), and thus string length
calculation and display is O(N^2). This commit merely makes the existing
linear lookup faster.

The linear lookup is a consequence of the font structure allowing
characters to be out of order. If we were to force the characters to be
ordered in the font definition we could trivially implement an index
to allow even faster lookups.

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

This commit is a straightforward internal cleanup of how a hardware wallet's screen font lookup works. It rewrites a helper function to be faster and simpler, but does not change what the function does or fix any security problem. There is no indication this is a security patch.

Lower-prioritywire: make ble message handling use the same logic as other inputsby Jon Griffiths · 52227215 · May 1, 2026 · 7 filesMessage 73 · AdequateLow 48Details
Commit message · Jon Griffiths

wire: make ble message handling use the same logic as other inputs

The ble logic was the only user of reject_incomplete, which it used to
process existing buffer data inconsistently.

Now that all handlers use the same logic we can investigate strategies
for attempting to re-sync message streams when an error occurs.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Low 48/100

This commit refactors how Bluetooth Low Energy (BLE) messages are handled in the Blockstream Jade hardware wallet so that BLE uses the same message-parsing path as USB serial and TCP (QEMU). Previously, BLE had a special 'reject_incomplete' flag that could discard buffered data when the buffer was full. The change removes that special-case logic and makes all input sources feed data the same way. The commit message frames this as a cleanup that enables future work on recovering from message-stream errors, not as a security fix. There is no direct evidence in the diff of an exploitable vulnerability, but unifying input handling reduces the chance of subtle BLE-only bugs such as partial-message truncation or inconsistent state.

Lower-prioritytests: re-enable large qr code tests for 1.1 devicesby Jon Griffiths · fd52cfaf · May 1, 2026 · 1 fileMessage 83 · StrongInformational 15Details
Commit message · Jon Griffiths

tests: re-enable large qr code tests for 1.1 devices

Now that we allow processing of valid data receieved after a timeout, the
occasional write-level split of the input qr data shouldn't cause this
test any issues.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only changes a test file. It removes a workaround that previously skipped large QR code tests on Jade v1.1 hardware because of serial timeouts. The commit message says a separate fix now allows the device to process valid data received after a timeout, so the test skip is no longer needed. There is no change to production firmware or wallet security logic in this commit.

Lower-prioritytests: test splitting the write for concatenated messagesby Jon Griffiths · ab0c6d07 · May 1, 2026 · 1 fileMessage 60 · AdequateInformational 15Details
Commit message · Jon Griffiths

tests: test splitting the write for concatenated messages

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

This commit only adds a new test case to the project's test file. It does not change any production code, fix a bug, or alter device behavior. The test checks that a hardware wallet correctly handles two messages sent back-to-back, even when the data is split across two writes and when a delay is inserted between the writes. There is no security issue in this change itself.

Lower-prioritywire: refactor handle_message, enable all message tests for libjadeby Jon Griffiths · c89a51e3 · May 1, 2026 · 2 filesMessage 83 · StrongLow 37Details
Commit message · Jon Griffiths

wire: refactor handle_message, enable all message tests for libjade

Require any candidate message be a valid map up-front since this is a
prerequisite for the message to be a valid RPC message.

Ignore reject_incomplete which will be removed in an upcoming commit.

Note we continue to attempt to parse including new data that has arrived
after the timeout before discarding stale data.

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Low 37/100

This commit refactors the code that reads incoming messages on a Blockstream Jade hardware wallet. The main change is that the device now checks up-front whether incoming bytes form a valid CBOR 'map' (a structured data format) before treating them as a real RPC command. It also changes how stale or oversized data is rejected. The commit message and diff do not claim to fix a specific security bug, but the refactor tightens input validation and removes some timeout-driven rejection logic. The test changes enable previously skipped message tests for the 'libjade' build.

Lower-prioritytests: enable "too much input" test for libjadeby Jon Griffiths · 296e4774 · May 1, 2026 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Jon Griffiths

tests: enable "too much input" test for libjade

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

This commit only changes a test file. It enables an existing buffer-overflow test to run against the libjade simulator and makes the test wait a little longer between message chunks. There is no change to the actual Jade firmware or wallet code, so it does not fix or introduce a security issue in the product itself.

Lower-prioritywire: merge handle_data()/handle_data_impl()by Jon Griffiths · cbda68b4 · May 1, 2026 · 1 fileMessage 50 · ThinInformational 12Details
Commit message · Jon Griffiths

wire: merge handle_data()/handle_data_impl()

No functional changes; removes a couple of now-redundant asserts.

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Provides an explanatory body
AI analysis · Informational 12/100

This commit is a straightforward internal code cleanup in Blockstream Jade's message-receiving code. It merges two functions into one and removes a few redundant safety checks. The commit message explicitly says there are no functional changes, and the diff does not alter the actual message-handling logic or security boundaries.

Security candidatewire: reduce stack usage sending repliesby Jon Griffiths · c41f5fdd · May 1, 2026 · 29 filesMessage 60 · AdequateLow 25Details
Commit message · Jon Griffiths

wire: reduce stack usage sending replies

This offsets the increased stack usage from the previous commit.

60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
seed or entropy pathsigning or wallet pathboot or update pathauthentication path
AI analysis · Low 25/100

This commit changes how message context is passed between functions in the Blockstream Jade hardware wallet firmware. Instead of copying the entire message context structure on the stack, functions now receive a pointer to it. The stated goal is to reduce stack memory usage. There is no direct evidence in the commit that this fixes an exploitable vulnerability, but reducing stack pressure can help prevent stack overflow crashes or corruption in a security-critical embedded device.

Lower-prioritylibjade: handle received bytes in the same way as the serial deviceby Jon Griffiths · df99d865 · May 1, 2026 · 1 fileMessage 83 · StrongLow 29Details
Commit message · Jon Griffiths

libjade: handle received bytes in the same way as the serial device

Send all bytes through handle_data(), in chunks if required.

This allows testing the real world comms behaviour using libjade,
with the exception that BLE message handling is currently different
to both (and arguably incorrect).

83/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Low 29/100

This change updates how the libjade test/development library feeds data into the Jade firmware's message handler. Previously, large messages could be rejected outright if they exceeded the input buffer. Now, data is fed in chunks, matching how real serial-port data arrives. The commit message says this is for testing real-world communication behavior, and it explicitly notes that Bluetooth message handling is still different. There is no direct evidence in the commit that this fixes an exploitable security bug.

Lower-prioritywire: remove transport specific output buffersby Jon Griffiths · e682ecfc · May 1, 2026 · 6 filesMessage 68 · AdequateInformational 18Details
Commit message · Jon Griffiths

wire: remove transport specific output buffers

These are only ever used to reject messages which can be done with a
temporary ~128 bytes of stack instead of a permanent 3-9kb of RAM.

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

This commit is a small memory-optimization cleanup. It removes several large, permanently allocated output buffers used only to send short 'message rejected' error replies, replacing them with a tiny temporary buffer on the function call stack. There is no direct security bug being fixed here; it is primarily a resource-saving change. However, using stack memory instead of heap memory slightly reduces the attack surface related to heap allocation misuse, and the new code is more careful about buffer sizes.

Lower-prioritywire: fix not processing all received data when wire.c timeout hitby Daniel Newton · fa76e536 · May 1, 2026 · 6 filesMessage 65 · AdequateLow 35Details
Commit message · Daniel Newton

wire: fix not processing all received data when wire.c timeout hit

Minor code cleanup to make the existing logic clearer.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
AI analysis · Low 35/100

This commit fixes a bug in how Blockstream Jade processes incoming messages when a communication timeout occurs. Previously, if old, partial data was sitting in the buffer when new data arrived after a timeout, the code would discard the old bytes and move only the new bytes to the start of the buffer, potentially ignoring any complete message that could be formed by combining the old and new data. The fix changes the logic so that, after a timeout, the code still tries to process all bytes in the buffer together, only rejecting incomplete data if no complete message can be parsed. The commit also renames a parameter for clarity. There is no explicit vendor statement that this is a security fix, and no CVE or researcher attribution is present in the materials.

Lower-prioritytests: allow qemu tests to run longerby Jon Griffiths · 21aceccc · May 1, 2026 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · Jon Griffiths

tests: allow qemu tests to run longer

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

This commit only changes a test script. It increases the maximum allowed runtime from 60 minutes to 90 minutes when tests are run inside a QEMU emulator. There is no change to the actual Jade wallet firmware or any security-sensitive code.

Lower-priorityqr: add a qr test for set_epoch, cli support for capturing imagesby Jon Griffiths · 5b5d8e4f · May 1, 2026 · 5 filesMessage 60 · AdequateInformational 15Details
Commit message · Jon Griffiths

qr: add a qr test for set_epoch, cli support for capturing images

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

This commit adds a test helper and command-line tool for capturing camera images from a Blockstream Jade hardware wallet during testing. It also adds a new QR code test case and resets the device clock after QR scanning tests. There is no security vulnerability here—this is purely testing/debugging infrastructure.

Lower-prioritylogging: unify esp_log_set_vprintf calls and conditionally compile all esp log functionsby Daniel Newton · f94fc04f · May 1, 2026 · 8 filesMessage 50 · ThinLow 25Details
Commit message · Daniel Newton

logging: unify esp_log_set_vprintf calls and conditionally compile all esp log functions

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

This commit is mostly a cleanup of how logging is set up on the device. It moves where the event loop is created, makes some log functions disappear when logging is completely disabled, and changes one error message to a less alarming one. The visible changes do not appear to fix a clear security bug, but they do remove a few rough edges that could make the device behave unexpectedly during boot or when logging is configured in unusual ways.