TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1352security candidates437second-pass queue3217AI analyses
213commits · 30 days
454commits · 60 days
1757commits · 180 days
2866commits · 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
862Strong · 80–100
1744Adequate · 60–79
1193Thin · 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 Zeyde722231640372
obrusvit336138284364
cepetr304111229259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Ioan Bizău23076230059
Lukas Bielesch1087693066
Analysis record

Published AI watches

Last scanned 30 minutes ago

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 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 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
Moderate 62 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): minor clean up

This commit fixes a bug in the Ethereum 'clear signing' feature on Trezor hardware wallets. A value that could arrive as true/false was not being converted to a number (1/0) before being looked up, which caused clear signing to fail and fo…

Bugfix in parser that caused fallback to blind signing for LiDo transactionsBlind signing reduces transaction transparency and increases phishing/social-engineering riskBoolean-to-integer conversion omission in enum formatter
92c09256by PrisionMike+4−32 files
No security note in commit
Low 26 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): support conditional visibility

This commit adds a new feature to Trezor's Ethereum 'clear signing' system that lets wallet metadata definitions hide or require certain transaction fields based on their decoded values. It introduces two new conditions: 'ifNotIn' (hide th…

New exception path (MustMatchViolation) can abort transaction rendering if a metadata-supplied mustMatch list is not satisfiedConditional hiding (ifNotIn) could be abused by a malicious or compromised metadata definition to suppress security-relevant fields from the user interfaceConstant paths are explicitly rejected when combined with ifNotIn/mustMatch, suggesting awareness of metadata-manipulation risk
deaa1546by PrisionMike+48−21 file
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
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): use a one-shot timer for the eye hint start delay

This is a user-interface performance cleanup. It changes how a small eye icon (hinting that a hidden passphrase can be shown) waits before sliding onto the screen. Previously the screen was redrawn on every animation frame during the short…

fa3ec406by Anderson Guimaraes+26−121 file
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(core): inline `data_length` into `_get_digest_length()`by Roman Zeyde · df4447c9 · Aug 3, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

refactor(core): inline `data_length` into `_get_digest_length()`

[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 is a tiny code cleanup in the Ethereum transaction signing code. It moves where a variable is defined without changing what the code actually does. There is no security issue visible in the change.

Lower-prioritychore(core): remove unused mpu configurationby cepetr · 4e29b64c · Aug 3, 2026 · 2 filesMessage 57 · ThinTriage 0Details
Commit message · cepetr

chore(core): remove unused mpu 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
Lower-priorityci: add Tropic emulator reminder botby Martin Milata · 6b10a565 · Aug 3, 2026 · 1 fileMessage 57 · ThinTriage 0Details
Commit message · Martin Milata

ci: add Tropic emulator reminder bot

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
Lower-prioritychore(core): update common changelog as wellby Roman Zeyde · 8c04a8fb · Aug 3, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · Roman Zeyde

chore(core): update common changelog as well

Following https://github.com/trezor/trezor-firmware/pull/7458.

[no changelog]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only updates the changelog text in core/CHANGELOG.md. It adds a one-line note describing a security fix ('Discard low-order keys in THP Code Entry pairing') that was already merged in a previous pull request. There are no code changes, no new functionality, and no direct security fix in this commit itself.

AI review queuedrefactor(core): simplify ETH access list RLP encodingby Roman Zeyde · 2d23449f · Aug 3, 2026 · 1 fileMessage 93 · StrongInformational 12Details
Commit message · Roman Zeyde

refactor(core): simplify ETH access list RLP encoding

`rlp.length()` and `rlp.write()` support handling a list of `RLPItem`s.

https://eips.ethereum.org/EIPS/eip-2930#parameters

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

This commit is a small internal cleanup of how Ethereum transaction 'access lists' are formatted for RLP encoding in the Trezor firmware. It replaces a hand-rolled length calculation and manual header writing with higher-level helper functions that do the same job. There is no user-visible behavior change and no indication of a security fix.

Lower-prioritychore(core): add missing changelog entryby M1nd3r · 1ca68b3b · Aug 3, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore(core): add missing changelog entry

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This commit only adds a missing line to a changelog file describing a security fix that was already implemented in earlier code. It does not change any source code, firmware behavior, or cryptographic logic. There is nothing here that could directly affect device security.

Lower-priorityfix(core): fix deadlock in systask_kill()by cepetr · 505a9d65 · Aug 3, 2026 · 4 filesMessage 57 · ThinLow 42Details
Commit message · cepetr

fix(core): fix deadlock in systask_kill()

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

This commit fixes a deadlock bug in the Trezor firmware's task-killing code. Previously, the code that terminates a background task was marked as a function that never returns, but under some conditions it could actually return and then spin forever doing nothing. That could freeze the device. The fix moves the 'never return' guarantee to the outer system-exit functions and lets the internal task-killer return normally after handing control back to the kernel task.

Security candidatechore(core): bump version to 2.12.5by Martin Milata · 82c04645 · Aug 3, 2026 · 8 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

chore(core): bump version to 2.12.5

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
signing or wallet pathboot or update path
AI analysis · Informational 15/100

This commit only updates the firmware version number from 2.12.4 to 2.12.5 in the source code and translation files. It does not change any security-related logic, fix any bug, or alter any cryptographic behavior. It is a routine release bookkeeping change with no security relevance.

Lower-prioritychore(core/secmon): bump version to 1.0.14by Martin Milata · 88dd7f33 · Aug 3, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

chore(core/secmon): bump version to 1.0.14

[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 increases a version number from 1.0.13 to 1.0.14 in a header file for the secure monitor component. There are no code changes, no bug fixes, and no security-related content in the diff.

Security candidatechore(core): build trezor_lib with xbuildby cepetr · 9ba7ee1b · Aug 3, 2026 · 16 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

chore(core): build trezor_lib with xbuild

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

This is a routine build-system cleanup for the Trezor firmware. It switches the internal 'trezor_lib' Rust crate to be built with the project's own 'xbuild' tool, removes transitional feature flags, and reorganizes Cargo.toml files. There is no indication this change fixes or introduces a security vulnerability.

AI review queuedchore(core): sign translationsby Martin Milata · 38b528f2 · Aug 3, 2026 · 1 fileMessage 62 · AdequateInformational 18Details
Commit message · Martin Milata

chore(core): sign translations

[no changelog]

(cherry picked from commit 4c4870262b85c04ba235602ba49307015118c3f5)

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

This commit adds a new cryptographic signature entry to a JSON file that records approved translation bundles for the Trezor hardware wallet. It does not change any executable code, fix a bug, or alter security logic. The signature appears to be a routine administrative update authorizing a new set of translated strings for firmware version 2.12.4.0.

Lower-priorityrefactor(core/rust): use FatPtr in rust syslog bindingby matejcik · 178950a9 · Aug 3, 2026 · 1 fileMessage 77 · AdequateInformational 12Details
Commit message · matejcik

refactor(core/rust): use FatPtr in rust syslog binding

taking advantage of the new zero-length-slice feature

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

This commit is a small internal cleanup in the Rust code that handles device logging. It replaces manual pointer-and-length handling with a helper called FatPtr, which is designed to safely represent string slices. There is no indication this change fixes a security bug or introduces a new vulnerability; it appears to be a routine refactoring that relies on a newly available language feature.

Lower-priorityfeat(core/rust): coerce empty slices to null FatPtrsby matejcik · c0d53744 · Aug 3, 2026 · 1 fileMessage 89 · StrongLow 44Details
Commit message · matejcik

feat(core/rust): coerce empty slices to null FatPtrs

to avoid problems with C interop checking pointer validity separately
from len

89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
AI analysis · Low 44/100

This commit changes how Trezor firmware passes empty data buffers from Rust code to C code. Previously, an empty Rust slice could produce a pointer that looks like a memory address but points to nothing valid. The patch forces such empty slices to become a standard NULL pointer, which C code is more likely to treat safely. The change is defensive and appears aimed at preventing future bugs or crashes during Rust-to-C communication, rather than fixing an active exploit.

Lower-prioritychore: update signed secmon for T3W1by Martin Milata · 67488e89 · Aug 3, 2026 · 1 fileMessage 80 · StrongTriage 0Details
Commit message · Martin Milata

chore: update signed secmon for T3W1

Built from 4d4a652fe7a70d9390c7b94cf972a766a45990ed

(cherry picked from commit 30be4e8c9488eeab68f994af23b3d9c9b7334266)

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Security candidatefeat: sanity-check seed entropyby Andrew Kozlik · 14aa0b6d · Aug 1, 2026 · 6 filesMessage 77 · AdequateModerate 61Details
Commit message · Andrew Kozlik

feat: sanity-check seed entropy

[no changelog]

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

77/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Names security-relevant behavior explicitly
Why it was queued
entropy or randomnesscryptography-sensitive pathboot or update path
AI analysis · Moderate 61/100

This commit adds safety checks during wallet creation to make sure the randomness used to generate the recovery seed is long enough and not obviously broken. It also aborts the setup process cleanly if something arrives at the wrong time. These are defensive hardening changes rather than a fix for a known active attack.

Security candidatefeat(common,core,python): improve UX for SEP-41 token invocations of Stellar Asset Contracts.by Jun Luo · 78f7c19e · Aug 1, 2026 · 30 filesMessage 62 · AdequateInformational 23Details
Commit message · Jun Luo

feat(common,core,python): improve UX for SEP-41 token invocations of Stellar Asset Contracts.

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 pathsigning or wallet pathauthentication path
AI analysis · Informational 23/100

This commit improves the on-screen display for certain Stellar smart-contract token operations. It lets a connected wallet tell the Trezor device that a contract call is actually a well-known token transfer or approval, so the user sees a friendlier 'Send' or 'Approve' screen instead of raw technical data. The device independently recalculates the token contract address from the hint and only uses the friendly screen if the address matches; a wrong hint falls back to the raw display. The change is a user-experience enhancement, not a fix for a known security flaw.

Security candidatefix(core/ui): stop dropping the subtitle of the Stellar amount screen on caesar.by Jun Luo · b864ed99 · Aug 1, 2026 · 1 fileMessage 62 · AdequateInformational 18Details
Commit message · Jun Luo

fix(core/ui): stop dropping the subtitle of the Stellar amount screen on caesar.

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

This commit fixes a user-interface bug in Trezor hardware wallets where the subtitle line on the Stellar cryptocurrency transaction confirmation screen was accidentally dropped. The fix joins the title and subtitle into a single line so users see both pieces of context before signing. It is a UI clarity issue, not a cryptographic or code-execution vulnerability.

Lower-priorityfix(rust/trezor-thp): channel desync after incorrect ACKby Martin Milata · ded1c141 · Jul 31, 2026 · 2 filesMessage 62 · AdequateModerate 58Details
Commit message · Martin Milata

fix(rust/trezor-thp): channel desync after incorrect ACK

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

This commit fixes a bug in the Trezor hardware wallet's custom transport protocol (THP). Previously, when the device received an incorrect or out-of-order acknowledgment (ACK), it would not advance its internal send state but would still log a generic warning. The fix makes the protocol explicitly reject bad ACK bits and only mark a message as delivered when the ACK bit matches what the device expects. Without the fix, a malformed or replayed ACK could leave the sending side stuck or desynchronized, potentially disrupting communication between the wallet and a host computer.

Lower-priorityfix(rust/trezor-thp): do not retransmit before whole message is sentby Martin Milata · f4962a95 · Jul 31, 2026 · 1 fileMessage 62 · AdequateLow 42Details
Commit message · Martin Milata

fix(rust/trezor-thp): do not retransmit before whole message is sent

[no changelog]

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

This commit fixes a bug in the Trezor hardware wallet's THP (Trezor Host Protocol) Rust code. Previously, the device could start retransmitting a message before it had finished sending all the fragments (pieces) of the current message. The fix makes the device wait until the whole message is sent before it retransmits. This could prevent protocol confusion or errors during communication between the Trezor device and a host computer, especially when retries happen due to network or transport issues.

Lower-priorityfix(core): THP write timeout for single packetby Martin Milata · cac8b637 · Jul 31, 2026 · 1 fileMessage 57 · ThinLow 42Details
Commit message · Martin Milata

fix(core): THP write timeout for single packet

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

This commit fixes a bug in how the Trezor hardware wallet handles sending data over its USB-like wire protocol. Previously, a single outgoing packet could wait forever for the host to accept it, potentially freezing the device and preventing it from handling other communication channels. The fix adds a 5-second timeout so the device can recover and continue operating. This is a reliability and denial-of-service improvement rather than a fix for theft of funds or keys.

Lower-priorityfix(rust/trezor-thp): packet length edge casesby Martin Milata · d81f5684 · Jul 31, 2026 · 2 filesMessage 57 · ThinLow 46Details
Commit message · Martin Milata

fix(rust/trezor-thp): packet length edge cases

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

This commit fixes how a Trezor hardware wallet's Rust code handles incoming USB-like packets. Previously, the code resized its receive buffer based on a size value returned after a packet was already accepted, which could lead to incorrect buffer sizing or missed edge cases around packet length. The new code parses the packet's control byte and channel length up front, and only resizes the buffer if the incoming data needs more space. The change is defensive and appears to prevent memory or protocol-handling bugs, but the commit message gives no explicit security claim and no external advisory is supplied.

Lower-prioritytest(rust/trezor-thp): do not retransmit before whole message is sentby Martin Milata · c822c5ac · Jul 31, 2026 · 1 fileMessage 72 · AdequateInformational 12Details
Commit message · Martin Milata

test(rust/trezor-thp): do not retransmit before whole message is sent

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

This commit only adds a new automated test for the Trezor hardware protocol (THP) channel code. It checks that retransmitting a partially sent message does not cause duplicate or extra packets. There is no change to production code, no bug fix, and no security-relevant behavior change in the firmware itself.

Security candidatechore: guard against insecure PRNG in production buildby Andrew Kozlik · 16e23d34 · Jul 31, 2026 · 3 filesMessage 77 · AdequateLow 42Details
Commit message · Andrew Kozlik

chore: guard against insecure PRNG in production build

[no changelog]

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

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
entropy or randomnesscryptography-sensitive path
AI analysis · Low 42/100

This commit adds safety guards to prevent a deliberately weak random-number generator from being included in production firmware builds, and stops emulator builds from being labeled as production builds. It does not by itself fix a vulnerability in shipped code; it is a build-time hardening measure against accidental misconfiguration.

Security candidaterefactor(core/rust/crypto): prepare crypto crate for API bindingsby matejcik · eec84034 · Jul 31, 2026 · 14 filesMessage 97 · StrongInformational 20Details
Commit message · matejcik

refactor(core/rust/crypto): prepare crypto crate for API bindings

Introduces the concept of a "copy hazard" separate from unsafety,
replacing pinning. A "copy hazard" is the possibility of Rust
auto-copying owned structs containing sensitive data.

Replaces the "memory" module with "secret", introducing well documented
helper types specifically for copy hazard:
* SecretContext is a zeroizing wrapper over the raw memory. By itself,
not super useful, except that it implements Default for types tagged
with the unsafe marker type ZeroableMemory (ffi contexts).
* SecretContextLock holds a generic DerefMut "lock" over
a SecretContext, forcing the borrow checker to prevent copy hazards:
the compiler is not free to move around memory while a live DerefMut
pointer to it exists. Zeroizes on drop.

Introduces implementation separation on hasher-like structs (that is the
various SHAs plus HMAC):
* "hazardous" base methods are implemented on a SecretContext<ffi_type>,
delegating hazard responsibility to caller,
* non-hazardous methods are implemented on a wrapper struct
(Sha256, Sha3_256 in the followup PR) that takes a SecretContextLock,
which zeroizes on drop, so whenever the computation is either
(a) finished or (b) abandoned, the memory is zeroed before unlocking.

Trezor THP already takes advantage of this split by using hazard methods
directly (with the appropriate comment), without needing a separate
NoPinSha implementations.

This is also preparation for the SDK API bindings, which will introduce
their own secure wrapper for the hasher structs.

97/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
Why it was queued
memory safetycryptography-sensitive path
AI analysis · Informational 20/100

This is a large internal refactor of how Trezor's Rust crypto code handles sensitive memory. It replaces an older pinning-based mechanism with a new 'copy hazard' framework designed to prevent Rust from accidentally duplicating secret data in memory. The change itself is defensive and does not appear to introduce a new vulnerability; rather, it is a hardening measure. However, because it touches low-level cryptographic state handling across many files, any mistake in the new abstraction could theoretically affect how secrets are cleared from memory.

Security candidatefeat(nordic): add nrf/ble functionality to T3T2by tychovrahe · d8b4daa6 · Jul 31, 2026 · 22 filesMessage 57 · ThinInformational 15Details
Commit message · tychovrahe

feat(nordic): add nrf/ble functionality to T3T2

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
signing or wallet pathauthentication path
AI analysis · Informational 15/100

This commit adds Bluetooth Low Energy (BLE) support for the Trezor T3T2 hardware model. It introduces new board configuration files, pin mappings, build scripts, and firmware binaries for the Nordic nRF54LS05A BLE radio used in T3T2. There is no indication in the commit that this fixes a security bug; it appears to be a feature addition enabling BLE functionality on a new device variant.