TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1370security candidates439second-pass queue3237AI analyses
175commits · 30 days
442commits · 60 days
1771commits · 180 days
2886commits · 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
872Strong · 80–100
1756Adequate · 60–79
1202Thin · 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.
tychovrahe397165356667
Jakub Janků1083371681
Roman Zeyde722231640372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Lukas Bielesch1168097065
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 19 minutes ago

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 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
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): replace get_xpub and get_public_key with get_public_node

This commit is a routine internal code cleanup in the Trezor firmware SDK. It renames and consolidates two ways of reading a public key into a single function, and adds a helper to decompress ECDSA public keys. There is no indication of a …

8c30110eby Lukas Bielesch+35−424 files
No security note in commit
Low 41 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): handle bkpt instruction in unprivileged mode

This firmware update changes how the Trezor device handles a special ARM processor instruction called BKPT when it is executed by low-privilege code (unprivileged mode). Previously, such a breakpoint could escalate into a HardFault and reb…

Prevents unprivileged BKPT from escalating to HardFault/RSOD rebootAdds DebugMonitor exception handler that exits the faulting taskComment explicitly notes remaining RSOD behavior at RDP level 0 on Secure-Monitor devices
bcbcd7fbby cepetr+22−02 files
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/caesar): use arrow in HtC anim

This commit is a user-interface polish change for the Trezor hardware wallet. It replaces the text label on the 'hold to confirm' button with a small arrow icon in one product variant (Caesar), and shortens the translated button text in se…

01422b74by obrusvit+6790−676712 files
No security note in commit
Informational 13 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): remove unused clearing-related API in `Pad`

This is a code cleanup change in the Trezor firmware's user-interface code. It removes an old 'clear' flag and related functions from a background-drawing helper called Pad, because that flag no longer did anything useful. The commit does …

ddbd3ca0by Roman Zeyde+44−15949 files
No security note in commit
Informational 15 AI analysisMessage 82 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing ES test

This commit updates translation files for the Trezor hardware wallet. It corrects a typo in the Spanish translation ('Tiiempo' to 'Tiempo'), adjusts wording in several languages, and updates the digital signature that verifies the translat…

580f40f8by Michal Kazda+41−216 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): add PT glyph `â`

This commit adds a single missing Portuguese character (â) to the font files used on Trezor hardware wallets. It is a routine translation/localization fix with no security relevance.

2bf28f83by Michal Kazda+562−325 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): slide the eye hint and hidden characters in together

This commit is a cosmetic UI animation cleanup. It removes a 65-millisecond delay so that an eye icon and hidden password characters slide onto the screen at the same time, instead of starting at slightly different times. There is no secur…

faf18c8fby Anderson Guimaraes+5−233 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): move Eckhart passphrase input event handling to a helper [no changelog]

This commit is a pure code cleanup (refactor) in the Trezor firmware's passphrase input screen. It moves the existing event-handling logic into a new helper method without changing what the code actually does. There is no security-relevant…

0ebda150by Anderson Guimaraes+44−401 file
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): address review of the passphrase eye hint

This commit is a small internal cleanup of the passphrase-entry animation on Trezor hardware wallets. It renames timers, computes an animation value once instead of twice, and moves responsibility for redrawing to the caller. There is no i…

f97e8dd5by Anderson Guimaraes+53−493 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(translations): sync Crowdin translations

This commit is a routine synchronization of translated user-interface text strings from the Crowdin translation platform into the Trezor firmware. It only changes wording in Czech, German, Spanish, French, Indonesian, and Portuguese transl…

7c7bb52cby Thalarion+334−2597 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): extract the firmware's embedded image updates

This commit is a straightforward code cleanup: it moves the existing bootloader and nRF firmware update logic into a new helper function without changing what the code actually does. There is no security-relevant change visible in the diff.

5fec68edby tychovrahe+38−261 file
No security note in commit
Moderate 50 AI analysisMessage 100 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(solana): accept sysvars loaded from ALTs

This update fixes a bug in Trezor's Solana transaction handling. Some Solana transactions use a feature called 'address lookup tables' to save space, and Trezor was incorrectly rejecting valid transactions when a special system account (a …

Change relaxes a previously strict validation rule (sysvar account identity verification) for some instruction typesRelaxation is scoped per-instruction via a new `allow_alt_sysvars` booleanStake program instructions retain strict rejection to prevent account-role shifting attacks
76114596by Jakub Janků+100−67 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): generated code changes for uint216 parser

This commit only regenerates code bindings for a new Ethereum ABI type called ABI_UINT216. It adds the new numeric value 50 to several auto-generated enum files in Python and Rust. There is no actual parser logic, security fix, or vulnerab…

a669d909by PrisionMike+59−504 files
No security note in commit
Informational 20 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add uint216 support

This commit adds support for a new Ethereum data type, uint216, to Trezor's clear signing feature. It is a small, additive feature change with no obvious security problem. There is no indication in the commit that this fixes a vulnerabilit…

bbd7a797by PrisionMike+3−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.

Lower-prioritydocs(core): changelog for 2.9.6by Ioan Bizău · c5ae8c14 · Dec 16, 2025 · 9 filesMessage 72 · AdequateInformational 15Details
Commit message · Ioan Bizău

docs(core): changelog for 2.9.6

(cherry picked from commit 735be23696d5919df01fa62894899219b8e94a74)

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit only updates documentation: it moves changelog entries for firmware version 2.9.6 into the published changelog files and deletes the temporary source files. No program code is changed, so this commit by itself cannot introduce or fix a security vulnerability.

Lower-prioritychore: update definitions timestampby Ioan Bizău · 20b73d25 · Dec 16, 2025 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: update definitions timestamp

(cherry picked from commit 8d67e1fde12191b3e6aa4de3475484a1df19eb74)

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit simply updates a timestamp and a matching version number used to track the latest released Ethereum token/chain definitions. There is no code logic change, no bug fix, and no security-related content.

Lower-prioritychore: update releases.jsonby Ioan Bizău · 7f1fa33b · Dec 16, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: update releases.json

(cherry picked from commit 09ed4472674eda3d4119f44c08ee69fb68aef81c)

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit simply adds a new firmware version number (2.9.6) and the device model it supports (T3W1) to a release metadata file. There are no code changes, no bug fixes, and no security-related content in the diff.

Security candidatechore: update secmon for T3W1by Ioan Bizău · 6647b72c · Dec 16, 2025 · 2 filesMessage 80 · StrongInformational 3Details
Commit message · Ioan Bizău

chore: update secmon for T3W1

* both production secmon (signed) and dev secmon (`BOOTLOADER_DEVEL=1`)
* built from `secmon/v1.0.5`

```
$ sha256sum core/embed/models/T3W1/secmon/secmon*.bin
230d709677831166fd3099f3633ea7670195a7cfbde64381865fb3b5866ff2f7 core/embed/models/T3W1/secmon/secmon.bin
c237cec22ff4560447a48b23cacd4e54e33060fbfeab0e2920c3459fe4e91701 core/embed/models/T3W1/secmon/secmon_DEV.bin
```

[no changelog]

(cherry picked from commit d3f5db4a486611dbe95f3c9c1faf4c9b3374b249)

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
update trust
AI analysis · Informational 3/100

This commit replaces two binary firmware files for the Trezor T3W1 hardware wallet's security monitor (secmon) with newer versions built from secmon v1.0.5. The actual code changes are not visible because the files are binary blobs. There is no claim in the commit message that this fixes a security vulnerability, and no independent references were provided. On its own, this looks like a routine component update.

AI review queuedchore: sign language blobsby Ioan Bizău · 17b17241 · Dec 16, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: sign language blobs

[no changelog]

(cherry picked from commit 44d6b3d7c2415c7a7fd3306a35a9a3daf34275a2)

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
signing or wallet pathtranslation-only discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit simply adds a new digital signature entry to a JSON file that records approved language translation packages for Trezor devices. There is no code change, no bug fix, and no apparent security issue. It appears to be routine release housekeeping.

Lower-priorityfix(core): fix tropic reset by adding chip select handlingby tychovrahe · a8190e0e · Dec 16, 2025 · 1 fileMessage 62 · AdequateLow 29Details
Commit message · tychovrahe

fix(core): fix tropic reset by adding chip select handling

[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 29/100

This commit fixes how the Trezor hardware wallet resets its Tropic secure chip during startup. The change makes sure the chip-select line is pulled low before power is toggled and released afterward, which is needed for a clean reset. There is no direct evidence this is a security vulnerability rather than a reliability bug, but improper reset handling of a security chip could in theory lead to an unstable or unpredictable secure state.

Lower-priorityfix(core): fix tropic retry-command reset sequenceby tychovrahe · b3b0e8c0 · Dec 16, 2025 · 1 fileMessage 62 · AdequateLow 41Details
Commit message · tychovrahe

fix(core): fix tropic retry-command reset sequence

[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 41/100

This commit changes the order of two cleanup steps when a Tropic secure chip hits an alarm mode during a retry. Previously the code de-initialized the driver before resetting the chip; now it resets the chip first, then de-initializes, then re-initializes. The change is defensive and likely fixes a bug where the retry/reset sequence could leave the chip or driver in an inconsistent state. There is no claim in the commit that this is a security vulnerability, and no external references are provided.

Security candidatefix(core): remove rsod screens from rtl error handlingby cepetr · 80c5444a · Dec 16, 2025 · 22 filesMessage 62 · AdequateInformational 20Details
Commit message · cepetr

fix(core): remove rsod screens from rtl error handling

[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 20/100

This commit is a code cleanup in the Trezor firmware. It moves special error-screen functions (for wipe code, too many PIN attempts, install restricted, and device wiped) out of the runtime library (RTL) error-handling module and into a new dedicated 'rsod_special' module. It also removes the 'ensure' macro from a public header. The change is architectural refactoring; it does not appear to fix a security bug or introduce a new vulnerability. The commit message and diff give no indication this is a security patch.

Lower-priorityfeat(core): introduce error handling macrosby cepetr · 26df4197 · Dec 16, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce error handling macros

[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 adds a new set of helper macros for handling error codes inside the Trezor firmware's core runtime library. It is purely a code-structure addition: it defines patterns like 'if something failed, jump to cleanup code and return the error.' There is no bug fix, no behavior change to existing code, and no security vulnerability present in the diff itself.

Lower-priorityfeat(core): introduce new error codesby cepetr · 4f2e8908 · Dec 16, 2025 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce new error codes

[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 is a routine internal refactoring of how the Trezor firmware represents success/error status codes. It introduces a new typed status code (ts_t), helper macros to check it, and a function to convert HAL driver errors into these new codes. There is no change to user-facing behavior, no bug fix, and no security patch.

AI review queuedchore(translations): sync Crowdin translationsby obrusvit · bd329a7e · Dec 16, 2025 · 7 filesMessage 57 · ThinInformational 15Details
Commit message · obrusvit

chore(translations): sync Crowdin translations

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 pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine translation update. It changes translated text strings in Czech, German, Spanish, French, and Portuguese, updates the cryptographic signature that verifies those translations, and refreshes the expected screen hashes used by automated UI tests. There is no code behavior change and no security issue visible in the diff.

Security candidatefix(core): save some flash in board/bootloaderby cepetr · 54688c1c · Dec 12, 2025 · 1 fileMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core): save some flash in board/bootloader

[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
update trust
AI analysis · Informational 11/100

This is a one-line build configuration change in low-level firmware code. It swaps the condition used to decide whether to compile a special secure-mode memory check. The change appears aimed at reducing flash memory usage in board/bootloader builds, not at fixing a security vulnerability. There is no direct evidence in the commit of a security issue.

Security candidaterefactor(core): use LOG macros instead of printfsby cepetr · a1fa1fbb · Dec 12, 2025 · 16 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

refactor(core): use LOG macros instead of printfs

[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 commit is a straightforward code cleanup: it replaces old-style printf debug messages with a new centralized logging system (LOG_ macros). It also removes some unused non-production debug hooks and switches header include guards to '#pragma once'. There is no change to security logic, cryptography, user-facing behavior, or access controls.

Security candidatefeat(core): add trezorctl set-log-filter commandby cepetr · 0974bcbc · Dec 12, 2025 · 16 filesMessage 57 · ThinInformational 24Details
Commit message · cepetr

feat(core): add trezorctl set-log-filter command

[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 24/100

This commit adds a new developer-only command, `trezorctl set-log-filter`, that lets someone with physical debug access to a Trezor device change which internal log messages are printed. It only works when the device was built with a special debug-console feature enabled, and it does not change how ordinary user operations work. There is no direct evidence in the commit that this creates a security vulnerability, but any new debug command slightly increases the attack surface available to someone who already has debug access.

Security candidatefix(core): reduce unnecessary section alignmentby cepetr · 5dfbfaa0 · Dec 12, 2025 · 2 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core): reduce unnecessary section alignment

[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 11/100

This commit changes two bootloader linker scripts for Trezor hardware wallets, reducing the alignment padding between code/data sections from 512 bytes down to 4 bytes. The stated purpose is to remove unnecessary padding and save flash space. There is no indication in the commit or supplied references that this fixes a security vulnerability.

Security candidatefeat(core): introduce centralized loggingby cepetr · f804a1fb · Dec 12, 2025 · 25 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

feat(core): introduce centralized logging

[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 18/100

This commit adds a new centralized logging system to the Trezor firmware. It is a feature/refactoring change: debug output is routed through a new 'syslog' layer with log levels and filters, and the debug console is now gated behind a compile-time flag. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a developer-facing infrastructure improvement.

Security candidatefeat(core): add extended formatting capabilities to snprintfby cepetr · b1af5166 · Dec 12, 2025 · 15 filesMessage 62 · AdequateLow 39Details
Commit message · cepetr

feat(core): add extended formatting capabilities to snprintf

[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 · Low 39/100

This commit replaces Trezor's small, home-grown printf-style string formatter with a more capable third-party library (eyalroz/printf). The change is described as adding 'extended formatting capabilities' and is marked with '[no changelog]'. The new library supports more format specifiers, including the %n specifier, which can write back into caller-provided memory. Trezor's configuration enables %n support. Because this is a low-level runtime component used across bootloader, firmware, kernel, secure monitor, and production-test builds, any bug in the new formatter could have broad consequences. However, the commit itself does not fix a known vulnerability, and there is no vendor statement that this change is security-relevant.

Lower-priorityfix(core/printf): adapt printf libraryby cepetr · 83e3dda6 · Dec 12, 2025 · 2 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core/printf): adapt printf library

[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 11/100

This commit is a maintenance change to the Trezor firmware's embedded printf library. It adds source attribution comments, unconditionally includes a configuration header, and adds a compile-time guard that blocks printf from being used in production firmware builds. There is no direct evidence in the commit of a security vulnerability being fixed.

Lower-priorityfeat(core): improve dbg_console interfaceby cepetr · a0e0d20c · Dec 12, 2025 · 7 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

feat(core): improve dbg_console interface

[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 18/100

This commit is a small internal cleanup of the Trezor firmware's debug console. It changes the debug-console write function so it returns the number of bytes written (or an error code) instead of returning nothing. It also makes the USB virtual-com-port backend avoid blocking when called from interrupt context. The changes are confined to debug-only code and do not appear to fix a known security vulnerability.

Lower-priorityrefactor(core): remove mini_printf headerby cepetr · d7c820b4 · Dec 12, 2025 · 11 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

refactor(core): remove mini_printf header

[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 is a code cleanup change: it removes a thin wrapper header (mini_printf.h) and makes the rest of the firmware include the underlying printf library header directly. The actual formatting functions used are the same; only the names and file paths changed. There is no security fix or behavior change visible in the diff.

Lower-priorityfeat(docs): add centralized logging documentationby cepetr · 3748e46d · Dec 12, 2025 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(docs): add centralized logging documentation

[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
documentation-only discount
AI analysis · Informational 15/100

This commit only adds documentation. It describes how centralized logging works in Trezor firmware, how developers can turn logs on or off, and how logs are output during debugging. No code behavior was changed.

Security candidaterefactor(core): do not use mini_snprintf in board/bootloaderby cepetr · b969d71c · Dec 12, 2025 · 21 filesMessage 62 · AdequateLow 34Details
Commit message · cepetr

refactor(core): do not use mini_snprintf in board/bootloader

[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
update trustboot or update path
AI analysis · Low 34/100

This commit is a code cleanup that replaces the use of a small printf-style formatter (mini_snprintf) with simpler, purpose-built string helpers in the Trezor bootloader and low-level system code. It does not add or remove security features, and there is no direct evidence it fixes a specific vulnerability. The change may reduce the attack surface by removing format-string parsing from some paths, but it also introduces new helper functions whose correctness now matters for safety.

Lower-prioritychore(core): use `T | None` instead of `Optional[T]`by Roman Zeyde · eeb93ae0 · Dec 12, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): use `T | None` instead of `Optional[T]`

[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 is a minor code cleanup that changes how optional types are written in one Python file. It replaces the older `Optional[Type]` style with the newer `Type | None` style. There is no functional change and no security relevance.

Lower-priorityrefactor(core/thp): use an explicitly named flag for ACK handlingby Roman Zeyde · 198d5195 · Dec 12, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

refactor(core/thp): use an explicitly named flag for ACK handling

[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 is a minor code cleanup in Trezor firmware's THP (Trezor Host Protocol) channel handling. It replaces a repeated check (`expected_ctrl_byte is None`) with a clearly named boolean variable (`return_after_ack`). There is no functional change and no security impact.

Security candidatefeat(core): implementation of nRF FW version readout via SMP commands for realiability increase e.g. for cases when the nRF FW application is broken from whatever reason and can't reply to Trezor's FW version check for possible nRF FW update. The alternative way of FW version readout uses the MCUbooby bleska · 00bc9339 · Dec 11, 2025 · 5 filesMessage 95 · StrongLow 35Details
Commit message · bleska

feat(core): implementation of nRF FW version readout via SMP commands for realiability increase e.g. for cases when the nRF FW application is broken from whatever reason and can't reply to Trezor's FW version check for possible nRF FW update.
The alternative way of FW version readout uses the MCUboot SMP serial recovery feature which had already been enabled and used for nRF FW update in the field mainly. The version is returned as a structure of 4 uint fields representing major, minor, revision and build_num respectively (string received from nRF IC is decoded).
The development releases of nRF FW are to be built with: "./scripts/build_sign_flash.sh -b t3w1_revA_nrf52832/nrf52832 -c -d -s -f" command. '-d' is essential, with '-p' the build script generates and signs the image in a way that MCUboot can't verify that (it uses debug keys see hash_signer.py but the MCUboot expects the production key which has embedded inside "image_validate.c" file).

[no changelog]

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Why it was queued
defensive validationboot or update path
AI analysis · Low 35/100

This commit adds a backup way for the Trezor device to check the version of the wireless nRF chip's firmware. If the normal app-to-app communication fails, the device can now ask the nRF chip's bootloader directly over a different channel. This is meant to make firmware update decisions more reliable, not to fix a known security bug. The change does not appear to introduce an obvious vulnerability, but it does add parsing of data received from the nRF chip and changes how the device decides whether to force an update.