TZ
← All projectsTrezor

Trezor firmware

Firmware monorepo for Trezor One, Model T, and Safe devices.

BitcoinHardware walletsNormal
Repository coverage

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

1389security candidates446second-pass queue3263AI analyses
174commits · 30 days
454commits · 60 days
1764commits · 180 days
2913commits · 365 days
Backfill bands
Aug 5 → Feb 61298 seen115 candidatesComplete
Feb 6 → Jun 6775 seen58 candidatesComplete
Jun 6 → Jul 6217 seen13 candidatesComplete
Jul 6 → Aug 5360 seen54 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.

68/100 average clarity
890Strong · 80–100
1759Adequate · 60–79
1226Thin · 40–59
7Opaque · 0–39
1security candidate 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.
tychovrahe402169360668
Jakub Janků1113373681
Roman Zeyde725232642372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik913986267
Petr Susil1159286
Martin Pastyřík311227176
M1nd3r301111253071
Lukas Bielesch12885102065
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 38 minutes ago

Informational 15 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): remove Child from layout_delizia

This is a straightforward internal code cleanup in the bootloader user interface of Trezor firmware. It removes a wrapper type called Child that tracked whether child UI components needed repainting. The commit message explains that the bo…

506b71e5by Roman Zeyde+53−683 files
No security note in commit
Informational 12 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): drop the Bytes wrapper

This commit removes a small internal wrapper type called Bytes that was used to pass around byte buffers. The code now returns the underlying byte buffer directly instead of wrapping it first. There is no visible security fix or behavior c…

085575d4by Lukas Bielesch+3−153 files
No security note in commit
Informational 12 AI analysisMessage 67 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

docs(sdk): document security properties of get_address_mac

This commit only adds documentation comments to an existing function. It does not change any code behavior. The new comments explain that the function computes a security tag (MAC) linking a wallet path, address string, and coin type, and …

Documentation-only changeNo code logic modifiedNo validation added or removed
e4b974eaby matejcik+12−02 files
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): treat trezor-thp as our own crate

This is a supply-chain tooling configuration change. It tells the project's cargo vet auditing tool to treat the in-house 'trezor-thp' crate as first-party code rather than a crates.io package. There is no product behavior change, no vulne…

ec19e104by Jakub Janků+3−01 file
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): vet the vendored stabby crates

This commit is a bookkeeping change to Trezor's Rust supply-chain audit configuration. It tells the project's 'cargo vet' tool to treat three internally vendored 'stabby' crates as if they were published on crates.io, and adds temporary au…

Supply-chain audit configuration gap being closedVendored forked crates previously not vettedExemption covers unreviewed patches due to version-only matching
2a50599fby Jakub Janků+21−01 file
No security note in commit
Informational 15 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): teach mass-rebuild-combined.py about flakes

This is a small developer-tooling fix. It changes an internal build helper script so that it uses a newer Nix command ('nix develop') when the project has a 'flake.lock' file, instead of the older 'nix-shell'. The change only affects how t…

524f9fa4by Martin Milata+3−11 file
No security note in commit
Low 32 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): add `requires_unlock` paths helper

This is a small internal cleanup in the Trezor firmware that replaces several direct checks for a special SLIP-25 Bitcoin path with a single helper function called requires_unlock(). It does not change the security rules themselves; it onl…

Refactoring only: no change in access-control policySLIP-25 path gating remains present and centralizedExternal-app crypto path restriction preserved
47ea7912by M1nd3r+17−155 files
No security note in commit
Informational 24 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(legacy): warn before updating bootloader

This commit adds a user confirmation step before the Trezor device updates its bootloader. Previously, the bootloader update began automatically after detecting an older or known bootloader. The change shows a warning screen telling the us…

User confirmation added before destructive bootloader updateWarning about power-loss bricking risk during bootloader eraseBootloader update is a high-privilege, device-modifying operation
451f3f68by Andrew Kozlik+27−02 files
No security note in commit
Informational 13 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk,core): move the IPC structs to Core

This commit is a code cleanup: it moves some data structure definitions from the publicly shared SDK crate into the internal Core firmware crate. The structures describe how apps ask the device to show on-screen prompts and progress bars. …

cb9680c9by Lukas Bielesch+86−12313 files
No security note in commit
Informational 11 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(rust): ignore curve25519-dalek advisory

This commit adds a configuration file telling Trezor's Rust security audit tool to ignore a known security advisory (RUSTSEC-2026-0620) for the curve25519-dalek cryptography library. The commit message states Trezor is not affected by this…

Suppression of a published Rust security advisory (RUSTSEC-2026-0620)Dependency chain involves curve25519-dalek / x25519-dalek used via trezor-noise-rust-cryptoNo code or cryptographic changes in the commit
3efbd915by M1nd3r+6−01 file
Vendor flagged security relevance
Moderate 62 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core, legacy): reject locked SLIP-25 paths

This update fixes a security gap in Trezor hardware wallets. Normally, when users disable strict safety checks, the device allows unusual key paths. However, it was still supposed to block SLIP-25 (CoinJoin) paths unless the user had expli…

Bypass of path validation when safety checks are disabledLocked SLIP-25/CoinJoin paths could be used without authorizationFix applies to both core and legacy firmware
331b3f80by M1nd3r+299−89 files
Vendor flagged security relevance
Low 35 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(sdk): pass uncompress_pubkey key by reference

This commit fixes a Rust programming mistake in how a public-key helper function passes data across the app-to-firmware boundary. The function now passes the 33-byte compressed public key by reference (pointer) instead of copying it by val…

ABI boundary hardening: extern "C" function signature changed from by-value array to by-reference arrayCompiler lint enabled: #![deny(improper_ctypes_definitions)]Cryptographic API affected: ecdsa_uncompress_pubkey handles public keys
6639995eby Lukas Bielesch+10−85 files
No security note in commit
Informational 15 AI analysisMessage 45 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

style(core): fix clippy errors in extapp UI code

This commit is a code-style cleanup that fixes warnings reported by the Rust linter (Clippy) in user-interface code for external apps. It replaces some verbose conversion calls with simpler equivalents and removes an unnecessary pair of pa…

4c17c2baby Lukas Bielesch+7−81 file
No security note in commit
Informational 15 AI analysisMessage 83 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore: bump versions

This commit only changes version numbers and translation metadata across Trezor firmware components. There are no code logic changes, bug fixes, or security-related modifications in the diff. It is a routine release bookkeeping step.

332283eaby Jakub Janků+16−1613 files
No security note in commit
Informational 13 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): gate the app API under app_runtime

This commit is a straightforward internal code reorganization. It moves several app-facing Rust modules (error handling, crypto, UI, logging, wire protocol, etc.) under a single `app_runtime` module and re-exports them at the crate root. T…

16ce7bbfby Lukas Bielesch+32−3611 files
No security note in commit
Informational 17 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(legacy): handle AppError failure type

This commit adds a missing human-readable error message for a new failure type called 'AppError' in the older Trezor (legacy) firmware. Without this change, if the device encountered an AppError it would fall through to a generic 'Firmware…

Missing enum case in failure-reporting pathPotential misclassification of runtime errors to usersNo memory safety, cryptographic, or authorization changes
b7aef814by Lukas Bielesch+3−01 file
No security note in commit
Moderate 59 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): attribute user MLSPERR to unprivileged task

This commit fixes a bug in the Trezor firmware's task scheduler where a specific hardware memory fault (related to lazy floating-point register saving) was being blamed on the wrong task. Previously, the kernel/privileged code could be inc…

Incorrect fault attribution between privileged kernel and unprivileged taskPotential wrong task termination/killing due to misattributed memory faultLazy floating-point state preservation (FP lazy stacking) edge case
b3e499f5by cepetr+50−51 file
No security note in commit
Moderate 65 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): validate unprivileged task psp

This commit adds a safety check inside the Trezor hardware wallet's core task scheduler. Before saving a task's state during a context switch, the operating system now verifies that the task's stack pointer points to a valid location withi…

Kernel writes to user-controlled pointer without bounds validation (pre-patch)Privilege escalation / memory corruption via forged PSP in unprivileged taskAddition of explicit PSP range validation before context save
8097a4a5by cepetr+42−21 file
No security note in commit
Informational 15 AI analysisMessage 88 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core/delizia): remove stale Pad::clear() call

This is a tiny build-fix patch, not a security change. A previous code cleanup removed a function called Pad::clear(), but a new screen in the passphrase input still tried to call it, causing the T3T1 hardware wallet firmware build to fail…

57b35a8fby Jakub Janků+0−11 file
No security note in commit
Informational 12 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/rust/crypto): add ECDSA public key uncompression

This commit adds a new internal helper function that converts compressed ECDSA public keys into their uncompressed form. It is a feature addition with no visible security bug: the code validates the key prefix, uses the correct buffer size…

be9504b9by Lukas Bielesch+57−02 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.

Security candidatechore(core/eckhart): update chunkfied text styleby Lukas Bielesch · 46fe1715 · Oct 7, 2025 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · Lukas Bielesch

chore(core/eckhart): update chunkfied text style

[no changelog]

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

This is a routine user-interface styling update for the Trezor hardware wallet's newer 'Eckhart' screen layout. It changes how long text (such as cryptocurrency addresses) is broken into chunks and how pagination hints are shown. There is no indication of any security bug or vulnerability being fixed.

Security candidatefeat(core/eckhart): automatic hint counter for textscreenby Lukas Bielesch · 6549a1de · Oct 7, 2025 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · Lukas Bielesch

feat(core/eckhart): automatic hint counter for textscreen

[no changelog]

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

This commit adds an automatic page counter hint to a text screen UI component in the Trezor firmware. It is a user-interface feature change, not a security fix or vulnerability. There is no indication it addresses any security issue.

Security candidatefeat(core/eckhart): remove percentage from loadersby obrusvit · 527dec7e · Oct 7, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · obrusvit

feat(core/eckhart): remove percentage from loaders

[no changelog]

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

This commit removes the on-screen percentage number from loading/progress indicators in the Trezor hardware wallet's user interface. It is a cosmetic UI change only and does not alter security logic, cryptography, or how data is handled.

Security candidatefeat(core/eckhart): use different text in Progressby obrusvit · 6219c192 · Oct 7, 2025 · 5 filesMessage 62 · AdequateInformational 15Details
Commit message · obrusvit

feat(core/eckhart): use different text in Progress

[no changelog]

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

This commit is a routine user-interface layout tweak for the Trezor hardware wallet's Eckhart design. It changes how text is positioned on progress screens (for example, 'Signing transaction...' and 'Please wait') and moves some shared layout constants into a common theme file. There is no security-relevant change here.

AI review queuedfeat(core/eckhart): progress copy to use ellipsisby obrusvit · e301c5a6 · Oct 7, 2025 · 8 filesMessage 57 · ThinInformational 15Details
Commit message · obrusvit

feat(core/eckhart): progress copy to use ellipsis

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
signing or wallet pathtranslation-only discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only changes user-facing text strings. It adds an ellipsis (three dots) to progress messages like "Please wait" and "Processing" for the new "Eckhart" device layout, while keeping the old wording for older layouts. It also updates the translation files and their cryptographic signature metadata. There is no code behavior change and no security relevance.

Lower-prioritychore(core): update fixturesby obrusvit · d69e262a · Oct 7, 2025 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · obrusvit

chore(core): update fixtures

[no changelog]

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

This commit only updates expected test result hashes (called 'fixtures') in a single test data file. No actual product code was changed, so it cannot introduce or fix a security vulnerability on its own. The hash changes likely reflect an earlier code or test update that altered screen output for the T3W1 device.

Security candidatefeat(core): host afueraby obrusvit · d776fac0 · Oct 7, 2025 · 16 filesMessage 63 · AdequateInformational 15Details
Commit message · obrusvit

feat(core): host afuera

- removes the occurences of "host" and instead using something more
user-friendly like "app" or "connected device"

[no changelog]

63/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathboot or update path
AI analysis · Informational 15/100

This commit only rewords user-facing text in the Trezor firmware. It replaces the technical word 'host' with friendlier terms like 'app', 'connected device', or 'connection' across on-screen messages, translations, and test snapshots. There is no change to security logic, permissions, or behavior.

Security candidatechore(core): remove Japan from regulatory screenby obrusvit · e7e3a4b8 · Oct 7, 2025 · 3 filesMessage 72 · AdequateInformational 15Details
Commit message · obrusvit

chore(core): remove Japan from regulatory screen

- temporarily remove the regulatory screen for Japan until the
certification process is completed

[no changelog]

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
boot or update path
AI analysis · Informational 15/100

This commit removes Japan from a device menu screen that displays regulatory certification information. It is a routine product compliance change, not a security fix. There are no code changes that affect cryptography, authentication, or how the device protects funds or data.

Security candidatechore: remove unusued importby obrusvit · 5ca87c69 · Oct 7, 2025 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · obrusvit

chore: remove unusued import

[no changelog]

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

This is a trivial code cleanup: a single unused import was removed from a Rust source file. It has no functional or security effect on the Trezor firmware.

Security candidatefeat(core/eckhart): pin and wipe code device menu testsby Lukas Bielesch · 2cb2f9dc · Oct 7, 2025 · 12 filesMessage 72 · AdequateInformational 15Details
Commit message · Lukas Bielesch

feat(core/eckhart): pin and wipe code device menu tests

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
access controlsigning or wallet pathauthentication path
AI analysis · Informational 15/100

This commit adds and updates automated user-interface tests for the PIN and wipe-code menus on the Trezor Safe 7 (Eckhart) hardware wallet. It also renames some Spanish translation strings for consistency. There is no change to the firmware's security logic, cryptography, or device behavior—only test code and translations are modified.

Lower-priorityfix(core): reset settings on wallet wipeby tychovrahe · 133d138a · Oct 7, 2025 · 1 fileMessage 57 · ThinLow 33Details
Commit message · tychovrahe

fix(core): reset settings on wallet wipe

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 33/100

This commit fixes a bug where wiping a Trezor wallet did not reset all device settings. Previously, settings like haptic feedback, RGB LED, Bluetooth, and experimental features could remain enabled or disabled based on the old wallet's preferences instead of being reloaded from storage after a wipe. The fix makes sure these settings are reloaded when the wallet is reset, so the device behaves consistently with a fresh state.

Security candidateFix: Center align shown pin for Eckhart (#5946)by Suyash Shandilya · 6d1ff1b3 · Oct 6, 2025 · 2 filesMessage 88 · StrongInformational 15Details
Commit message · Suyash Shandilya

Fix: Center align shown pin for Eckhart (#5946)

* fix(eckhart): shown pin should be center aligned

Added a new `space_out_str` function in strutils which adds spaces
between an input string for a clean look. Removed use of Chunks for
spacing visible PIN string.
[no changelog]

* chore(ui): update fixtures

88/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
access controlboot or update pathauthentication path
AI analysis · Informational 15/100

This commit is a visual polish fix for the Trezor hardware wallet's newer 'Eckhart' screen layout. It changes how the entered PIN is displayed so the digits are centered and spaced out nicely. There is no security-relevant change here—only the on-screen appearance is adjusted, and the corresponding test snapshots are updated.

Lower-prioritychore: update fixtures [no changelog]by M1nd3r · 4341e094 · Oct 6, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore: update fixtures
[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only updates SHA-256 hashes in a test fixtures file (tests/ui_tests/fixtures.json). These hashes are used by automated UI tests to verify that screen outputs match expected snapshots. No firmware code, cryptographic logic, or user-facing behavior was changed. There is no security relevance in the diff itself.

Lower-priorityrefactor(storage): rename `stretch_pin()` to `mcu_pin_stretch()`by Ondřej Vejpustek · 10ec8308 · Oct 6, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

refactor(storage): rename `stretch_pin()` to `mcu_pin_stretch()`

[no changelog]

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

This commit is a simple rename of an internal function from stretch_pin() to mcu_pin_stretch(). No behavior, logic, or security properties of the code changed. It is a routine code cleanup to make the function's purpose clearer.

Lower-priorityrefactor(core/embed): remember optiga auto statesby Ondřej Vejpustek · eb21ec78 · Oct 6, 2025 · 3 filesMessage 57 · ThinLow 35Details
Commit message · Ondřej Vejpustek

refactor(core/embed): remember optiga auto states

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 35/100

This change refactors how the Trezor hardware wallet tracks and clears temporary 'auto-state' sessions with the Optiga secure chip. Previously, the code manually cleared specific auto-states one by one. Now it keeps a list of all active auto-states and clears them all at once. The main security-relevant improvement is that the list is updated before sending the command to the chip, so if a communication error happens while receiving the response, the state is still recorded and can be cleaned up later. This reduces the risk of leaking or exhausting limited secure-chip session slots.

Lower-priorityrefactor(core/embed): introduce `optiga_reset_counter()`by Ondřej Vejpustek · a84f8c2c · Oct 6, 2025 · 3 filesMessage 62 · AdequateInformational 12Details
Commit message · Ondřej Vejpustek

refactor(core/embed): introduce `optiga_reset_counter()`

[no changelog]

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

This commit is a straightforward code cleanup: it replaces several places that manually built an 8-byte zero-padded counter value with a single helper function called optiga_reset_counter(). The behavior is unchanged, and there is no indication of a security bug being fixed.

Lower-priorityfeat(storage,core/embed): support multiple stretched pins in optigaby Ondřej Vejpustek · ba5c9158 · Oct 6, 2025 · 5 filesMessage 62 · AdequateLow 35Details
Commit message · Ondřej Vejpustek

feat(storage,core/embed): support multiple stretched pins in optiga

[no changelog]

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

This commit rewrites how the Trezor hardware wallet stores and verifies PINs when the Optiga secure chip is present. It replaces a single 'stretched PIN' slot with a chain of up to 10 slots (currently configured to 1, so behavior is unchanged for users). The goal is to make future brute-force and side-channel attacks against the PIN harder by adding more authorization steps and by separating the HMAC counter reset key from the main unlock path. Because the new code is complex and touches the PIN verification flow, any bug here could affect device security, but the commit itself is a defensive hardening feature rather than a fix for a known vulnerability.

Security candidatefeat(core/embed): refactor tropic secure channel initializationby Ondřej Vejpustek · 6cc6a877 · Oct 6, 2025 · 2 filesMessage 62 · AdequateLow 31Details
Commit message · Ondřej Vejpustek

feat(core/embed): refactor tropic secure channel initialization

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
seed or entropy path
AI analysis · Low 31/100

This commit refactors how a Trezor hardware wallet establishes a secure communication channel with an optional Tropic cryptographic chip. It removes a 'PRODUCTION-only hotfix' that had been mixing Tropic-sourced randomness into the device's random number generator. It also restructures the pairing-key selection logic so the code tries privileged, then unprivileged, then factory keys in a clearer sequence. The change is described as a feature/refactor with no changelog, not as a security fix. There is no direct evidence in the diff of an exploitable vulnerability, but removing a hotfix and changing secure-channel initialization are security-adjacent changes that warrant review.

Security candidatebuild(legacy): do not use tropicby Ondřej Vejpustek · 7a19da9d · Oct 6, 2025 · 1 fileMessage 57 · ThinInformational 16Details
Commit message · Ondřej Vejpustek

build(legacy): do not use tropic

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
boot or update path
AI analysis · Informational 16/100

This commit adds a build flag that disables a feature called 'tropic' in the legacy Trezor firmware build. On its own, the change is a straightforward build configuration tweak with no visible security bug fix. It may be a defensive hardening step or simply removing an unused feature, but the commit message gives no security context.

Security candidatefeat(storage,core/embed): use tropic for pin protectionby Ondřej Vejpustek · 67dcf308 · Oct 6, 2025 · 5 filesMessage 62 · AdequateLow 35Details
Commit message · Ondřej Vejpustek

feat(storage,core/embed): use tropic for pin protection

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
access control
AI analysis · Low 35/100

This commit adds support for using a second hardware security chip called Tropic to protect the device PIN, alongside the existing Optiga chip. It is a feature addition that strengthens PIN protection by adding another physical barrier against brute-force and chip-level attacks. There is no direct evidence in the commit that it fixes an existing security flaw; it appears to be a defensive hardening change.

Security candidatefix(storage): use `rng_fill_buffer_strong()`by Ondřej Vejpustek · c3e3d85b · Oct 6, 2025 · 3 filesMessage 47 · ThinModerate 57Details
Commit message · Ondřej Vejpustek

fix(storage): use `rng_fill_buffer_strong()`

[no changelog]

47/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
seed or entropy path
AI analysis · Moderate 57/100

This commit changes how the Trezor hardware wallet generates random numbers used to protect PINs, wipe codes, and encrypted storage. It replaces direct calls to a basic random function with a stronger random-number wrapper for sensitive operations, and adds a weaker wrapper for less critical uses. The change suggests the developers want to enforce a stricter random source for security-critical material, but the commit itself does not explain whether the old function was actually weak or exploitable.

Security candidatefeat(core/embed): make pin verification faster on T3W1by Ondřej Vejpustek · 915d14d3 · Oct 6, 2025 · 2 filesMessage 72 · AdequateLow 44Details
Commit message · Ondřej Vejpustek

feat(core/embed): make pin verification faster on T3W1

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
access controldefensive validation
AI analysis · Low 44/100

This commit changes how many times a device 'stretches' (repeats and strengthens) the user's PIN before checking it. On T3W1 devices, when a build-time flag called STRETCHED_PIN_COUNT is greater than 1, the code now reduces both Optiga hardware stretching and software PBKDF2 stretching to a single iteration. The stated goal is to make PIN verification faster. Reducing stretching weakens the protection against brute-force attacks if an attacker obtains the stored secrets, but the change is conditional on a build flag and does not by itself create a direct remote exploit. It is a security-relevant hardening reduction rather than an obvious vulnerability.

Lower-priorityfix(core): fix syshandle_write_blocking behaviorby cepetr · f6357091 · Oct 6, 2025 · 1 fileMessage 57 · ThinLow 32Details
Commit message · cepetr

fix(core): fix syshandle_write_blocking behavior

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 32/100

This commit fixes a bug in a low-level Trezor firmware function that writes data from the device. Previously, when a timeout was requested, the code only waited for the channel to become ready but then tried to write all data at once, ignoring that the hardware might only accept a portion. The fix loops, writing in chunks and waiting again until all data is sent or the timeout expires. This is a reliability/robustness fix that could prevent incomplete or failed writes in communication with the host.

Lower-priorityfix(core): fix usb vcp ring bufferby cepetr · edae5ae8 · Oct 6, 2025 · 5 filesMessage 57 · ThinLow 48Details
Commit message · cepetr

fix(core): fix usb vcp ring buffer

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 48/100

This commit rewrites the USB virtual serial port (VCP) ring buffer code in Trezor's firmware. The old code tracked buffer space using simple read/write counters, which could become inconsistent when the USB data-out interrupt and the application read data at the same time. The new code uses a dedicated ring-buffer module that protects its state with interrupt locks and tracks how many bytes are actually used. It also stops requesting new USB packets when the buffer is nearly full, preventing overflow and lost data. The change is a hardening/bug-fix patch; the commit message does not call it a security fix, but race conditions in USB buffering can affect device reliability and, in the worst case, be abused to cause information leakage or denial of service.

Security candidatefeat(prodtest): ping command with an argumentby cepetr · 3df55083 · Oct 6, 2025 · 3 filesMessage 57 · ThinInformational 16Details
Commit message · cepetr

feat(prodtest): ping command with an argument

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 16/100

This commit adds an optional text argument to the Trezor production-test firmware's 'ping' command. Previously, 'ping' always replied with just 'OK'. Now, if you type 'ping ABC', the device replies 'OK ABC'. It is a small feature change in a diagnostic/testing tool, not a security fix or vulnerability.