TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1367security candidates439second-pass queue3234AI analyses
205commits · 30 days
468commits · 60 days
1776commits · 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
870Strong · 80–100
1755Adequate · 60–79
1199Thin · 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ů1073270681
Roman Zeyde722231640372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Lukas Bielesch1117895066
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 43 minutes ago

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
Informational 19 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(clear_signing): unknown token label improvement.

This commit is a small user-interface wording change for Trezor's Ethereum 'clear signing' feature. When the device cannot identify a token involved in a transaction, it now labels the displayed contract address as 'Address (unknown token)…

No security-relevant logic changedUI label clarification onlyNo validation, parsing, or cryptographic code modified
e1230842by PrisionMike+4−21 file
No security note in commit
Informational 15 AI analysisMessage 75 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

tests(clear_signing): add unit tests and a device test.

This commit only adds new automated tests and test data for Trezor's Ethereum 'clear signing' feature. It does not change any production firmware code, so it cannot introduce a security vulnerability or fix one in shipped devices.

6ff49695by PrisionMike+868−5328 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.

AI review queuedrefactor(ethereum): use DisplayFormat to parse yieldingby Ioan Bizău · 6daa3bd6 · May 7, 2026 · 2 filesMessage 62 · AdequateInformational 12Details
Commit message · Ioan Bizău

refactor(ethereum): use DisplayFormat to parse yielding

[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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 12/100

This commit is a code cleanup in Trezor's Ethereum transaction handling. It replaces a hand-rolled method of reading Ethereum vault transaction data with a shared, more structured parsing system called DisplayFormat. There is no indication this fixes a security bug; it appears to be a refactoring change with no functional security relevance stated by the vendor.

Security candidatechore: migrate from SDL2 to SDL3by M1nd3r · 9fe8ae02 · May 7, 2026 · 19 filesMessage 57 · ThinInformational 20Details
Commit message · M1nd3r

chore: migrate from SDL2 to SDL3

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

This commit updates the Trezor firmware build system and emulator code to use SDL3 instead of the older SDL2 library. It is a routine dependency migration affecting only emulator builds (software simulations of the hardware wallet), not the real device firmware. The changes rename functions and constants to match SDL3's API, adjust build scripts, and add a couple of small safety checks. There is no indication this fixes a known security vulnerability.

Lower-prioritychore: update fixtures after migration to SDL3by M1nd3r · 00d88185 · May 7, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore: update fixtures after migration to SDL3

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

This commit only updates expected test result hashes (called 'fixtures') in a single test data file. The firmware code itself is not changed, and there is no indication of a security fix or vulnerability. It appears to be routine maintenance after switching the UI test framework to SDL3, which likely changed how screen snapshots are rendered and therefore changed their hashes.

Lower-prioritychore(nordic): configuration cleanupby tychovrahe · b96e38c9 · May 6, 2026 · 11 filesMessage 47 · ThinInformational 11Details
Commit message · tychovrahe

chore(nordic): configuration cleanup

[no changelog]

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

This commit tidies up build configuration files for Trezor's Nordic Bluetooth/radio test firmware. It removes some redundant or outdated settings, adds a couple of clarifying options, and disables over-the-air firmware update slots for test builds. There is no direct evidence in the commit that this fixes a security vulnerability; it reads as a routine cleanup of build settings.

Lower-prioritychore(nordic): replace printk with logby tychovrahe · b9c3a808 · May 6, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · tychovrahe

chore(nordic): replace printk with log

[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 routine cleanup change in the Nordic Bluetooth Low Energy firmware for Trezor hardware wallets. It replaces old-style printk debug messages with Zephyr's standard logging macros (LOG_ERR, LOG_WRN) and removes an unused logging configuration option. There is no security-relevant change here.

Lower-prioritychore(nordic): remove deprecated symbol CONFIG_NFCT_PINS_AS_GPIOSby tychovrahe · bbfdc15b · May 6, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

chore(nordic): remove deprecated symbol CONFIG_NFCT_PINS_AS_GPIOS

[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 removes a single deprecated configuration option, CONFIG_NFCT_PINS_AS_GPIOS, from the Nordic Bluetooth Low Energy firmware build file. The change is a routine cleanup with no visible security relevance. It does not alter runtime behavior in a way that introduces or fixes a vulnerability based on the information provided.

Lower-prioritychore(nordic): add full_name to t3w1 board definitionby tychovrahe · a8104ec4 · May 6, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

chore(nordic): add full_name to t3w1 board definition

[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 trivial board definition update for a Nordic chip configuration file. It adds a duplicate 'full_name' field that matches the existing 'name' field. There is no security relevance.

Lower-prioritychore(nordic): use SPI alias for trezor SPI communication selectionby tychovrahe · 8c3829e4 · May 6, 2026 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

chore(nordic): use SPI alias for trezor SPI communication selection

[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 internal cleanup in the Nordic (nRF52) Bluetooth Low Energy firmware for a Trezor hardware wallet. It replaces a hard-coded reference to 'spi0' with a device-tree alias called 'spi-master' so the same code can more easily be reused across different board revisions. There is no security-relevant change visible in the diff.

AI review queuedrefactor(nordic): migrate away from pm_static towards DTS fixed-partitionsby tychovrahe · 7e3eb453 · May 6, 2026 · 8 filesMessage 62 · AdequateInformational 17Details
Commit message · tychovrahe

refactor(nordic): migrate away from pm_static towards DTS fixed-partitions

[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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 17/100

This is a build-system refactor for Trezor's Nordic Bluetooth chip firmware. It removes manually maintained flash partition files and switches to Zephyr's standard device-tree partition definitions. The change also fixes a build-time signing script bug where a duplicate image header could be inserted, which would cause the device to crash immediately on boot. There is no direct evidence this is a security vulnerability patch, but it prevents a real boot failure in the manufacturing/development workflow.

AI review queuedrefactor(nordic): dts cleanup and DK gpio driver removalby tychovrahe · a9470c60 · May 6, 2026 · 8 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(nordic): dts cleanup and DK gpio driver removal

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

This commit is a routine cleanup of the Nordic board configuration and Bluetooth Low Energy firmware for a Trezor hardware wallet. It removes the generic Nordic 'DK buttons and LEDs' driver and replaces it with direct GPIO (general-purpose input/output) definitions tied to the actual Trezor board pins. It also fixes a typo in the board name and renames some device-tree labels for clarity. There is no security-relevant change visible in the diff.

AI review queuedrefactor(nordic): make build_sign_flash.sh script take constants from DTS and config filesby tychovrahe · fa2dc6b7 · May 6, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(nordic): make build_sign_flash.sh script take constants from DTS and config files

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

This commit refactors a build script for Nordic hardware so that several hard-coded numbers (memory addresses, slot size, device model tag) are instead read from the project's generated device tree and configuration files. There is no change to runtime code, no new user-facing behavior, and no indication of a security fix or vulnerability.

Security candidatefix(core/build): fix headertool keys selectionby tychovrahe · b2de55aa · May 6, 2026 · 2 filesMessage 57 · ThinLow 40Details
Commit message · tychovrahe

fix(core/build): fix headertool keys selection

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

This commit fixes a logic error in the build scripts that decide whether to use development or production signing keys when preparing Trezor firmware images. Before the fix, the condition was accidentally inverted, so production builds may have used development keys and development builds may have used production keys. Using the wrong keys could make firmware signatures invalid or cause devices to reject genuine firmware, but the commit itself does not show an exploitable runtime vulnerability in shipped code.

Lower-prioritychore(ci): GH action update [no changelog]by Michal Kazda · 0ff0c529 · May 6, 2026 · 4 filesMessage 72 · AdequateInformational 15Details
Commit message · Michal Kazda

chore(ci): GH action update
[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
documentation-only discount
AI analysis · Informational 15/100

This commit updates four GitHub Actions workflow files to use a newer version of an official GitHub action that creates authentication tokens for automated bots. It also renames a configuration setting from 'app-id' to 'client-id' to match the new action version's requirements. There is no change to the Trezor firmware code that runs on user devices, and no security vulnerability is present in the diff.

Lower-priorityrefactor(rust/trezor-thp): enable full-duplex communicationby Martin Milata · 35ec92ae · May 5, 2026 · 4 filesMessage 62 · AdequateLow 27Details
Commit message · Martin Milata

refactor(rust/trezor-thp): enable full-duplex communication

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

This commit refactors the internal state machine of Trezor's THP (Trezor Host Protocol) Rust code so that sending and receiving are tracked independently, enabling full-duplex communication in the future. It does not appear to fix a known security bug; it is a structural code change. There is no vendor statement or external report linking it to a vulnerability.

Lower-priorityrefactor(rust/trezor-thp): separate send/receive buffers for handshakeby Martin Milata · 5e18c9d6 · May 5, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(rust/trezor-thp): separate send/receive buffers for handshake

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

This commit is a code cleanup in the Trezor firmware's secure USB/Bluetooth transport layer (Trezor THP). It replaces a single shared buffer used during the cryptographic handshake with two separate buffers: one for messages being sent and one for messages being received. The change makes the code easier to reason about and removes some awkward buffer resizing and zeroing patterns, but it does not appear to fix any active security bug. There is no mention of a vulnerability, CVE, or security issue in the commit itself.

Lower-priorityrefactor(rust/trezor-thp): expose length constantsby Martin Milata · 955ec11b · May 5, 2026 · 5 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(rust/trezor-thp): expose length constants

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

This commit is a code cleanup: it moves several fixed-size buffer length constants out of individual Rust source files and into a shared module so they can be reused consistently. The actual buffer sizes used during the cryptographic handshake are recalculated and, in some cases, slightly changed (for example, the device-properties limit drops from 128 to 64 bytes and a new allocation-response size is introduced). There is no direct evidence in the commit that this fixes a security vulnerability; it reads as a refactoring to make the code easier to maintain.

Lower-priorityfeat(rust/trezor-thp): ACK piggybackingby Martin Milata · cbc91a60 · May 5, 2026 · 10 filesMessage 57 · ThinLow 29Details
Commit message · Martin Milata

feat(rust/trezor-thp): ACK piggybacking

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

This commit adds a new optional transport-layer feature called 'ACK piggybacking' to the Trezor hardware wallet's Rust THP (Trezor Host Protocol) implementation. It lets a device or host include an acknowledgment (ACK) inside the next data packet instead of sending a separate tiny ACK packet, reducing USB/network traffic. The change is feature-gated by protocol version 2.1 and falls back to the older separate-ACK behavior if either side does not advertise support. The diff also includes related test and example-code cleanups, such as stricter error handling and a new API to set the peer's protocol version before the handshake begins.

Lower-priorityfix(core): fix boot_image_check__verified validationby tychovrahe · 59d8d78e · May 5, 2026 · 2 filesMessage 62 · AdequateHigh 73Details
Commit message · tychovrahe

fix(core): fix boot_image_check__verified validation

[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 · High 73/100

This commit adds a missing safety check in the Trezor hardware wallet's core firmware. Two functions that validate boot images now verify that the firmware actually has permission to read the image's memory before processing it. Without this check, a malformed or attacker-controlled image pointer could potentially be passed in, leading to unauthorized memory reads or a crash during the boot verification process. The fix is straightforward and defensive.

Lower-priorityfix(core): fix OOB read in NFC card emulationby tychovrahe · 74618edb · May 5, 2026 · 1 fileMessage 57 · ThinModerate 68Details
Commit message · tychovrahe

fix(core): fix OOB read in NFC card emulation

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

This commit fixes several out-of-bounds (OOB) memory reads in the NFC card emulation code used in Trezor hardware wallets. The code previously trusted the length and content of NFC commands received from a nearby reader without checking whether the received data was actually long enough. A malicious or malformed NFC reader could send a truncated or specially crafted command, causing the device to read memory past the end of the command buffer. The patch adds length checks before accessing command bytes and before looping over variable-length block lists.

Security candidatefix(core/bootloader): fix codec v1 overflow issuesby tychovrahe · eebd2e5e · May 5, 2026 · 1 fileMessage 67 · AdequateModerate 63Details
Commit message · tychovrahe

fix(core/bootloader): fix codec v1 overflow issues

[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
update trustmemory safetyboot or update path
AI analysis · Moderate 63/100

This patch fixes several integer-handling bugs in the Trezor bootloader's USB message decoder. The changes prevent small or maliciously crafted message sizes from causing arithmetic overflows or underflows when the device calculates how many USB packets to read. Such flaws could potentially let an attacker confuse the bootloader into reading memory out of bounds or behaving unpredictably during a firmware update.

Security candidatefix(core): fix OOB read in read_vendor_headerby tychovrahe · 3b64e4e8 · May 5, 2026 · 10 filesMessage 57 · ThinHigh 74Details
Commit message · tychovrahe

fix(core): fix OOB read in read_vendor_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
Why it was queued
boot or update path
AI analysis · High 74/100

This commit fixes an out-of-bounds memory read bug in the Trezor bootloader's firmware header parser. The read_vendor_header function previously trusted size values inside a firmware file without first checking whether those sizes fit within the actual data buffer. A malformed firmware update or a corrupted on-device firmware image could have caused the bootloader to read memory beyond the allowed region. The patch adds size checks so the parser rejects too-small or oversized headers before using their contents.

Security candidatebuild(core): use BOOTLOADER_DEVEL flag for keys selectionby tychovrahe · a7b34c4a · May 5, 2026 · 30 filesMessage 62 · AdequateLow 30Details
Commit message · tychovrahe

build(core): use BOOTLOADER_DEVEL flag for keys selection

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

This commit renames and restructures how Trezor firmware selects cryptographic signing keys for bootloaders. Previously, non-production builds automatically used weaker development/QA keys. Now, a dedicated BOOTLOADER_DEVEL flag controls that, while a separate FORCE_BOOTLOADER_UPGRADE flag controls whether the firmware should forcibly update the bootloader. The change also prevents combining PRODUCTION=1 with BOOTLOADER_DEVEL=1. This is primarily a build-hardening and internal workflow cleanup; it does not by itself fix a remotely exploitable bug in shipped devices.

AI review queuedfix(core): prevent NFC driver crash on repeated deinitializationby tychovrahe · c856ba57 · May 5, 2026 · 1 fileMessage 62 · AdequateLow 32Details
Commit message · tychovrahe

fix(core): prevent NFC driver crash on repeated deinitialization

[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: broader security terminology
AI analysis · Low 32/100

This commit fixes a bug in the Trezor hardware wallet's NFC driver where calling the NFC shutdown function more than once could crash the device. The fix adds a simple check to skip re-deinitializing the SPI hardware if it has already been shut down. It is a defensive hardening fix rather than a clear exploitable vulnerability.

Lower-prioritychore(core): improve logging when USE_N4W1 is unsetby Roman Zeyde · 8ec0077b · May 5, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): improve logging when USE_N4W1 is unset

[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 when a debug-only warning message is printed. It does not fix or introduce any security issue. The change simply avoids logging a misleading warning when no backup method is selected in a non-production debug build.

Lower-prioritychore(core): update UI fixturesby Roman Zeyde · 4627ebeb · May 5, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

chore(core): update UI fixtures

[no changelog]

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

This commit only updates the expected visual-output fingerprints (called 'fixtures') used by the device's automated UI tests. It renames test cases to include a '[Display]' marker and adjusts the corresponding hashes, but does not change any firmware code that runs on the Trezor device itself. There is no security-relevant change visible in this commit.