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

Lower-priorityHAL: use SecureChip event counterby Marko Bencun · cb8816bd · Nov 19, 2025 · 4 filesMessage 78 · AdequateInformational 15Details
Commit message · Marko Bencun

HAL: use SecureChip event counter

Proactivly replace calls wherever we have a HAL instance, so these
tests will not fail later when the code starts using the SecureChip HAL.

78/100 · AdequateMessage clarity
✓ 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 test code. It replaces calls to a fake/global securechip event counter with calls through a test-only mock hardware abstraction layer (HAL). There is no change to the actual firmware behavior or any user-facing security feature.

Lower-priorityHAL: add initial SecureChip HALby Marko Bencun · 11c2f00e · Nov 19, 2025 · 4 filesMessage 45 · ThinInformational 15Details
Commit message · Marko Bencun

HAL: add initial SecureChip HAL

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 internal refactoring: it introduces a new 'SecureChip' hardware-abstraction layer so that password-initialization calls go through a testable interface instead of calling the real secure chip directly. The actual security-sensitive operation (init_new_password) is still performed by the same underlying secure-chip code; only the call path is wrapped for unit testing. There is no indication of a vulnerability being fixed or introduced.

Security candidateport test_memory_functional C tests to Rustby benma's agent · 5ed0c203 · Nov 19, 2025 · 6 filesMessage 70 · AdequateInformational 15Details
Commit message · benma's agent

port test_memory_functional C tests to Rust

test_get_attestation_bootloader_hash is dropped as it's redundant with
the other more involved test that was ported.

70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
update trustseed or entropy path
AI analysis · Informational 15/100

This commit is a routine refactoring that rewrites existing C unit tests in Rust. It does not change the actual firmware behavior or fix any security issue. One redundant test was removed, and several internal test-only helpers were added so the Rust tests can call the same underlying C memory functions.

Lower-priorityrust/memory: unit test encrypted_seed_and_hmacby benma's agent · b624dbc6 · Nov 19, 2025 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · benma's agent

rust/memory: unit test encrypted_seed_and_hmac

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 adds a new unit test for the BitBox02 firmware's Rust memory module. It verifies that storing and retrieving an encrypted seed with its authentication code works correctly, rejects inputs that are too large, and does not overwrite existing data when a too-large input is attempted. There is no change to production code or security behavior.

Lower-priorityci: Improve simulators CIby Niklas Dusenlund · 2594dd2c · Nov 13, 2025 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · Niklas Dusenlund

ci: Improve simulators CI

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

This commit only changes the project's automated build and test configuration on GitHub. It upgrades the macOS runner version, renames one step label, adds a new macOS build job for simulator variants, and adjusts artifact upload patterns. There is no change to the actual firmware, wallet, or cryptography code, and no security issue is apparent.

Lower-prioritykeystore: remove unused Error variantsby Marko Bencun · 69dd468c · Nov 13, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Marko Bencun

keystore: remove unused Error variants

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

This commit simply removes three unused error labels from a Rust source file. It is a routine code cleanup with no functional change and no security relevance.

Lower-prioritykeystore: move Error from bitbox02 crate to bitbox02-rust crateby Marko Bencun · 970cd2f7 · Nov 13, 2025 · 2 filesMessage 65 · AdequateInformational 15Details
Commit message · Marko Bencun

keystore: move Error from bitbox02 crate to bitbox02-rust crate

Not needed there anymore as it's not mapping to any C error anymore.

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

This commit is a simple internal code cleanup: it moves a Rust error type definition from one internal crate to another. The same error variants and conversion logic are preserved exactly, just relocated. There is no user-facing change, no bug fix, and no security-relevant behavior change.

Lower-prioritykeystore: remove inline testing fixture by using HALby Marko Bencun · c1cf57bc · Nov 13, 2025 · 2 filesMessage 60 · AdequateInformational 12Details
Commit message · Marko Bencun

keystore: remove inline testing fixture by using HAL

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

This commit is a code cleanup in the BitBox02 firmware. It removes a hardcoded fake random number that was only used during automated testing and instead passes the hardware abstraction layer (HAL) random number generator through the function calls. The production code path already used the real device random generator; the change only affects how tests supply mocked randomness. There is no direct evidence this fixes an exploitable security vulnerability.

Lower-priorityremove src/cipher C functionsby Marko Bencun · 22e5efea · Nov 13, 2025 · 8 filesMessage 60 · AdequateInformational 12Details
Commit message · Marko Bencun

remove src/cipher C functions

Unused since moving keystore_unlock to Rust.

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

This commit removes unused C code that wrapped encryption/decryption routines. The functions were already replaced by Rust equivalents when keystore_unlock moved to Rust, so this is a cleanup change with no direct security impact.

Lower-prioritykeystore: port keystore_unlock to Rustby Marko Bencun · 161dda19 · Nov 13, 2025 · 6 filesMessage 45 · ThinInformational 12Details
Commit message · Marko Bencun

keystore: port keystore_unlock to Rust

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

This commit rewrites the wallet-unlock routine from C into Rust. It is a language port/refactor: the same password-stretching, seed-decryption, attempt-counting, and device-reset logic is preserved. There is no indication in the commit or supplied references that this fixes a security bug or introduces a vulnerability. It is a routine code-quality/migration change.

Lower-prioritykeystore: remove unused extern "C" functionby Marko Bencun · 14c75526 · Nov 13, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Marko Bencun

keystore: remove unused extern "C" function

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 an unused test helper function from the Rust keystore code. There is no security issue, no bug fix, and no change to the actual wallet behavior.

AI review queuedsimulator-graphical: Initial commitby Niklas Dusenlund · 16e58296 · Nov 13, 2025 · 40 filesMessage 35 · OpaqueInformational 15Details
Commit message · Niklas Dusenlund

simulator-graphical: Initial commit

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

This commit adds a new graphical simulator for the BitBox02 hardware wallet. It is a development and testing tool, not a change to the firmware that runs on real devices. There is no indication this commit fixes or introduces a security vulnerability.

AI review queuedbitbox02-sys: sort allowlistsby Niklas Dusenlund · ec23546d · Nov 13, 2025 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · Niklas Dusenlund

bitbox02-sys: sort allowlists

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 alphabetically sorts three lists of C function, variable, and type names that the Rust build process is allowed to reference. No names were added or removed, only reordered. It has no effect on device behavior or security.

Lower-prioritykeystore: remove remaining_attempts out param from keystore_unlockby Marko Bencun · 9904b78f · Nov 13, 2025 · 5 filesMessage 73 · AdequateInformational 15Details
Commit message · Marko Bencun

keystore: remove remaining_attempts out param from keystore_unlock

Use `keystore::get_remaining_unlock_attempts()` instead. This
simplifies the unlock function and porting it to Rust. It also would
allow showing the remainng attempts left before unlock too (e.g. if
there are only a few tries remaining).

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

This commit is a straightforward internal code cleanup. It removes an output parameter that reported how many password attempts were left from the unlock function, and instead makes callers use a separate existing function to get that count. The behavior of the device—how many attempts are allowed, what happens after too many wrong passwords, and how the user is informed—does not change.

AI review queuedkeystore: add get_remaining_unlock_attempts()by Marko Bencun · 9726a685 · Nov 13, 2025 · 2 filesMessage 35 · OpaqueInformational 15Details
Commit message · Marko Bencun

keystore: add get_remaining_unlock_attempts()

To simplify keystore_unlock() later.

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 adds a small helper function that reports how many more wrong password attempts are allowed before the device wipes itself. It also removes a testing-only restriction so the underlying counter can be read in normal builds. There is no security fix or vulnerability here—just a code cleanup to simplify a later change.

AI review queuedkeystore: more consistent treatment of keystore_unlock errorsby Marko Bencun · a2500b84 · Nov 13, 2025 · 2 filesMessage 73 · AdequateModerate 59Details
Commit message · Marko Bencun

keystore: more consistent treatment of keystore_unlock errors

Before, the device would be reset right after the 10th wrong
password. However, if there was any other error during unlock (e.g. a
securechip error) that is not caused by a wrong password, the device
would not be reset immediately, but at the start of the next unlock
attempt.

This commit unifies all error treatment, leading to a device reset
right away.

The alternative is to decrement the counter on any error other than
incorrect password, but that would drastically change the behavior of
the unlock function, and we'd rather be conservative here.

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
second-pass: broader security terminology
AI analysis · Moderate 59/100

This firmware update fixes a timing inconsistency in how the BitBox02 hardware wallet handles device-unlock failures. Previously, only a wrong password triggered an immediate device reset after 10 failed attempts, while other unlock errors (such as a secure-chip malfunction) delayed the reset until the next unlock attempt. Now any serious unlock error causes the reset right away, making behavior more predictable and preventing a window where a failing secure chip could leave the device in an ambiguous state.

Lower-priorityscreen: remove warning about unused paramby Marko Bencun · cc801879 · Nov 13, 2025 · 1 fileMessage 70 · AdequateInformational 15Details
Commit message · Marko Bencun

screen: remove warning about unused param

In testing, the `duration` param is unused.

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

This is a minor code-quality change that silences a compiler warning about an unused function parameter during testing. It does not change any runtime behavior or fix any security issue.

Lower-priorityrust: remove unused rust_base58_encode_checkby Marko Bencun · 18dfdbf9 · Nov 13, 2025 · 3 filesMessage 50 · ThinInformational 15Details
Commit message · Marko Bencun

rust: remove unused rust_base58_encode_check

The last use of rust_base58_encode_check was removed in 704623e1.

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

This commit simply deletes an unused helper function for Base58Check encoding and its associated test. It is a cleanup change with no security relevance.

Lower-prioritykeystore: cover early reset in unit testby benma's agent · 94384319 · Nov 12, 2025 · 3 filesMessage 55 · ThinInformational 12Details
Commit message · benma's agent

keystore: cover early reset in unit test

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

This commit only adds a new unit test and the test-only helper functions needed to run it. It checks that the device refuses further unlock attempts once the maximum failed-attempt count has already been reached. No production code behavior is changed, so this is not a security fix or vulnerability by itself.

Lower-prioritykeystore: test unlock counter resetby benma's agent · 53dead8c · Nov 12, 2025 · 1 fileMessage 55 · ThinInformational 12Details
Commit message · benma's agent

keystore: test unlock counter reset

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

This commit only adds two new automated tests for the BitBox02 hardware wallet's keystore. The tests verify that the failed-unlock-attempt counter resets correctly after a successful password entry, both when the device was previously locked and when it stays unlocked. No production code was changed, so this commit does not introduce or fix a live security issue by itself.

Security candidatekeystore: add locked lockout testby benma's agent · 39c1f85f · Nov 12, 2025 · 1 fileMessage 55 · ThinInformational 15Details
Commit message · benma's agent

keystore: add locked lockout test

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

This commit only adds a new automated test to the BitBox02 firmware. It checks that entering the wrong password repeatedly while the device is already locked correctly triggers the lockout mechanism and eventually wipes the seed. There is no change to production code, no new feature, and no fix to an existing bug.

AI review queuedkeystore: tighten hex literalsby benma's agent · a9963d80 · Nov 12, 2025 · 1 fileMessage 35 · OpaqueInformational 15Details
Commit message · benma's agent

keystore: tighten hex literals

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 only changes test code in a Rust firmware file. It replaces runtime hex string decoding with a compile-time `hex!()` macro and removes unnecessary `.unwrap()` and `.try_into()` conversions. There is no change to production behavior, no security fix, and no vulnerability introduced.

Lower-prioritykeystore: use slice::first_chunkby Marko Bencun · c7857bd7 · Nov 12, 2025 · 1 fileMessage 50 · ThinInformational 15Details
Commit message · Marko Bencun

keystore: use slice::first_chunk

Small optimization, avoiding creating an intermediate subslice.

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

This commit is a tiny internal code cleanup in the BitBox02 firmware. It replaces one Rust standard-library call with a newer, equivalent one that avoids creating a temporary sub-slice. The behavior is unchanged: it still takes the first 16 bytes from 32 random bytes and uses them as an encryption IV. There is no security issue visible in the diff.

AI review queuedwrapper.h: clang-formatby Marko Bencun · dda5af38 · Nov 12, 2025 · 1 fileMessage 28 · OpaqueInformational 15Details
Commit message · Marko Bencun

wrapper.h: clang-format

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

This commit is purely a code formatting change. It reorders two #include lines in a C header file so they are sorted alphabetically, matching the project's clang-format style. No functionality was changed, no security bug was fixed, and no new attack surface was introduced.

Lower-priorityrust/keystore: use HAL in encrypt_and_store_seedby benma's agent · aceededf · Nov 12, 2025 · 6 filesMessage 65 · AdequateInformational 12Details
Commit message · benma's agent

rust/keystore: use HAL in encrypt_and_store_seed

For `random`, and in the future for memory access.

65/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Names security-relevant behavior explicitly
AI analysis · Informational 12/100

This commit is a routine internal refactoring of how the BitBox02 firmware obtains random numbers when creating or encrypting a seed. It replaces a direct call to the device's random-number generator with a call through a new hardware-abstraction layer (HAL). The actual randomness source and the encryption logic are unchanged. There is no indication this fixes a security bug or introduces a vulnerability.