TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1333security candidates437second-pass queue3198AI analyses
208commits · 30 days
436commits · 60 days
1764commits · 180 days
2847commits · 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
852Strong · 80–100
1735Adequate · 60–79
1190Thin · 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.
tychovrahe396165356667
Jakub Janků1063169681
Roman Zeyde721230639372
obrusvit333135281364
cepetr304111229259
PrisionMike155102150271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r294107249071
Ioan Bizău23076230059
Lukas Bielesch1067592066
Analysis record

Published AI watches

Last scanned 14 minutes ago

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): 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 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add skippable parameter

This commit adds a new 'skip_item' flag to the data format used for Ethereum clear-signing on Trezor devices, but deliberately does not implement the feature yet. The code rejects any message that tries to use it. It is a forward-compatibi…

cb2659a2by PrisionMike+116−675 files
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

ci(core): reuse HW tests Slack webhook

This is a routine GitHub Actions workflow fix. It changes which Slack webhook secret is used for nightly test failure notifications and removes a now-unnecessary safety check. There is no security vulnerability in the change itself.

abfe74f9by Michal Kazda+1−51 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): name the skipped cases

This commit only improves a test report for Trezor's clear-signing feature. It changes how skipped test cases are listed in a nightly summary, showing each skipped case's source file and calldata size instead of just counting them by reaso…

98deb5b0by PrisionMike+25−92 files
No security note in commit
Informational 15 AI analysisMessage 95 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): run the cases without display format

This commit only changes test scripts and documentation for the Trezor firmware clear-signing test suite. It makes the tests run more registry cases—specifically those where the developer definitions do not yet have a display format—so the…

05c1f4efby PrisionMike+63−225 files
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing tutorial test in FR and small update to PT

This commit updates French and Portuguese translation strings in the Trezor firmware and refreshes the translation signature metadata. The changes are purely wording adjustments (for example, replacing abbreviations like 'nº' with the full…

29cbc419by Michal Kazda+19−193 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core/ui): standard page for Caesar mismatch

This commit is a user-interface code cleanup. It replaces a hand-built screen layout with a standard helper used by other screens in the same product line. The visible text and button behavior (a 'Quit' button on an address-mismatch warnin…

c096c17aby Jakub Janků+14−192 files
No security note in commit
Low 28 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(python): resolve keyring desync issue

This update fixes a bookkeeping problem in the Trezor Python command-line tool (trezorctl). Previously, if a user deleted a THP (Trezor-Host Protocol) pairing secret from the operating system's password/keyring manager, trezorctl would sti…

Fixes a desync between local config file and OS keyring that could cause connection failures or stale-credential errorsAdds graceful handling of missing keyring secrets by removing stale credential IDsPrevents exception propagation from keyring deletion when the password is already gone
8c97d72aby M1nd3r+173−183 files
No security note in commit
Informational 10 AI analysisMessage 95 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core/rust): reduce coverage map size

This commit changes a code-coverage tracking map inside the Trezor firmware from a claimed capacity of 1,048,576 entries down to 65,536 entries. The commit message says the old capacity was never truly that large because the heapless libra…

No cryptographic or secret-handling code changedNo input parsing, deserialization, or memory allocator changesChange is in a debug/test instrumentation module (coverage)
9bf2fc3aby M1nd3r+1−11 file
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 update of translated user-interface text strings for the Trezor hardware wallet. It adds new translations (for example, warnings about exporting public keys and Solana blind-signing prompts), updates existing wordi…

b2e8b5e6by Thalarion+141−1837 files
No security note in commit
Informational 12 AI analysisMessage 67 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): edge cases for arrays

This commit only adds new test cases for Ethereum clear-signing array parsing. It does not change any production code, so it cannot introduce a new security vulnerability on its own. The tests verify that malformed arrays (out-of-bounds of…

test-only changeno production code modifiedadds defensive test coverage for ABI decoding edge cases
dcdf3068by PrisionMike+169−01 file
No security note in commit
High 70 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): harden task switching against fault injections

This commit hardens the Trezor firmware's task scheduler against fault-injection attacks. These attacks use physical techniques like voltage glitches or laser pulses to trick the device into executing code with higher privileges than inten…

Fault-injection hardening (FIH) explicitly mentioned in commit title and code commentsPrivilege-level transition split into multiple guarded stepsAdded runtime invariant check that only the kernel task may run privileged
2f159c6bby cepetr+16−51 file
Vendor flagged security relevance
Informational 15 AI analysisMessage 67 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(tests): removed unused is_dynamic

This commit only removes an unused parameter called `is_dynamic` from test helper functions and from test data in three test files. It does not change any production firmware code, wallet behavior, or security logic. It is a cleanup of the…

2ada2691by PrisionMike+6−323 files
No security note in commit
Informational 21 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): update proto defs for features to be supported.

This commit updates the data-format definitions used by Trezor devices for Ethereum 'clear signing' (showing human-readable details of smart-contract interactions). It adds support for more numeric types, new path-step structures, and extr…

Schema expansion increases attack surface for future clear-signing parser logic, but no new parser logic is present in this commit.Replacement of NotImplementedError with InvalidFormatDefinition is a defensive change that turns unimplemented paths into a handled error rather than a crash/DoS vector.New optional fields and deprecated old fields (is_dynamic, lookup_address) are backward-compatible changes.
84cb6a4bby PrisionMike+1207−979 files
No security note in commit
Informational 19 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(python): fix protocol_v1 probe for bridge transport

This is a bug-fix patch in the Python Trezor client library. It changes how the software probes whether a connected device uses the older protocol v1. Previously, the probe tried to read and throw away leftover data, but that read could ac…

No security-relevant signal in commit message or diffFix is described as a connectivity/functional bug, not a vulnerabilityNo mention of CVE, researcher credit, or security advisory
46492ba4by M1nd3r+18−124 files
No security note in commit
Informational 15 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): show language name in change confirm

This commit is a user-interface improvement, not a security fix. It changes the language-change confirmation prompt on Trezor devices so that it shows a human-readable language name (for example, 'French') instead of a raw code like 'fr-FR…

5ff5cba0by Michal Kazda+295−67 files
No security note in commit
Informational 15 AI analysisMessage 67 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing tests in ES and FR

This commit updates Spanish and French translation strings in the Trezor firmware and refreshes the translation signature file. The changes are purely textual wording adjustments (for example, changing 'Mostrar palab.' to 'Mostrar palabras…

9a12ab12by Michal Kazda+15−103 files
No security note in commit
Low 47 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(crypto): hardening against potential side-channel leakage

This commit hardens cryptographic code in Trezor firmware against two potential side-channel leaks. First, it simplifies how a secret condition value is checked inside an assert statement so the compiler produces only one branch instead of…

Side-channel hardening in constant-time cryptographic primitivesReplacement of double-evaluation volatile assert with single-branch assertElimination of secret-dependent memory access in elliptic-curve scalar multiplication
7829d7c7by M1nd3r+27−93 files
Vendor flagged security relevance
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Lower-priorityfix(core): make rotation_index optionalby Martin Pastyřík · 01aa1bff · Jul 7, 2026 · 4 filesMessage 80 · StrongInformational 23Details
Commit message · Martin Pastyřík

fix(core): make rotation_index optional

fix compatibility issue by making the new rotation_index field in Evolu's EvoluRegistrationRequest optional

[no changelog]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 23/100

This commit loosens a data-format rule for a Trezor feature called Evolu. It changes the `rotation_index` field in an 'EvoluRegistrationRequest' message from 'must be provided' to 'may be omitted'. The stated reason is to fix a compatibility issue so older or differently configured callers can still use the feature. There is no direct evidence in the commit that this fixes an exploitable vulnerability; it appears to be a backward-compatibility fix.

Security candidatefeat(core): add Rust-based THP implementationby Martin Milata · acb6c376 · Jul 6, 2026 · 19 filesMessage 57 · ThinLow 39Details
Commit message · Martin Milata

feat(core): add Rust-based THP implementation

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

This commit adds a new Rust implementation of the Trezor Host Protocol (THP), which is the secure communication layer between a Trezor hardware wallet and a host computer/phone. It introduces encryption, channel management, pairing, and credential verification. Because this is a large new cryptographic and network-facing subsystem, any bugs here could affect device security, but the commit itself is a feature addition rather than a documented fix for a known vulnerability.

Security candidatefix(core/ui): avoid signed overflow when calculating text widthby Martin Milata · 7c429403 · Jul 6, 2026 · 1 fileMessage 67 · AdequateLow 42Details
Commit message · Martin Milata

fix(core/ui): avoid signed overflow when calculating text width

[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 safety
AI analysis · Low 42/100

This commit fixes a bug in how the Trezor hardware wallet calculates the width of on-screen text. Previously, very long text could cause an internal counter to overflow from a large positive number to a negative number, which might make text appear incorrectly sized or positioned. The fix uses saturating arithmetic so the counter stops at the maximum safe value instead of wrapping around.

Lower-priorityfix(python): ignore packets with mismatched THP channelby Martin Milata · e20ea1b9 · Jul 6, 2026 · 1 fileMessage 62 · AdequateLow 46Details
Commit message · Martin Milata

fix(python): ignore packets with mismatched THP channel

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

This commit fixes the Trezor Python host library so it ignores USB packets whose channel ID does not match the current session. Previously, packets from other channels (or broadcast packets at the wrong time) could be accepted and processed, which could confuse the host-side state machine during the encrypted Trezor-Host Protocol (THP). The fix adds a check that drops mismatched packets unless they are explicitly allowed as broadcast packets.

Lower-priorityrefactor(rust/trezor-thp): buffer size hint in PacketInResult::Routeby Martin Milata · 55270d31 · Jul 6, 2026 · 6 filesMessage 62 · AdequateInformational 16Details
Commit message · Martin Milata

refactor(rust/trezor-thp): buffer size hint in PacketInResult::Route

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 is a code cleanup in Trezor's Rust transport layer. It changes how incoming packets are inspected before being forwarded to the right channel, adding a buffer-size hint so the caller can allocate a large enough receive buffer. The change also tightens validation: codec v1 packets are now explicitly ignored on the host side, and payload lengths are checked against maximum and minimum limits. There is no direct evidence in the commit that this fixes an active security bug, but it removes a small class of potential issues where a caller might receive a packet without knowing how much buffer space is needed.

Lower-priorityrefactor(rust/trezor-thp): keep device_properties in Muxby Martin Milata · ef4cb485 · Jul 6, 2026 · 3 filesMessage 62 · AdequateInformational 13Details
Commit message · Martin Milata

refactor(rust/trezor-thp): keep device_properties in Mux

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

This commit is a straightforward internal code refactor in Trezor's Rust firmware. It moves the storage of 'device_properties' from the credential verifier object into the communication multiplexer (Mux). The actual data being sent during device pairing remains the same; only which internal component holds the data changes. There is no indication this fixes a security bug or introduces a vulnerability.

Security candidaterefactor(rust/trezor-thp): keep track if channel finished pairing/credentialsby Martin Milata · 496f4b1b · Jul 6, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(rust/trezor-thp): keep track if channel finished pairing/credentials

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
credential or privilege state
AI analysis · Informational 12/100

This commit is a straightforward internal code refactor in the Trezor hardware wallet's Rust transport-handshake protocol (THP) library. It replaces a simple pairing-state field with a richer 'phase' enum that tracks whether the channel is still in the pairing/credential setup stage or has moved to encrypted application messaging. The change adds helper methods so the application can explicitly mark pairing as finished. There is no direct security fix here; it is a structural improvement that makes state tracking clearer and less error-prone for callers.

Lower-priorityrefactor(rust/trezor-thp): export more constantsby Martin Milata · 8c9c1b1f · Jul 6, 2026 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

refactor(rust/trezor-thp): export more constants

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 code cleanup in the Rust implementation of Trezor's transport protocol (THP). It moves several constants from inside a trait or function to the module level and makes them public so other parts of the code can use them directly. The actual numeric values and behavior do not change. There is no indication this fixes a security bug or changes how the device protects data.

Lower-prioritytest(rust/trezor-thp): crc32 vectors from test_trezor.wire.thp.checksumby Martin Milata · fb53052d · Jul 6, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Martin Milata

test(rust/trezor-thp): crc32 vectors from test_trezor.wire.thp.checksum

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

This commit only adds more test cases and removes two unused helper functions for verifying CRC32 checksums. It does not change the actual CRC32 calculation logic, nor does it fix any security issue. There is nothing here that would allow an attacker to exploit a Trezor device.

Lower-priorityrefactor(rust/trezor-thp): minor tweaksby Martin Milata · 751b66fd · Jul 6, 2026 · 6 filesMessage 90 · StrongInformational 15Details
Commit message · Martin Milata

refactor(rust/trezor-thp): minor tweaks

- channel_id() part of ChannelIO
- derive Debug for enums when testing
- logging off by default in tests
- export control_byte module

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 is a small internal code cleanup in the Trezor hardware wallet's Rust transport-handshake-pairing (THP) library. It moves a helper method (channel_id) into a shared trait, adds a read-only packet_len accessor, turns off noisy test logging by default, derives Debug for some enums in test builds, and makes the control_byte module public. None of these changes fix a vulnerability or change security behavior.

Lower-priorityrefactor(core/rust): allow defining new micropython exceptionsby Martin Milata · cdb36b37 · Jul 6, 2026 · 5 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(core/rust): allow defining new micropython exceptions

[no changelog]

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

This commit is a code cleanup in the Trezor firmware's Rust layer. It introduces a dedicated helper module for creating MicroPython exceptions and refactors existing error handling to use those helpers. There is no direct evidence in the commit that it fixes a security vulnerability; it appears to be a maintainability refactor that also enables future custom exception types.

Security candidaterefactor(core/rust): trezor-crypto backend glue for noise-protocolby Martin Milata · bc97a6b2 · Jul 6, 2026 · 9 filesMessage 62 · AdequateLow 35Details
Commit message · Martin Milata

refactor(core/rust): trezor-crypto backend glue for noise-protocol

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

This commit refactors the cryptographic glue code that connects Trezor's embedded firmware to a Rust-based Noise protocol implementation used for secure device communication. The most notable security-relevant change is the addition of a constant-time comparison function for checking AES-GCM authentication tags, which helps prevent timing-based attacks that could leak information about the tag. The commit also splits AES-GCM into separate encrypt and decrypt types, adds a non-pinned SHA-256 wrapper, and introduces wrappers for Curve25519 and AES-GCM to satisfy the Noise protocol backend interface. There is no explicit vendor statement that this fixes a security vulnerability, and no independent researcher is credited.

Lower-priorityfix(core): unallocated THP session lookupby Martin Milata · bed87470 · Jul 6, 2026 · 2 filesMessage 57 · ThinLow 45Details
Commit message · Martin Milata

fix(core): unallocated THP session lookup

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

This commit fixes a bug in how the Trezor hardware wallet looks up unused secure sessions. Previously, the code checked whether a session slot was 'empty' by comparing the whole slot object to a placeholder. After a code change, that comparison no longer worked correctly, so a slot could be mistaken for empty when it actually contained another user's session data. The fix makes the code explicitly read the session-state field to decide if a slot is truly unallocated. The risk is that a new session could overwrite an active session, potentially mixing up or leaking cached secrets between sessions. The commit message does not call this a security fix, and no public advisory was supplied.

Lower-priorityrefactor(core/rust): add TryFrom<Option<T>> for Objby Martin Milata · 6301a688 · Jul 6, 2026 · 4 filesMessage 62 · AdequateInformational 18Details
Commit message · Martin Milata

refactor(core/rust): add TryFrom<Option<T>> for Obj

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

This is a small internal code cleanup in the Trezor firmware's Rust code. It replaces a custom helper function with a standard Rust conversion trait so that optional values can be converted to MicroPython objects in a more idiomatic way. The change itself does not fix a known bug or add a security feature; it is a refactoring that may make future errors slightly harder to miss.

Lower-prioritychore(core): update fixturesby Martin Milata · c9bce09d · Jul 6, 2026 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · Martin Milata

chore(core): update fixtures

[no changelog]

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

This commit only adds new expected test result hashes (called 'fixtures') for on-screen UI tests. It does not change any firmware code, wallet logic, or security behavior. There is no indication of a security fix or vulnerability.

Lower-priorityfix(core): loop.mailbox exception handlingby Martin Milata · cbb5281b · Jul 6, 2026 · 1 fileMessage 57 · ThinLow 41Details
Commit message · Martin Milata

fix(core): loop.mailbox exception handling

[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 fixes how a low-level task mailbox in the Trezor firmware handles stored values. Previously, if another task placed an exception into the mailbox, the waiting task would receive that exception as if it were a normal value instead of having it raised. The patch makes the mailbox re-raise stored exceptions so they propagate correctly through the async loop. This is a correctness fix in the firmware's task scheduler; it is not obviously exploitable as a security vulnerability on its own, but mishandled exceptions could in theory mask errors or alter control flow in security-critical code paths.

Security candidaterefactor(core/rust): use ZeroizeOnDropby Martin Milata · fdb58ef8 · Jul 6, 2026 · 7 filesMessage 57 · ThinInformational 18Details
Commit message · Martin Milata

refactor(core/rust): use ZeroizeOnDrop

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

This commit is a code cleanup in the Trezor firmware's Rust cryptography code. It replaces hand-written memory-clearing code with a standard library feature called ZeroizeOnDrop. The goal is the same: erase sensitive cryptographic data from memory when objects are destroyed. There is no evidence this commit fixes an active security bug; it is a defensive hardening and refactoring change.

Security candidatefeat(core): switch from Python THP implementation to Rust-based oneby Martin Milata · 00ec9a7f · Jul 6, 2026 · 43 filesMessage 62 · AdequateLow 36Details
Commit message · Martin Milata

feat(core): switch from Python THP implementation to Rust-based one

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

This commit replaces the Python implementation of Trezor's THP (Trezor Host Protocol) with a Rust-based one. It is a large refactoring that moves channel state management, encryption, packet handling, and handshake logic from Python into a Rust module exposed as `trezorthp`. The change also adjusts how credentials are validated, how sessions are cached, and how the event loop handles reads, writes, and retransmissions. There is no explicit security bug in the diff, but the scope of the rewrite and the removal of several safety checks (for example around buffer allocation and unexpected-message handling) create a non-trivial risk of introducing memory-management, concurrency, or protocol-edge-case bugs. The vendor does not describe this as a security fix.

Lower-prioritytest(core): allow logging from rust unit testsby Martin Milata · a9bc6e5a · Jul 6, 2026 · 3 filesMessage 67 · AdequateInformational 15Details
Commit message · Martin Milata

test(core): allow logging from rust unit tests

[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 Rust unit tests inside the Trezor firmware project can print diagnostic messages. It enables a debug console feature for test builds, reads an optional RUST_LOG environment variable, and increases the maximum log message length from 128 to 512 bytes during tests. It also improves handling when a log message is too long by adding a clear '(message truncated)' note. There is nothing here that affects real device security or user funds.

Lower-prioritychore(rust/trezor-thp): use trezor-noise-protocol from crates.io instead of gitby Martin Milata · f2efc7ff · Jul 6, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Martin Milata

chore(rust/trezor-thp): use trezor-noise-protocol from crates.io instead of git

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 routine dependency housekeeping change. The project switched from loading a small cryptography helper library directly from a Git repository to using the published version on crates.io, and bumped the version from 0.2.0 to 0.2.1. There is no code behavior change visible in this commit and no security issue is indicated.

Lower-prioritychore(core): cargo-vet audits for trezor-thp dependenciesby Martin Milata · 993cf8db · Jul 6, 2026 · 2 filesMessage 62 · AdequateInformational 13Details
Commit message · Martin Milata

chore(core): cargo-vet audits for trezor-thp dependencies

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

This commit only updates supply-chain audit records for two Rust dependencies used by Trezor hardware wallets. It adds signed-off statements that the code is safe to deploy, but does not change any actual firmware, cryptographic, or application code. There is no indication of a security bug or fix.

Lower-prioritychore(core): decouple logging functionality from PYOPT=0by Roman Zeyde · 853fa7a8 · Jul 6, 2026 · 5 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): decouple logging functionality from PYOPT=0

It should be possible to use logging on optimized builds as well.

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

This is a small internal build-system cleanup. It moves the optional debug logging module so it can be compiled into optimized (non-debug) firmware builds when the debug console feature is enabled. There is no user-facing behavior change, no vulnerability fix, and no security-relevant change.

Lower-priorityrefactor(core): avoid debug build warnings without `--dbg-console`by Roman Zeyde · d0dbc0ac · Jul 6, 2026 · 5 filesMessage 62 · AdequateInformational 12Details
Commit message · Roman Zeyde

refactor(core): avoid debug build warnings without `--dbg-console`

[no changelog]

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

This commit is a build-system cleanup. It makes sure that debug-only logging code is compiled only when both the 'debug' feature and the 'dbg_console' feature are enabled. Previously, enabling a debug build without the debug console produced compiler warnings because logging functions were defined but never used. There is no user-facing behavior change and no security fix.

Security candidatefix(crypto): fix typo in license headersby M1nd3r · 814dcf35 · Jul 6, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

fix(crypto): fix typo in license headers

`HMAC_SHALL` -> `SHALL`

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

This commit fixes a spelling mistake in the legal license text at the top of six source files. The typo 'HMAC_SHALL' is corrected to 'SHALL'. It does not change any program logic, security behavior, or compiled code.

Security candidatefeat(vendor): collect GC metricsby Roman Zeyde · ed3d87d8 · Jul 4, 2026 · 5 filesMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

feat(vendor): collect GC metrics

[no changelog]

Co-authored-by: m1nd3r <63123927+m1nd3r@users.noreply.github.com>

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

This commit adds diagnostic counters that report how the device's memory garbage collector is behaving. It does not change how user funds, keys, or transactions are handled. It is a debugging/metrics feature only, gated so it is active only on non-optimized (debug) builds.