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
189commits · 30 days
463commits · 60 days
1777commits · 180 days
2889commits · 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-prioritychore(vendor): update libtropic to v3.2.1by M1nd3r · e8358c33 · Apr 22, 2026 · 1 fileMessage 57 · ThinInformational 2Details
Commit message · M1nd3r

chore(vendor): update libtropic to v3.2.1

- Updated from v3.1.0.

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

This commit updates a bundled third-party library called libtropic from version 3.1.0 to version 3.2.1 inside the Trezor firmware repository. The actual code changes are not visible because only a submodule pointer was changed (one line modified in the vendor/libtropic path). There is no information in the commit itself saying this fixes a security problem, and no independent references were provided. On its own, this looks like a routine maintenance update.

Lower-priorityrefactor(core): scope menu details' layoutby Roman Zeyde · 5c7b29df · Apr 22, 2026 · 1 fileMessage 72 · AdequateInformational 12Details
Commit message · Roman Zeyde

refactor(core): scope menu details' layout

Also rename `Details.factory` to `_interact`.

[no changelog]

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

This is a small internal code cleanup in the Trezor firmware's user interface code. It renames a variable and ensures a temporary layout object is properly cleaned up after use. There is no indication this fixes a security vulnerability or introduces one.

Lower-priorityrefactor(core): scope `select_menu` layoutsby Roman Zeyde · 58c8a131 · Apr 22, 2026 · 1 fileMessage 88 · StrongInformational 11Details
Commit message · Roman Zeyde

refactor(core): scope `select_menu` layouts

May be related to the following OOM:
https://github.com/trezor/trezor-firmware/actions/runs/24751684853/job/72416000050

[no changelog]

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

This is a tiny code cleanup that wraps a UI menu layout call in a Python `with` statement so the object is automatically cleaned up after use. The commit message suggests it may help prevent an out-of-memory (OOM) crash during automated tests, but it does not describe a security vulnerability and no exploit path is visible.

Security candidaterefactor(core): scope payment request text confirmation layoutsby Roman Zeyde · da4becf3 · Apr 22, 2026 · 4 filesMessage 93 · StrongInformational 18Details
Commit message · Roman Zeyde

refactor(core): scope payment request text confirmation layouts

May be related to the following OOM:
https://github.com/trezor/trezor-firmware/actions/runs/24751684853/job/72416000050

[no changelog]

93/100 · StrongMessage clarity
✓ Specific, 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
cryptography-sensitive path
AI analysis · Informational 18/100

This commit is a small code cleanup in the Trezor hardware wallet's user-interface code. It changes how on-screen payment-request confirmation dialogs are created and destroyed, wrapping them in a 'with' block so they are cleaned up promptly. The developer notes this may be related to an out-of-memory (OOM) issue seen in automated tests, but the commit does not claim to fix a security vulnerability and no independent security references are provided.

Lower-priorityfix(core): log sources without null terminationby Martin Milata · e8007760 · Apr 22, 2026 · 2 filesMessage 57 · ThinInformational 16Details
Commit message · Martin Milata

fix(core): log sources without null termination

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

This commit fixes a logging bug in Trezor firmware's debug console output. Previously, the code used a width specifier to print a log source name, which could read past the end of a string that isn't null-terminated. The fix switches to a precision specifier that respects the known length. This is a defensive correctness fix in debug-only logging code; there is no direct evidence it is exploitable as a security vulnerability.

Lower-priorityrefactor(core): rust logging connectorby Martin Milata · 2c4b2b56 · Apr 22, 2026 · 7 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

refactor(core): rust logging connector

[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 straightforward internal refactoring that adds a new Rust logging bridge. It does not change any security-critical behavior: logging is already disabled in release builds, and the new code is only compiled into debug builds. There is no indication this fixes or introduces a security vulnerability.

Lower-prioritybuild: bump protobuf versionby Martin Milata · 498124d7 · Apr 21, 2026 · 3 filesMessage 47 · ThinInformational 15Details
Commit message · Martin Milata

build: bump protobuf version

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

This commit simply updates the project's protobuf dependency from an old version (3.19) to a newer one (6.32) and pins the Python package version to match. There are no code changes, no bug fixes, and no security patches visible in the diff. It is a routine build/dependency maintenance change.

Security candidatechore(rust/trezor-client): update generated filesby Martin Milata · 9687d464 · Apr 21, 2026 · 27 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

chore(rust/trezor-client): update generated files

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

This commit only regenerates Rust source files from protobuf definitions using a newer version of the protoc compiler (31.1 instead of 3.19.6). The only visible changes are updated version comments and a few reordered bytes inside generated metadata. There is no change to message logic, security behavior, or how the Trezor device handles data.

Lower-prioritychore(ci): automate "Needs QA" statusby M1nd3r · 59d56418 · Apr 21, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · M1nd3r

chore(ci): automate "Needs QA" status

- Closed PRs (without merge) moved directly to "Done (no QA)" state.
- Merged PRs with "no-QA" label moved to "Done (no QA)" state.
- Merged PRs without "no-QA" label moved to "Needs QA" state.

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

This commit adds a GitHub Actions bot that automatically moves closed pull requests to the correct column on a project board. It is purely a workflow automation change for project management and has nothing to do with the Trezor firmware code, device security, or user funds.

Lower-priorityfix(core): fix NFC IRQ - mpu reconfigby tychovrahe · 94009d38 · Apr 21, 2026 · 1 fileMessage 57 · ThinLow 41Details
Commit message · tychovrahe

fix(core): fix NFC IRQ - mpu reconfig

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

This commit adds memory-protection reconfiguration around the NFC interrupt handler in Trezor hardware wallets. The change ensures the interrupt handler runs with default memory permissions, then restores the previous protection state afterward. It is a hardening fix rather than a clear-cut patch for an actively exploitable vulnerability, but missing MPU setup in an interrupt handler could theoretically allow memory-access bugs or privilege issues during NFC operations.

AI review queuedrefactor(core): refactor NFC driver to allow easier support for different ST chipsby tychovrahe · e0132169 · Apr 21, 2026 · 76 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(core): refactor NFC driver to allow easier support for different ST chips

[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
second-pass: unusually broad change
AI analysis · Informational 15/100

This commit is a large code reorganization of the NFC (Near Field Communication) driver inside Trezor firmware. It moves the ST25R3916 RFAL library from one directory to another and updates build paths and board configuration files accordingly. There is no indication in the commit message or diff that this fixes a security vulnerability; it is described as a refactoring to make it easier to support different STMicroelectronics chips in the future. The change is mostly a directory rename plus path updates, with no functional security fix visible in the diff.

Lower-priorityfix(core/prodtest): handle return values in NFC testby tychovrahe · 51fa7248 · Apr 21, 2026 · 1 fileMessage 72 · AdequateInformational 19Details
Commit message · tychovrahe

fix(core/prodtest): handle return values in NFC test

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

This commit fixes a small coding issue in Trezor's factory production-test tool for NFC hardware. Previously, two NFC setup functions were called without checking whether they succeeded. Now the code checks their return values and reports a fatal error if they fail, then jumps to cleanup. This is a defensive quality improvement in a diagnostic/testing utility, not a fix for an exploitable security vulnerability in the wallet firmware itself.

Lower-priorityrefactor(core): improve NFC driver for better compatibility across various ST chipsby tychovrahe · c46fa9b9 · Apr 21, 2026 · 1 fileMessage 62 · AdequateInformational 16Details
Commit message · tychovrahe

refactor(core): improve NFC driver for better compatibility across various ST chips

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

This commit renames an NFC driver to be chip-agnostic and reorders its startup steps so the interrupt line is configured before the NFC controller is initialized, then cleared again after. It also swaps a flag-clearing macro for a more correct interrupt-clearing macro. These are defensive housekeeping changes that reduce the chance of a stale interrupt firing at the wrong moment during startup. There is no direct evidence this fixes an exploitable security bug.

Security candidatefeat(core): allow external menu on Eckhart `show_info()` layoutby Roman Zeyde · bdf29e95 · Apr 21, 2026 · 7 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

feat(core): allow external menu on Eckhart `show_info()` layout

It will be used for N4W1 I/O layouts.

[no changelog]

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
cryptography-sensitive pathboot or update path
AI analysis · Informational 15/100

This commit is a routine user-interface feature addition for the Trezor hardware wallet firmware. It adds an optional 'external menu' flag to the 'show_info' screen layout, primarily for a new device design (Eckhart/N4W1). On older layouts, the flag is rejected with a 'not implemented' error. There is no security-relevant change visible in the code.

Security candidatefeat(core): allow disabling button on Eckhart `show_info()` layoutby Roman Zeyde · 3a5a51bc · Apr 21, 2026 · 10 filesMessage 77 · AdequateInformational 19Details
Commit message · Roman Zeyde

feat(core): allow disabling button on Eckhart `show_info()` layout

It will be used for N4W1 I/O layouts.

[no changelog]

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
cryptography-sensitive pathboot or update path
AI analysis · Informational 19/100

This commit is a routine user-interface feature change for Trezor hardware wallets. It lets the new 'Eckhart' screen layout optionally show an information screen with a disabled button (for example, a grayed-out 'Continue' that becomes active only after a timer or condition). Older layouts keep their previous behavior. There is no direct evidence in the commit that this fixes a security vulnerability; it reads as a product/usability feature.

Security candidatefix(core): scope `trezorui_api.confirm_with_info()` layoutsby Roman Zeyde · cd778a4a · Apr 20, 2026 · 5 filesMessage 100 · StrongModerate 60Details
Commit message · Roman Zeyde

fix(core): scope `trezorui_api.confirm_with_info()` layouts

Fixes #6780 (OOM on T3T1 during large input data confirmation).

Explicitly drop internal Rust layout object, in order to avoid
https://github.com/trezor/trezor-firmware/issues/5472#issuecomment-3262594686

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
Why it was queued
cryptography-sensitive path
AI analysis · Moderate 60/100

This update fixes a memory issue in Trezor hardware wallets that could crash the device (out-of-memory) when confirming very large pieces of on-screen data. The fix ensures a temporary screen-layout object is explicitly released after use, rather than lingering in memory. It is a reliability/availability fix rather than a direct theft-of-funds vulnerability.

Security candidaterefactor(core): scope `LayoutObj` lifetime at `request_word()`by Roman Zeyde · 8bed6e1e · Apr 20, 2026 · 4 filesMessage 77 · AdequateInformational 12Details
Commit message · Roman Zeyde

refactor(core): scope `LayoutObj` lifetime at `request_word()`

Previously it was done using an explicit call to `LayoutObj.__del__()`.

77/100 · AdequateMessage clarity
✓ Specific, 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 12/100

This commit is a small code cleanup in the Trezor hardware wallet firmware. It changes how on-screen keyboards are managed during wallet recovery (when users type in their backup seed words). Previously, the code explicitly called a destructor-like method `keyboard.__del__()` inside a try/finally block to ensure cleanup. Now it uses Python's `with keyboard:` context manager, which is a more standard and safer way to guarantee cleanup happens. There is no direct evidence this fixes a security vulnerability.

Lower-priorityrefactor(core): use `HomescreenBase` as a context managerby Roman Zeyde · f72da9e8 · Apr 20, 2026 · 4 filesMessage 77 · AdequateInformational 18Details
Commit message · Roman Zeyde

refactor(core): use `HomescreenBase` as a context manager

Instead of explicitly invoking `__del__()` to drop its `LayoutObj`.

[no changelog]

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

This commit is a code cleanup: it replaces explicit calls to a destructor-like method with Python's standard 'with' context-manager pattern for homescreen objects. It does not add or remove security behavior; it only makes the cleanup more reliable and idiomatic. There is no indication this fixes an exploitable vulnerability.

AI review queuedfeat(core): touch wake-up feature introductionby bleska · 2d2a3529 · Apr 20, 2026 · 22 filesMessage 92 · StrongInformational 13Details
Commit message · bleska

feat(core): touch wake-up feature introduction

It enables waking the T3W1 device up by display touch from suspend mode:
- Adding display suspend/resume functionality because, until now, the display driver has controlled the PWREN MOSFET and RESET signals, which are shared with the touch driver logic.
- Since it's not possible to switch the display off, it's put into deep standby mode, from which only an external HW reset can wake it up.
- The touch controller is being used in "monitor" mode, which can detect a touch event and generate an INT signal to wake the MCU. Once touched, the controller switches to active mode.
- Adding the "TOUCH_WAKEUP_ENABLED" macro and preprocessor-based conditional compilation for controlling whether this feature is enabled/disabled in the build (it's preparation for "checkbox"-based enabling/disabling control).

[no changelog]

92/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
second-pass: unusually broad change
AI analysis · Informational 13/100

This commit adds a new hardware feature for the Trezor T3W1 device that lets the user wake the device from suspend mode by touching the screen. It changes how the display and touch drivers are turned off and back on, and adds a new wake-up flag for touch events. The feature is currently disabled by default in the build configuration (TOUCH_WAKEUP_ENABLED is set to 0). There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a normal feature addition.

Lower-priorityfix(emulator): handle systask_push_call() errorby cepetr · 2975b9e1 · Apr 20, 2026 · 1 fileMessage 57 · ThinLow 26Details
Commit message · cepetr

fix(emulator): handle systask_push_call() error

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

This commit fixes a small but real bug in the Trezor emulator (the desktop/Unix version used for testing, not the real hardware wallet). When the emulator tries to shut down a MicroPython task, it previously ignored whether the internal 'push call' operation succeeded. If that operation failed, the code would still try to switch to the task, potentially leaving the emulator in an inconsistent or hung state. The fix adds an explicit error shutdown if the push fails. It is a hardening fix rather than a clear exploitable vulnerability, and it only affects the Unix emulator build.

Lower-priorityfix(core): fix trustzone configurationby cepetr · 24c4a3ff · Apr 20, 2026 · 1 fileMessage 57 · ThinModerate 59Details
Commit message · cepetr

fix(core): fix trustzone configuration

[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 · Moderate 59/100

This commit fixes the TrustZone security configuration on the STM32U5 chip used in Trezor hardware wallets. TrustZone splits the processor into a secure world (for secrets like the seed and PIN) and a non-secure world (for the main user interface). The patch makes three changes: it temporarily disables the Security Attribution Unit (SAU) while reprogramming it, adds memory barriers so the new rules take effect correctly, and marks one DMA channel's interrupt as secure. Without these fixes, secure memory regions could potentially be reachable from non-secure code, or security settings might not be applied reliably during boot.

Lower-priorityfix(core): minor fixesby cepetr · ce1252a7 · Apr 20, 2026 · 13 filesMessage 40 · ThinInformational 16Details
Commit message · cepetr

fix(core): minor fixes

[no changelog]

40/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 16/100

This is a routine cleanup commit in Trezor's embedded firmware. It mostly adds or tightens conditional compilation guards (so certain security-related code only compiles in secure/kernel builds), removes unused header includes, fixes a minor function declaration, and replaces a traditional header include guard with a simpler pragma. There is no direct evidence of an exploitable vulnerability being patched, and the commit message explicitly calls these 'minor fixes' with no changelog entry.

Lower-priorityfeat(core): add core/build-xtask folder into .gitgnoreby cepetr · 4410a176 · Apr 20, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · cepetr

feat(core): add core/build-xtask folder into .gitgnore

[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 simply adds a new build output folder named 'build-xtask' to the .gitignore file in the Trezor firmware repository. A .gitignore file tells Git which files and folders to ignore and not track in version control. This change has no effect on the actual firmware code, device behavior, or security of the product. It is a routine housekeeping change for developers.

Lower-priorityfix(core): allow unused imports/macrosby cepetr · 6e68b77c · Apr 20, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

fix(core): allow unused imports/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 only adds Rust compiler directives to silence warnings about unused macros and imports. It does not change any program behavior, fix a bug, or address a security issue.

Lower-priorityfix(core): improve prodtest linker scriptsby cepetr · acb0f3fc · Apr 20, 2026 · 3 filesMessage 57 · ThinInformational 21Details
Commit message · cepetr

fix(core): improve prodtest linker scripts

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

This commit adjusts how the production-test firmware for three Trezor hardware models calculates the length of the code image stored in flash memory. The old calculation added up the sizes of individual sections, which could become inaccurate if the linker layout changed. The new calculation uses a single marker placed at the actual end of the code/data in flash. This is a hardening improvement rather than a fix for an active attack, but an incorrect code-length value could theoretically cause a mis-sized firmware image to be written or verified during manufacturing tests.