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 41 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-prioritylibjade: bridge tcp port to allow other scripts to drive the guiby Daniel Newton · ef0cd12d · Sep 22, 2026 · 3 filesMessage 50 · ThinTriage 0Details
Commit message · Daniel Newton

libjade: bridge tcp port to allow other scripts to drive the gui

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityabort: only try to show the error message onceby Bota · 0cc247c7 · Sep 21, 2026 · 1 fileMessage 68 · AdequateTriage 0Details
Commit message · Bota

abort: only try to show the error message once

If showing the "Internal error" message fails an assertion, jade_abort() is
called again and tries to show the same message again, which fails in the
same way, so the device stays on whatever was on screen. Only try once, so
a second failure goes straight on to the real abort.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-priorityui: fix centred messages on displays taller than 240 pixelsby Bota · a3dfebb3 · Sep 21, 2026 · 1 fileMessage 73 · AdequateTriage 0Details
Commit message · Bota

ui: fix centred messages on displays taller than 240 pixels

make_show_message_activity() asserts that the padding used to centre a
multi-line message is below 100, a limit scaled by hand for displays up to
about 240 pixels high. On the 280 pixel Waveshare Touch LCD 2 a two or three
line message with no title bar needs more than that, so it aborts - and the
"Internal error" screen shown by jade_abort() is one of those messages.

The padding is stored as a uint8_t, so check against that instead.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Lower-prioritypower: add missed source formattingby Jon Griffiths · 5c94c021 · Sep 21, 2026 · 1 fileMessage 45 · ThinTriage 0Details
Commit message · Jon Griffiths

power: add missed source formatting

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityserial: fix tinyusb init with esp_tinyusb 2.xby Bota · 6f46b8a8 · Sep 21, 2026 · 1 fileMessage 68 · AdequateTriage 8Details
Commit message · Bota

serial: fix tinyusb init with esp_tinyusb 2.x

esp_tinyusb 2.x validates the task settings passed to
tinyusb_driver_install(), so the zero-initialised config is now rejected
("Task size can't be 0"): serial_init() fails and every ESP32-S3 build
using TinyUSB aborts at boot. Use TINYUSB_DEFAULT_CONFIG() instead.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
defensive validation
AI review queuedsign_utils: reject duplicate asset summariesby Daniel Newton · 93704b16 · Sep 21, 2026 · 1 fileMessage 45 · ThinModerate 64Details
Commit message · Daniel Newton

sign_utils: reject duplicate asset summaries

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Moderate 64/100

This update fixes a flaw in the Blockstream Jade hardware wallet's transaction signing code. Before the fix, a transaction could include the same asset summary twice. The duplicate would not be fully security-checked, but could still be shown to the user on the device screen, potentially misleading them into approving a bad transaction. The fix now rejects any transaction that lists the same asset summary more than once.

Lower-priorityci: export Junit XML results for libjade testsby Valerio Vaccaro · 94326576 · Sep 21, 2026 · 1 fileMessage 67 · AdequateTriage 0Details
Commit message · Valerio Vaccaro

ci: export Junit XML results for libjade tests

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Lower-prioritypower: add support for TTGO T-Display S3 Pro Camera power managementby Darrell · 6f1d22f4 · Sep 21, 2026 · 4 filesMessage 50 · ThinTriage 0Details
Commit message · Darrell

power: add support for TTGO T-Display S3 Pro Camera power management

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Security candidatefmt: fix and prevent future use of unsupported format spec "zu"by Jon Griffiths · 26042182 · Sep 21, 2026 · 5 filesMessage 65 · AdequateInformational 20Details
Commit message · Jon Griffiths

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

Reported-by: oroderico <oroderico@users.noreply.github.com>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathauthentication path
AI analysis · Informational 20/100

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 values. The commit also adds a CI check to prevent future use of "%zu". There is no direct evidence in the commit that this caused a security vulnerability such as information disclosure or memory corruption, but it is a code-quality fix that removes undefined/unsupported formatting behavior.

Lower-prioritydiy: add support for Waveshare Touch LCD 3.5by Bota · 52f91228 · Sep 20, 2026 · 15 filesMessage 68 · AdequateTriage 0Details
Commit message · Bota

diy: add support for Waveshare Touch LCD 3.5

ESP32-S3 board with a 3.5inch 480x320 capacitive touch display
(ST7796/FT6336), OV5640 camera and AXP2101 pmu.

The touch controller, the pmu and the camera sccb share the same i2c pins,
so the touchscreen owns the only bus on them and both the pmu and the camera
attach to it, as done for the T-Display S3 Pro camera.

The 3.5B variant uses a different (QSPI) display controller and is not
supported.

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Security candidateotp: release md context on failure and clean temporary buffersby Mike Tolkachev · 6e2cb6b6 · Sep 18, 2026 · 1 fileMessage 30 · OpaqueLow 33Details
Commit message · Mike Tolkachev

otp: release md context on failure and clean temporary buffers

30/100 · OpaqueMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body! Contains work-in-progress language! Opaque security-relevant change
Why it was queued
authentication path
AI analysis · Low 33/100

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 were not always wiped. The change ensures the context is released on failure and wipes temporary buffers before returning. It is a defensive hardening fix rather than a clear exploitable vulnerability.

Lower-prioritymnemonic: clean temporary word buffersby Mike Tolkachev · e9f9462c · Sep 17, 2026 · 2 filesMessage 40 · ThinTriage 0Details
Commit message · Mike Tolkachev

mnemonic: clean temporary word buffers

Also add intermediate buffer to sensitive stack earlier.

40/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body! Contains work-in-progress language
Lower-prioritybip85: clean intermediate values of RSA contextby Mike Tolkachev · b462aba4 · Sep 17, 2026 · 1 fileMessage 45 · ThinTriage 0Details
Commit message · Mike Tolkachev

bip85: clean intermediate values of RSA context

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Security candidatesign_tx/sign_psbt: give a more useful error message for invalid output amountsby Daniel Newton · 3a31aaa4 · Sep 17, 2026 · 2 filesMessage 50 · ThinLow 32Details
Commit message · Daniel Newton

sign_tx/sign_psbt: give a more useful error message for invalid output amounts

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing boundarysigning or wallet path
AI analysis · Low 32/100

This commit improves error handling in Blockstream Jade's transaction signing code. Previously, if the total output amount of a Bitcoin transaction was too large to be valid, the device would trigger an internal assertion failure (JADE_WALLY_VERIFY). Now it returns a clear 'bad parameters' error to the user instead. This is primarily a robustness and user-experience improvement; it may also prevent a potential denial-of-service or confusing error state when signing malformed transactions.

Lower-prioritygui: clean icon buffers having potentially sensitive databy Mike Tolkachev · fe510f56 · Sep 17, 2026 · 4 filesMessage 50 · ThinTriage 0Details
Commit message · Mike Tolkachev

gui: clean icon buffers having potentially sensitive data

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI review queuedsign_utils: use checked arithmetic for liquid assetsby Daniel Newton · c42acde7 · Sep 17, 2026 · 3 filesMessage 50 · ThinModerate 69Details
Commit message · Daniel Newton

sign_utils: use checked arithmetic for liquid assets

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Moderate 69/100

This commit fixes arithmetic handling in Blockstream Jade's signing code for Liquid (Elements-based) transactions. Previously, the wallet added up asset amounts using plain 64-bit integer math and, for change outputs, relied on an underflow trick (0 - value) to subtract amounts. That could overflow or underflow if a malicious host provided crafted values, potentially letting a transaction pass validation when it should not. The patch introduces checked add/subtract helpers, tracks change separately, and aborts signing if the totals do not add up safely.

Lower-priorityota: handle unavailable releases and default download targetby ammann · eec5184b · Sep 16, 2026 · 1 fileMessage 50 · ThinTriage 0Details
Commit message · ammann

ota: handle unavailable releases and default download target

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityjadepy: stop reading and retrying closed TCP streamsby ammann · 5177b14c · Sep 16, 2026 · 4 filesMessage 65 · AdequateTriage 0Details
Commit message · ammann

jadepy: stop reading and retrying closed TCP streams

Ignore exceptions while draining; update docs.

Co-authored-by: Jon Griffiths <jon_p_griffiths@yahoo.com>

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Lower-prioritytests: move testvectors in a fileby Valerio Vaccaro · 99bcca42 · Sep 15, 2026 · 3 filesMessage 55 · ThinTriage 0Details
Commit message · Valerio Vaccaro

tests: move testvectors in a file

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Lower-priorityqemu: use device PSRAM malloc thresholds to avoid DRAM fragmentationby Daniel Newton · d0af2522 · Sep 14, 2026 · 1 fileMessage 62 · AdequateTriage 0Details
Commit message · Daniel Newton

qemu: use device PSRAM malloc thresholds to avoid DRAM fragmentation

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Explains rationale or failure mode! No meaningful explanatory body
AI review queuedlibjade: enable sensitive.cby Daniel Newton · 748f9d00 · Sep 11, 2026 · 4 filesMessage 35 · OpaqueLow 42Details
Commit message · Daniel Newton

libjade: enable sensitive.c

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

This commit re-enables a previously disabled security module called sensitive.c in the libjade (non-embedded) build. It also adds proper cleanup of thread-local storage so that sensitive data is cleared when the Jade firmware stops and restarts in the same process. The change appears to be a hardening fix rather than an active exploit patch: it prevents sensitive memory pointers from persisting across simulated reboots on desktop/test builds.

AI review queuedidentity: clean temporary hash bufferby Mike Tolkachev · b5c35779 · Sep 11, 2026 · 1 fileMessage 25 · OpaqueLow 47Details
Commit message · Mike Tolkachev

identity: clean temporary hash buffer

25/100 · OpaqueMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body! Contains work-in-progress language
Why it was queued
second-pass: opaque commit message
AI analysis · Low 47/100

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 sensitive memory. That means the buffer could be left uncleared in RAM after use, potentially leaking key material if an attacker could read device memory. The patch marks the buffer with SENSITIVE_PUSH so it is properly wiped with SENSITIVE_POP. It is a cleanup/fix, not a full exploit chain by itself.

Lower-prioritytests: move bcur selfcheck code to libjadeby Daniel Newton · a55811a9 · Sep 10, 2026 · 3 filesMessage 55 · ThinTriage 0Details
Commit message · Daniel Newton

tests: move bcur selfcheck code to libjade

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
AI review queuedqrmode: clean temporary bufferby Mike Tolkachev · 34f68c20 · Sep 10, 2026 · 1 fileMessage 15 · OpaqueLow 36Details
Commit message · Mike Tolkachev

qrmode: clean temporary buffer

15/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body! Contains work-in-progress language
Why it was queued
second-pass: opaque commit message
AI analysis · Low 36/100

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 later code to read. The fix marks the buffer as sensitive and securely clears it after use.

Lower-prioritystorage: clean NVS security configuration after useby Mike Tolkachev · 381b3b9f · Sep 4, 2026 · 1 fileMessage 55 · ThinTriage 0Details
Commit message · Mike Tolkachev

storage: clean NVS security configuration after use

55/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Names security-relevant behavior explicitly! No meaningful explanatory body