BB
← All projectsBitBox

BitBox02 firmware

Firmware and bootloader for BitBox02 signing devices.

BitcoinHardware walletsNormal
Repository coverage

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

314security candidates186second-pass queue827AI analyses
89commits · 30 days
145commits · 60 days
337commits · 180 days
723commits · 365 days
Backfill bands
Aug 5 → Feb 6335 seen28 candidatesComplete
Feb 6 → Jun 6265 seen19 candidatesComplete
Jun 6 → Jul 619 seen5 candidatesComplete
Jul 6 → Aug 526 seen3 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.

59/100 average clarity
86Strong · 80–100
381Adequate · 60–79
382Thin · 40–59
90Opaque · 0–39
27security 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.
Marko Bencun504157459656
benma's agent15566140267
Niklas Dusenlund17251144057
Cedric Wiese24919051
NickeZ Agent1669077
cedwies12512063
Sebastian Sutter655060
Tomas Vrba12410068
Yasser Aziza333070
Jad14210060
benma312069
Niklas211054
Analysis record

Published AI watches

Last scanned 9 minutes ago

Informational 12 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/remove-aes-hmac-c-exports'

This commit removes unused C-language export functions for AES encryption/HMAC from the BitBox02 firmware's Rust code. It is a cleanup change: the functions are deleted, the crate is no longer included in firmware builds, and simulators st…

Reduction of C FFI attack surface by removing no_mangle AES/HMAC exportsDependency cleanup: bitbox-aes no longer linked into firmware or simulatorsNo patch of an identified vulnerability in cryptographic logic
0b6365c6by Marko Bencun+2−5913 files
No security note in commit
Low 43 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/btc-root-xpub-m49'

This firmware update makes two changes to how the BitBox02 hardware wallet handles Bitcoin-related requests. First, it blocks apps from exporting the wallet's master public key (the 'root xpub') at the top-level path 'm/'. Second, it allow…

Root xpub export blocked at empty keypath (m/)Changelog describes root-xpub restriction as a security-relevant changeExternal service message signing expanded to m/49 unhardened purpose
5294645cby Marko Bencun+79−195 files
Vendor flagged security relevance
Informational 17 AI analysisMessage 78 · Adequate
BB BitBoxBitBox02 firmware BitcoinHardware wallets

cipher: remove unused AES-HMAC C exports

This commit removes two unused C-language bridge functions that wrapped an AES-HMAC encryption/decryption module. The functions themselves were not called from C code; the firmware now calls the same encryption logic directly from Rust. Re…

Removal of C FFI wrappers that could panic on malformed inputsCommit message acknowledges potential panic conditions (invalid IV length, undersized output buffer)No functional change to the underlying AES-HMAC implementation
090a263fby benma's agent+2−5913 files
Vendor flagged security relevance
Low 34 AI analysisMessage 85 · Strong
BB BitBoxBitBox02 firmware BitcoinHardware wallets

u2f: bound DER signature component reads

This commit fixes a small but real bug in how U2F signature components are converted to DER format. The old code could strip too many leading zeros and then read past the end of a 32-byte signature piece, potentially producing an invalid o…

Out-of-bounds read at component boundary during DER encodingPotential malformed DER output for all-zero signature componentDefensive hardening in U2F signature handling
dd17bed7by benma's agent+21−43 files
Vendor flagged security relevance
Low 30 AI analysisMessage 78 · Adequate
BB BitBoxBitBox02 firmware BitcoinHardware wallets

btc: allow message signing under m/49

This commit expands the BitBox02 hardware wallet's Bitcoin message-signing feature to also accept key paths starting with the unhardened purpose 'm/49'. Previously only hardened m/45' and m/48' were treated as valid 'external service' keyp…

Relaxation of keypath allowlist for message signingUnhardened purpose m/49 added to external-service signing namespaceUser confirmation prompt still required ('External service key')
1f377f72by benma's agent+63−194 files
No security note in commit
High 72 AI analysisMessage 73 · Adequate
BB BitBoxBitBox02 firmware BitcoinHardware wallets

btc: reject master xpub exports

This commit closes a security gap in the BitBox02 hardware wallet's Bitcoin API. Previously, a host app could ask the device to export the 'master xpub' (the public key at the very top of the wallet, keypath m/). Combined with any leaked p…

Master xpub export preventedPrivate-key derivation risk described in commit messageUnhardened path key compromise scenario
c4524b15by benma's agent+16−02 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge branch 'nickez-agent/configure-stage1-embedding'

This commit is a build-system refactor for the BitBox02 hardware wallet firmware. It replaces a set of separate 'bootloader upgrade' firmware images with a configurable option to embed the same bootloader update data into the normal firmwa…

70a32f5bby Niklas Dusenlund+152−33111 files
No security note in commit
High 70 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/merge-firmware-v9.29.0'

This firmware update hardens how the BitBox02 handles SwapKit-style cryptocurrency swaps and Bitcoin multisig addresses. It adds a new 'refund memo' to payment requests so the device can verify that any refund address belongs to the same w…

CHANGELOG labels prior changes as 'Bitcoin security fixes (multisig keypath and previous-transaction hash length validation)'CHANGELOG labels v9.29.0 as 'Require wallet-owned refund addresses for SwapKit'New RefundMemo protobuf message with address and optional derivation info
9b16af63by Marko Bencun+867−12411 files
Vendor flagged security relevance
Moderate 60 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/merge-bootloader-v1.2.3'

This commit hardens the BitBox02 bootloader's stored version-rollback protection data. It adds a SHA-256 checksum over the firmware and signing-key version 'floors' and a one-time migration marker, so the device can detect tampering or cor…

Adds integrity checksum (SHA-256) for anti-rollback version floors in bootloader flash dataIntroduces one-time migration marker to prevent repeated downgrade/migration windowsProduction bootloader now aborts on invalid bootdata instead of silently reinitializing it
a4ddb764by Marko Bencun+2124−3123 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/high-fee-wording-v9.27.2'

This commit only updates test data and test expectations to reflect that a wording change for high Bitcoin transaction fees was released in firmware version 9.27.2 instead of 9.28.0. It does not change any device firmware code, security lo…

00f9eb22by Marko Bencun+65−1123 files
No security note in commit
Informational 15 AI analysisMessage 68 · Adequate
BB BitBoxBitBox02 firmware BitcoinHardware wallets

btc: fix high-fee wording cutoff in vectors

This commit only updates test data and test expectations for the BitBox02 firmware. It changes which firmware versions are expected to show an old versus new high-fee warning message, because the real firmware already started showing the n…

dc5702d0by benma's agent+65−1123 files
No security note in commit
High 77 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/stage0-reject-zero-signatures'

This update hardens the BitBox02 hardware wallet's bootloader so it refuses to accept a firmware update signed with an all-zero signature. Previously, the cryptographic verification routine could treat a zero-filled signature as valid unde…

Rejects all-zero ECDSA signatures that may verify as validAdds volatile signature read to mitigate LTO-based read eliminationORs all signature bytes without early exit to ensure full-byte inspection
aec4595dby Marko Bencun+81−22 files
No security note in commit
Low 35 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/stage1-pairing-lifecycle'

This update fixes a Bluetooth pairing bug in the BitBox02 Nova hardware wallet. When the device switched from Bluetooth back to USB mode, it could keep an old pairing request active. The fix clears that stale pairing state so the device do…

Clearing of stale Bluetooth pairing state on mode switchPairing code/request flag left set across BLE->USB transition before fixBluetooth pairing lifecycle change in bootloader startup path
1047430dby Marko Bencun+7−65 files
Vendor flagged security relevance
Low 47 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge remote-tracking branch 'agent/benma-agent/silent-payment-constant-time-ecdh'

This commit changes how the BitBox02 hardware wallet computes a secret value used in Bitcoin silent payments. Previously, the device used a function that could leak timing information about the secret key through how long the calculation t…

Constant-time cryptographic operation addedVariable-time secret-key multiplication removedSide-channel hardening for silent payments
c1590222by Marko Bencun+21−122 files
No security note in commit
Moderate 59 AI analysisMessage 68 · Adequate
BB BitBoxBitBox02 firmware BitcoinHardware wallets

btc: use constant-time ECDH for silent payments

This commit hardens the BitBox02 hardware wallet's silent-payments feature against a side-channel attack. Previously, the device multiplied a secret key with a public key using a routine whose execution time could leak information about th…

Constant-time cryptographic operation introduced to replace variable-time secret-key multiplicationVariable-time scalar multiplication retained only on public operandsSilent payments private input key material (a_sum) no longer used in variable-time path
7e741cfdby benma's agent+21−122 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 50 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge branch 'nickez-agent/pin-protobuf-generators'

This commit is a build-system and developer-environment change. It pins the protobuf compiler and related Python tools to specific versions via a project-managed Python virtual environment, instead of relying on whatever version a develope…

Pinning build tools to exact versions reduces non-determinism in generated codeMoves protobuf compiler from system/Docker-installed binary to a version-locked Python wheelNo changes to firmware, cryptography, authentication, or device protocol logic
d072b0f9by Niklas Dusenlund+107−6411 files
No security note in commit
Informational 15 AI analysisMessage 92 · Strong
BB BitBoxBitBox02 firmware BitcoinHardware wallets

build: prefer local protoc for Rust bindings

This commit changes the build script that generates Rust code from protobuf definitions. It makes the build prefer a specific local copy of the protobuf compiler (protoc) installed in the repository's virtual environment, rather than relyi…

de8be632by NickeZ Agent+4−01 file
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
BB BitBoxBitBox02 firmware BitcoinHardware wallets

build: use IPv4 for container downloads

This change forces the build system to use IPv4 instead of IPv6 when downloading tools and software packages during Docker image creation. It is a build reliability fix for GitHub Actions CI runners that lack IPv6 connectivity, not a secur…

bc434dcfby NickeZ Agent+6−41 file
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
BB BitBoxBitBox02 firmware BitcoinHardware wallets

build: check regenerated protobuf bindings

This change improves a build/CI script that checks whether automatically generated protobuf binding files are up to date. It now also checks Python bindings and deletes old generated files before regenerating them, so stale files cannot hi…

No security-relevant code changeBuild/CI hardening onlyNo vulnerability fix or exploit mitigation present in diff
ff3f7474by NickeZ Agent+13−22 files
No security note in commit
Informational 15 AI analysisMessage 45 · Thin
BB BitBoxBitBox02 firmware BitcoinHardware wallets

Merge branch 'translate-passphrase-on-host'

This commit is a localization (translation) update for the BitBox02 hardware wallet. It replaces hard-coded English text strings in the passphrase unlock feature with calls to the device's internationalization system, so the same messages …

4dfa26b4by Marko Bencun+33−103 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.

AI review queuedrust/keystore: wrap is_locked() in bitbox02-rustby Marko Bencun · 15a71508 · Oct 30, 2025 · 8 filesMessage 68 · AdequateInformational 15Details
Commit message · Marko Bencun

rust/keystore: wrap is_locked() in bitbox02-rust

Original is renamed so the compiler can error if we missed one.

By moving all keystore calls to bitbox02_rust::keystore, we can more
easily replace the function bodies with native Rust
implementations (without wrapping C).

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

This commit is a routine internal code reorganization. It moves the keystore's `is_locked()` check from a low-level C-binding module into a higher-level Rust wrapper, renaming the original function to `_is_locked()` so the compiler flags any leftover direct uses. There is no change to what the function does or to any security behavior.

AI review queuedrust/keystore: wrap secp256k1_nonce_commit() in bitbox02-rustby Marko Bencun · 8c7d3008 · Oct 30, 2025 · 7 filesMessage 73 · AdequateInformational 13Details
Commit message · Marko Bencun

rust/keystore: wrap secp256k1_nonce_commit() in bitbox02-rust

Original is renamed so the compiler can error if we missed one.

By moving all keystore calls to bitbox02_rust::keystore, we can more
easily replace the function bodies with native Rust
implementations (without wrapping C).

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 13/100

This commit is a routine internal code reorganization in the BitBox02 firmware. It moves a cryptographic helper function, used in the anti-klepto signing protocol, from a low-level C-wrapping module into a higher-level Rust keystore module. The actual behavior of the function does not change; callers are simply updated to use the new location. There is no indication this fixes a security vulnerability.

Lower-prioritygdb: Add `bootload` functionby Niklas Dusenlund · 3b40748d · Oct 30, 2025 · 1 fileMessage 58 · ThinInformational 15Details
Commit message · Niklas Dusenlund

gdb: Add `bootload` function

The `bootload` function resets the MCU and boots from application
offset. Useful to restart firmware when ran with debugger.

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

This commit only changes a developer debugging helper script. It wraps existing debugger commands into a reusable function called 'bootload' so engineers can more easily restart the firmware during debug sessions. There is no change to the actual device firmware, no security fix, and no attack path introduced.

Lower-priorityrust/keystore: wrap copy_seed() in bitbox02-rustby Marko Bencun · ea82275a · Oct 30, 2025 · 7 filesMessage 68 · AdequateInformational 15Details
Commit message · Marko Bencun

rust/keystore: wrap copy_seed() in bitbox02-rust

Original is renamed so the compiler can error if we missed one.

By moving all keystore calls to bitbox02_rust::keystore, we can more
easily replace the function bodies with native Rust
implementations (without wrapping C).

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 routine internal code reorganization. It moves a function called copy_seed() from a low-level C-binding Rust module into a higher-level Rust module, renames the original to _copy_seed(), and updates all callers. The actual behavior of the firmware does not change; it is purely a refactoring step to make future Rust-only implementations easier.

AI review queuedrust/keystore: wrap secp256k1_sign() in bitbox02-rustby Marko Bencun · f69b98b8 · Oct 30, 2025 · 7 filesMessage 73 · AdequateInformational 15Details
Commit message · Marko Bencun

rust/keystore: wrap secp256k1_sign() in bitbox02-rust

Original is renamed so the compiler can error if we missed one.

By moving all keystore calls to bitbox02_rust::keystore, we can more
easily replace the function bodies with native Rust
implementations (without wrapping C).

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine internal code reorganization. It moves the function that creates secp256k1 signatures from a low-level Rust-C binding module into a higher-level Rust keystore module, and renames the original function so the compiler catches any remaining callers. The actual signing behavior, cryptographic math, and security properties are unchanged.

AI review queuedrust/keystore: wrap lock() in bitbox02-rustby Marko Bencun · 2358be85 · Oct 30, 2025 · 16 filesMessage 68 · AdequateInformational 15Details
Commit message · Marko Bencun

rust/keystore: wrap lock() in bitbox02-rust

Original is renamed so the compiler can error if we missed one.

By moving all keystore calls to bitbox02_rust::keystore, we can more
easily replace the function bodies with native Rust
implementations (without wrapping C).

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

This commit is a routine internal code reorganization. It moves the keystore lock() function call from a low-level C wrapper into a higher-level Rust module and renames the original function so the compiler can catch any missed references. There is no change to what the function does or to any security behavior of the device.

Lower-priorityreleases: Use firmware/vX for all firmwaresby Niklas Dusenlund · 011c8aa8 · Oct 29, 2025 · 2 filesMessage 68 · AdequateInformational 15Details
Commit message · Niklas Dusenlund

releases: Use firmware/vX for all firmwares

Previously `firmware-btc-only` was used as prefix for btconly firmwares.
Going forward `firmware` will be used as prefix for all firmwares.

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 routine build-system cleanup. It removes a separate version numbering path for the Bitcoin-only firmware variant so that all firmware editions use the same version tag prefix. There is no change to security-sensitive code, cryptography, or device behavior.

Lower-priorityfactorysetup: Let BLE chip store bond dbby Niklas Dusenlund · 220a0b1b · Oct 29, 2025 · 4 filesMessage 60 · AdequateLow 25Details
Commit message · Niklas Dusenlund

factorysetup: Let BLE chip store bond db

Let the BLE chip store the bond db during execution of the factory setup
firmware.

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

This commit changes the factory-setup firmware so that the Bluetooth chip, rather than the main processor, stores the Bluetooth pairing bond database. It also makes the factory setup reset the Bluetooth chip each time and always report an empty bond database, so the setup can be run repeatedly without leaving old pairing data behind. The change is described as a factory-process improvement; there is no direct evidence it fixes an exploitable security vulnerability.

Security candidatefactorysetup: update comment about auto_enter/upside_downby Marko Bencun · 2ee1f2e5 · Oct 29, 2025 · 1 fileMessage 73 · AdequateInformational 15Details
Commit message · Marko Bencun

factorysetup: update comment about auto_enter/upside_down

The old comment was from a time where jlink was already locked when we
flashed this image, so it was required to be able to get into the
bootloader again. Now this is not the case anymore, but we still need
these two flags to be set properly like this regardless.

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

This commit only rewrites comments in the factory setup code to explain why two bootloader flags are set the way they are. No code behavior is changed, so it has no security impact on its own.

Lower-prioritykeystore: port stretch_retained_seed_encryption_key to Rustby benma's agent · ed7c021b · Oct 19, 2025 · 5 filesMessage 85 · StrongInformational 12Details
Commit message · benma's agent

keystore: port stretch_retained_seed_encryption_key to Rust

- Replace function body by Rust impl, removing the original C function
and Rust wrapper
- Expose to C using extern "C" and use that in keystore.c

The function now returns bool instead of keystore_error_t for simpler
code. Among all the callsites, only one propagates keystore_error_t
instead of bool, and there we simply return a new error. We don't lose
much info, if it fails in the wild it is surely because of the
securechip and not the hashing.

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

This commit rewrites an existing cryptographic key-stretching function from C into Rust. It is a language port/refactor: the same operations (salted hash, secure-chip KDF, HMAC) are performed in the same order, and the function is still called from C. There is no evidence in the commit of a security bug being fixed or introduced.

Lower-prioritykeystore: wrap and unit test _stretch_retained_seed_encryption_key in Rustby benma's agent · 6c344756 · Oct 19, 2025 · 5 filesMessage 75 · AdequateInformational 15Details
Commit message · benma's agent

keystore: wrap and unit test _stretch_retained_seed_encryption_key in Rust

Afterwards we can easily replace the body with a Rust implementation
and know it's correct based on the tests.

75/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit is a routine code refactoring: it renames an internal-only C function so it can be called from Rust, adds a Rust wrapper, and includes unit tests. The actual key-stretching logic does not change. There is no security fix or vulnerability here.

Lower-prioritysecurechip: add safe wrapper of securechip_kdf in Rustby benma's agent · d41a49ba · Oct 19, 2025 · 3 filesMessage 50 · ThinLow 28Details
Commit message · benma's agent

securechip: add safe wrapper of securechip_kdf in Rust

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

This commit adds a new Rust wrapper function that lets other parts of the BitBox02 firmware ask the secure chip to perform a key-derivation operation (KDF). The wrapper is a defensive improvement: it checks error codes, returns a properly typed Rust error, and uses a zeroizing buffer so the derived 32-byte secret is cleared from memory when no longer needed. There is no direct evidence in the commit that this fixes an active security bug; it reads more like a safe API addition for future use.

Lower-prioritytest: remove unused mock_memory.cby Marko Bencun · cfa4c4d0 · Oct 18, 2025 · 2 filesMessage 67 · AdequateInformational 15Details
Commit message · Marko Bencun

test: remove unused mock_memory.c

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
AI analysis · Informational 15/100

This commit simply deletes an unused test helper file (mock_memory.c) and removes it from the test build list. It is a routine cleanup of dead test code and does not change any firmware behavior or fix any security issue.

Lower-priorityRemove C salt unit test now covered by Rustby benma's agent · 76079fba · Oct 18, 2025 · 2 filesMessage 55 · ThinInformational 15Details
Commit message · benma's agent

Remove C salt unit test now covered by Rust

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 simply deletes an old C-language unit test for a salt-hashing function because the same behavior is now tested in Rust. It does not change any production firmware code, cryptographic logic, or how devices operate. There is no security issue here.

Lower-priorityport salt.c to Rustby benma's agent · c3aad65b · Oct 18, 2025 · 3 filesMessage 71 · AdequateInformational 12Details
Commit message · benma's agent

port salt.c to Rust

test_salt.c unit tests is replicated in Rust. The C function body
calls the Rust function so we can also verify the C unit tests still
pass (to be removed in the next commit).

71/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 12/100

This commit rewrites a small cryptographic helper from C to Rust. It does not change the behavior visible to the rest of the firmware; the C function now simply calls the new Rust implementation. There is no indication this fixes or introduces a security bug.

Lower-priorityrust: expose memory_get_salt_root to Rustby benma's agent · 00cf5233 · Oct 18, 2025 · 4 filesMessage 45 · ThinInformational 15Details
Commit message · benma's agent

rust: expose memory_get_salt_root to Rust

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

This commit is a routine plumbing change: it makes an existing C function called memory_get_salt_root callable from Rust code. It does not change how the salt root is generated, stored, or used, and it does not add any new user-facing behavior. The change is accompanied by unit tests that verify the new Rust wrapper reads and writes the value correctly.

Lower-prioritytest: remove unused fake_memory_set_salt_rootby Marko Bencun · d240d725 · Oct 17, 2025 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · Marko Bencun

test: remove unused fake_memory_set_salt_root

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit removes an unused test helper function that set a fake cryptographic salt root during automated testing. It is a routine code cleanup with no effect on the real device firmware or user security.

Lower-priorityfixup! u2f: Do not turn off BLE when U2F is used over USBby Niklas Dusenlund · 471dc30a · Oct 16, 2025 · 1 fileMessage 50 · ThinLow 26Details
Commit message · Niklas Dusenlund

fixup! u2f: Do not turn off BLE when U2F is used over USB

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

This is a tiny one-line fix in the BitBox02 hardware wallet's USB message handling. It changes a 'return false' to a 'break' so that after ignoring a malformed or duplicate USB frame, the code continues to a later cleanup step instead of exiting early. The commit title suggests this is a follow-up fix to keep Bluetooth Low Energy (BLE) from being accidentally disabled when U2F (a web security key protocol) is used over USB. On its own, the change is a bug fix that prevents an early return from skipping state cleanup, but the diff is too small to confirm any direct security consequence.

Lower-priorityU2F: remove option to cancel u2f flowsby Niklas Dusenlund · a5fb700a · Oct 16, 2025 · 1 fileMessage 80 · StrongLow 29Details
Commit message · Niklas Dusenlund

U2F: remove option to cancel u2f flows

In the U2F architecture it isn't possible for the device to "cancel" a
user presence check because the browser can always just ask again. The
only way to cancel it is from the OS/browser.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
AI analysis · Low 29/100

This commit removes the ability for a user to cancel a U2F (Universal 2nd Factor) security-key confirmation prompt on the BitBox02 hardware wallet. Previously, the device likely showed an 'accept or cancel' prompt during U2F login operations; now it only allows 'accept'. The change is described as an architectural fix because web browsers can simply re-request authentication if the user cancels, so a device-side cancel button did not meaningfully stop the process and could confuse users.

Security candidateu2f: Do not turn off BLE when U2F is used over USBby Niklas Dusenlund · d6f22d77 · Oct 16, 2025 · 4 filesMessage 85 · StrongInformational 21Details
Commit message · Niklas Dusenlund

u2f: Do not turn off BLE when U2F is used over USB

iOS devices support u2f over USB, so no need to disable BLE when only
u2f is used.

iOS devices also send one packet of garbage when waking up, 64 null
bytes, which also is ignored, so that the bitbox still can connect to
the iOS device when it is awakened.

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
boot or update path
AI analysis · Informational 21/100

This firmware update fixes a bug where using U2F security-key features over USB accidentally turned off Bluetooth Low Energy (BLE). Because iPhones and iPads can use U2F over USB, disabling BLE meant the device could not reconnect wirelessly after the iOS device woke up. The patch also makes the firmware ignore a harmless 64-byte 'wake-up' packet sent by iOS. There is no direct evidence this is an exploitable security vulnerability; it appears to be a connectivity/availability bug.

Security candidatereleases: add v9.24.0by Marko Bencun · cf9db97e · Oct 15, 2025 · 4 filesMessage 38 · OpaqueInformational 15Details
Commit message · Marko Bencun

releases: add v9.24.0

38/100 · OpaqueMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component! No meaningful explanatory body! Opaque security-relevant change
Why it was queued
boot or update path
AI analysis · Informational 15/100

This commit adds release artifacts for BitBox02 firmware version 9.24.0. It contains two signed statements (assertions) confirming that building the source code at a specific git tag produces a firmware binary with a known SHA-256 hash. There is no code change, no bug fix, and no security-related content in the commit itself.

Lower-prioritygestures: Simplify some repetitive codeby Niklas Dusenlund · ffd238b0 · Oct 14, 2025 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Niklas Dusenlund

gestures: Simplify some repetitive code

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

This commit is a straightforward code cleanup in the touch gesture handling of the BitBox02 hardware wallet. It replaces five nearly identical two-line functions with a small lookup table and a loop. The order of one gesture event constant was moved in the enum so the loop can iterate over all event types. There is no security-relevant change: the same checks are performed in the same order and the same events are emitted under the same conditions.

Security candidatereleases: add v9.23.3by Marko Bencun · 4ab640b9 · Oct 13, 2025 · 4 filesMessage 38 · OpaqueInformational 15Details
Commit message · Marko Bencun

releases: add v9.23.3

38/100 · OpaqueMessage clarity
✓ Subject identifies a change✓ Names a concrete action or component! No meaningful explanatory body! Opaque security-relevant change
Why it was queued
boot or update path
AI analysis · Informational 15/100

This commit adds release artifacts for firmware version 9.23.3 of the BitBox02 hardware wallet. It contains two signed text files (assertions) confirming the expected SHA-256 hash of the compiled firmware binary for both the standard and Bitcoin-only editions. There is no code change and no security issue visible in the diff.

Lower-priorityui/waiting: start with logo, not lockscreenby Marko Bencun · 3d5ed1f2 · Oct 13, 2025 · 5 filesMessage 68 · AdequateInformational 15Details
Commit message · Marko Bencun

ui/waiting: start with logo, not lockscreen

40d150132797a2c5185fbbb9bf1926b24571780d refactored and introduced a
bug:

old behavior (before above commit)

logo -> lockscreen -> host connects -> logo

above commit changed to this by accident, skipping the logo at the start:

lockscreen -> host connects -> logo

This commit restores the original behavior.

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

This commit fixes a UI bug in the BitBox02 hardware wallet where the device showed the lockscreen instead of the company logo when first powered on. It restores the intended startup sequence: logo appears first, then switches to the lockscreen once the orientation/setup timer finishes and USB starts. There is no security issue here—only a visual display-order correction.

AI review queuedCHANGELOG: mark v9.24.0by Marko Bencun · 6b9aed4f · Oct 13, 2025 · 1 fileMessage 38 · OpaqueInformational 15Details
Commit message · Marko Bencun

CHANGELOG: mark v9.24.0

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

This commit only updates the CHANGELOG.md file to add a new version heading (v9.24.0). It contains no code changes, no bug fixes, and no security-related content. It is a routine documentation/release-management edit.