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 27 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-prioritytest(core): fix autolock test flakinessby Roman Zeyde · 2fb282c8 · Dec 11, 2025 · 2 filesMessage 90 · StrongInformational 15Details
Commit message · Roman Zeyde

test(core): fix autolock test flakiness

After the previous request fails with `ActionCancelled`, the event loop is restarted.

The following unlock operation should be triggered via a new wirelink request -
and not a debuglink one, since it may be dropped during the event loop restart.

[no changelog]

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit only changes an automated test file and its expected screen-output fingerprints. It makes a test less flaky by unlocking the simulated device through a normal wire request instead of a debug-only command after the event loop restarts. There is no change to the actual Trezor firmware or wallet behavior, so users are not affected.

Lower-priorityrefactor(core/embed): factor out `lt_r_mem_data_erase_write()`by Ondřej Vejpustek · 333a135c · Dec 11, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

refactor(core/embed): factor out `lt_r_mem_data_erase_write()`

[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 code cleanup: it extracts a repeated two-step operation (erase then write) into a single helper function and updates the only existing caller to use it. There is no change to what the code actually does, only to how it is organized. No security issue is introduced or fixed.

Lower-priorityfeat(core/embed): reset tropic and retry command when alarm mode is detectedby Ondřej Vejpustek · 66c15020 · Dec 11, 2025 · 3 filesMessage 77 · AdequateLow 45Details
Commit message · Ondřej Vejpustek

feat(core/embed): reset tropic and retry command when alarm mode is
detected

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Low 45/100

This commit adds automatic retry logic for a secure chip (Tropic) inside some Trezor hardware wallets. When the chip reports it is in 'alarm mode' or certain communication errors occur, the device now resets the chip and retries the command up to five times. The change is framed as a reliability improvement, but it touches sensitive security operations like signing, PIN verification, and key storage. There is no direct evidence this fixes an exploitable vulnerability, but retrying destructive commands (like 'mac_and_destroy') could in theory have security side effects if not handled carefully.

Lower-priorityrefactor(core/embed): factor out `generate_correct_mac_and_destroy_output()`by Ondřej Vejpustek · 3cb8a6f0 · Dec 11, 2025 · 1 fileMessage 62 · AdequateInformational 11Details
Commit message · Ondřej Vejpustek

refactor(core/embed): factor out `generate_correct_mac_and_destroy_output()`

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

This commit is a code cleanup: it moves two repeated calls to a hardware security function into a new helper function. The actual operations performed on the device are unchanged. There is no indication this fixes or introduces a security bug.

Lower-priorityfix(core): remove rcc module from non-secure kernelby cepetr · 3fa8cc60 · Dec 11, 2025 · 2 filesMessage 62 · AdequateLow 42Details
Commit message · cepetr

fix(core): remove rcc module from non-secure kernel

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

This commit removes low-level clock-control code from the non-secure part of Trezor's STM32U5 firmware and replaces it with small, safe stubs. The stated reason is that the full clock-control peripheral (RCC) is not safely accessible when the kernel runs in non-secure mode, so using the vendor's standard routines there could cause problems. The change is defensive hardening rather than a clear, exploitable bug fix.

Security candidatefix(core): avoid integer underflow in Caesar loaderby Roman Zeyde · f7cbe439 · Dec 11, 2025 · 1 fileMessage 89 · StrongInformational 18Details
Commit message · Roman Zeyde

fix(core): avoid integer underflow in Caesar loader

Otherwise, it will panic when `debug_assert`s are enabled.

[no changelog]

89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Why it was queued
cryptography-sensitive path
AI analysis · Informational 18/100

This commit fixes a minor arithmetic bug in the star-shaped loading animation on Trezor hardware wallets. When the previous code calculated the position just before the currently selected star, it could subtract 1 from 0, causing an integer underflow. In Rust, this only triggers a panic when special debug checks are enabled, so normal user devices would not crash. The fix avoids the underflow by adding the total star count before subtracting one, then wrapping with modulo. It is a UI-only change with no direct security impact on funds or device secrets.

Security candidatefix(core): avoid constructing an empty Pagerby Roman Zeyde · 9ab7f8fb · Dec 11, 2025 · 1 fileMessage 72 · AdequateInformational 21Details
Commit message · Roman Zeyde

fix(core): avoid constructing an empty Pager

`Pager::new()` will panic when `debug_assert`s are enabled.

[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
cryptography-sensitive path
AI analysis · Informational 21/100

This is a tiny one-line fix in the user-interface code of the Trezor hardware wallet. It changes a placeholder value from 0 to 1 so that a UI scrollbar helper object is never created with 'zero pages,' which would trigger an internal sanity check (a debug assertion) and crash the device in debug/test builds. In release builds the assertion is normally removed, so the practical security impact is low. There is no direct evidence this is exploitable by an attacker.

Security candidatefix(legacy): make sure EVM symbol is visibleby Roman Zeyde · 460dc70c · Dec 11, 2025 · 3 filesMessage 72 · AdequateLow 39Details
Commit message · Roman Zeyde

fix(legacy): make sure EVM symbol is visible

Separate amount value and unit, so they are displayed on separate lines.

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

This commit fixes how the Trezor One (legacy) hardware wallet displays Ethereum and EVM token amounts on its small screen. Previously, the numeric value and the currency symbol (like 'ETH' or a token ticker) were combined into one long string. On the device's narrow display this could cause the symbol to be cut off or hidden, making it hard for the user to know which asset they are approving. The change splits the value and the unit onto separate lines so the symbol is always visible. This is a user-interface safety improvement rather than a cryptographic bug, but it can help prevent users from accidentally approving misleading transactions.

Security candidatefix(legacy): use symbol name instead of EVM network shortcutby Roman Zeyde · c0749eef · Dec 11, 2025 · 2 filesMessage 62 · AdequateInformational 16Details
Commit message · Roman Zeyde

fix(legacy): use symbol name instead of EVM network shortcut

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 16/100

This commit fixes a data-generation template for Trezor's older (legacy) firmware so that Ethereum network entries use the proper currency symbol and network name fields instead of incorrectly copying the network shortcut into the symbol field and leaving the name blank. It appears to be a UI/labeling correctness fix rather than a vulnerability, but the change could affect what users see when confirming Ethereum transactions on the device.

AI review queuedtest(legacy): add a test for Base network symbolby Roman Zeyde · afa93c66 · Dec 11, 2025 · 2 filesMessage 67 · AdequateInformational 15Details
Commit message · Roman Zeyde

test(legacy): add a test for Base network symbol

[no changelog]

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit only adds a new test case for the Base cryptocurrency network. It does not change any production firmware code, so it cannot introduce a security vulnerability or fix one. It is purely a testing update.

Lower-priorityfeat(core): expose production date to micropythonby tychovrahe · 7e70874d · Dec 10, 2025 · 5 filesMessage 57 · ThinInformational 15Details
Commit message · tychovrahe

feat(core): expose production date to micropython

[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 simply exposes the device's production date to the Python/MicroPython layer in Trezor firmware. It is a feature addition, not a security fix or vulnerability. The change reads an existing date from device-specific flash memory and makes it available through a new function. There is no indication this introduces a security issue.

Lower-prioritystyle(rust/trezor-tjpgdec): formattingby Martin Milata · d841492e · Dec 9, 2025 · 1 fileMessage 45 · ThinInformational 15Details
Commit message · Martin Milata

style(rust/trezor-tjpgdec): formatting

[no changelog]

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

This commit only reformats the source code by splitting long function signatures across multiple lines. No behavior, logic, or security properties of the JPEG decoder were changed.

Lower-priorityci: stylecheck and test all rust cratesby Martin Milata · fa55d870 · Dec 9, 2025 · 5 filesMessage 67 · AdequateInformational 15Details
Commit message · Martin Milata

ci: stylecheck and test all rust crates

[no changelog]

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only changes how automated code checks and tests are run for Rust code. It adds a new CI job, creates a Makefile to run style checks, tests, and a linter across Rust crates, and adjusts gitignore files. There is no change to the actual Trezor firmware or wallet behavior, and no security bug is fixed or introduced.

Lower-prioritystyle(rust/trezor-client): lintsby Martin Milata · 50adcc8a · Dec 9, 2025 · 2 filesMessage 45 · ThinInformational 15Details
Commit message · Martin Milata

style(rust/trezor-client): lints

[no changelog]

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

This is a minor code-style cleanup in the Rust trezor-client library. It adds an empty placeholder feature flag named 'evolu' to the package manifest and removes an unused public re-export of the Solana module. There is no functional or security change visible in the diff.

Security candidatefeat(rust/trezor-thp): transport layerby Martin Milata · 912bea98 · Dec 9, 2025 · 11 filesMessage 57 · ThinInformational 12Details
Commit message · Martin Milata

feat(rust/trezor-thp): transport layer

[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
authentication path
AI analysis · Informational 12/100

This commit adds a brand-new Rust implementation of the Trezor Host Protocol (THP), a low-level transport layer that handles packet headers, fragmentation/reassembly, checksums, sequence/ack bits, and basic message types such as ping/pong, acknowledgments, and handshakes. It is a feature commit with no changelog entry and no accompanying security disclosure. The code is purely a new library plus tests/example; it does not patch any reported vulnerability.

Security candidatefeat(legacy): send BIP-380 descriptor in GetPublicKey responseby Martin Milata · 529607e8 · Dec 9, 2025 · 7 filesMessage 62 · AdequateInformational 19Details
Commit message · Martin Milata

feat(legacy): send BIP-380 descriptor in GetPublicKey response

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
cryptography-sensitive pathboot or update path
AI analysis · Informational 19/100

This commit adds a new convenience feature to the older Trezor One (legacy) firmware: when you ask the device for a public key, it now also returns a BIP-380 output descriptor string. This is a standardized way to describe how that public key should be used in Bitcoin wallets. The change is a feature addition, not a fix for a known security bug. It does not change how private keys are handled or how transactions are signed.

Security candidaterefactor(legacy): XPUB buffer lengthby Martin Milata · 2a010f8e · Dec 9, 2025 · 2 filesMessage 57 · ThinLow 27Details
Commit message · Martin Milata

refactor(legacy): XPUB buffer length

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

This commit slightly enlarges two internal memory buffers used to hold extended public keys (XPUBs) in the Trezor legacy firmware. The change gives each buffer one extra byte, likely to ensure a null terminator can always fit after a maximum-length serialized key. It is a defensive hardening change rather than a fix for a confirmed exploitable bug, and the commit message calls it a refactor with no changelog.

Security candidaterefactor(core/bootloader): extract PB helper macros into separate fileby tychovrahe · 71089e52 · Dec 9, 2025 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(core/bootloader): extract PB helper macros into separate file

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

This change simply moves a set of helper macros from one file to a new shared header file. The macros themselves are unchanged, and no program behavior is modified. It is a routine code cleanup (refactoring) with no security relevance.

Security candidatefeat(core): send build version in featuresby tychovrahe · 68dfb262 · Dec 9, 2025 · 10 filesMessage 57 · ThinInformational 19Details
Commit message · tychovrahe

feat(core): send build version in features

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 19/100

This commit adds a new 'build version' number to the information a Trezor device reports about itself when asked. It is a feature addition that exposes more version detail to host software and users. There is no indication in the commit that it fixes a security bug or introduces a vulnerability.

Lower-prioritydocs(core): improve BR usage in layout-lifecycleby obrusvit · dc7dccfa · Dec 8, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · obrusvit

docs(core): improve BR usage in layout-lifecycle

[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 updates internal documentation for the Trezor firmware project. It clarifies how user-interface 'ButtonRequest' events are generated from Python versus Rust code. No source code, build scripts, or security behavior was changed.

Security candidaterefactor(core/bootloader): extract fw check from main.cby tychovrahe · 4a126817 · Dec 8, 2025 · 8 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(core/bootloader): extract fw check from main.c

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

This commit is a straightforward code cleanup: it moves the existing firmware-validation logic out of the bootloader's main.c into a new file (fw_check.c/h) and updates the surrounding code to use the new structure. There is no change to what the bootloader actually checks or how strict it is. It is a pure refactor with no security-relevant behavior change visible in the diff.

Security candidatefix(legacy): Improve handling of busy deadline overflow.by Andrew Kozlik · adaa63f9 · Dec 5, 2025 · 4 filesMessage 67 · AdequateLow 37Details
Commit message · Andrew Kozlik

fix(legacy): Improve handling of busy deadline overflow.

[no changelog]

67/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
memory safetyboot or update path
AI analysis · Low 37/100

This commit fixes a subtle arithmetic bug in older Trezor hardware wallets related to how a 'busy' screen timeout is calculated. The old code added a delay value to the current time and compared it directly, which could misbehave when the internal millisecond counter wraps around to zero after a long period. The new code stores the start time and duration separately and checks whether the elapsed time is still within that duration, which handles wraparound correctly. This could affect whether the device reports itself as busy, shows the right screen, or clears the busy state at the expected time.

Security candidatefix(legacy): Avoid hypothetical division by zero.by Andrew Kozlik · a11de800 · Dec 5, 2025 · 1 fileMessage 57 · ThinInformational 16Details
Commit message · Andrew Kozlik

fix(legacy): Avoid hypothetical division by zero.

[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 pathboot or update path
AI analysis · Informational 16/100

This commit fixes a theoretical 'division by zero' bug in the progress-bar code shown on the Trezor hardware wallet during Bitcoin transaction signing. The bug could only crash the device if internal counters used to calculate progress ever became zero, which the developers describe as 'hypothetical.' It does not affect cryptographic signing itself or expose funds.

Security candidatefix(legacy): Avoid creation of zero-length VLA.by Andrew Kozlik · 2f3e9aa6 · Dec 5, 2025 · 1 fileMessage 57 · ThinLow 42Details
Commit message · Andrew Kozlik

fix(legacy): Avoid creation of zero-length VLA.

[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
cryptography-sensitive pathboot or update path
AI analysis · Low 42/100

This commit fixes a coding issue in the older Trezor firmware where a temporary memory buffer could be created with zero size when handling multi-signature Bitcoin wallets. The fix replaces a variable-length buffer with a fixed maximum-size buffer. A zero-length variable-length array is undefined behavior in C and could, in theory, be exploited to destabilize the device, though the commit itself does not describe a practical attack.

Security candidatefix(legacy): Improve handling of value overflows.by Andrew Kozlik · ea542943 · Dec 5, 2025 · 8 filesMessage 57 · ThinModerate 59Details
Commit message · Andrew Kozlik

fix(legacy): Improve handling of value overflows.

[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
memory safetycryptography-sensitive pathsigning or wallet pathboot or update path
AI analysis · Moderate 59/100

This commit fixes several numeric overflow bugs in the older Trezor One (legacy) firmware. The most user-visible issue was a fee-rate display overflow: when a transaction used extremely large input amounts, multiplying the fee by 100 to show decimal places could wrap around to a tiny-looking fee, potentially tricking a user into approving a much higher fee than shown. The patch also prevents overflow when summing duplicate NEM mosaic quantities and stops BIP-32 child derivation once the maximum derivation depth is reached. A comment-only change notes that PINs can be up to 50 characters, but no code behavior was altered there.