TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1331security candidates435second-pass queue3194AI analyses
204commits · 30 days
441commits · 60 days
1756commits · 180 days
2839commits · 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
844Strong · 80–100
1735Adequate · 60–79
1189Thin · 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.
tychovrahe394164355667
Jakub Janků1053168681
Roman Zeyde721230639372
obrusvit333135281364
cepetr301111228259
PrisionMike155102150271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r294107249071
Ioan Bizău23076230059
Lukas Bielesch1067592066
Analysis record

Published AI watches

Last scanned 19 minutes ago

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
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(ci, clear_signing): add clear signing device tests as a nightly run.

This commit adds a new nightly automated testing workflow for Ethereum 'clear signing' on Trezor hardware wallets. It does not change any wallet firmware code that users run; it only adds test scripts, CI configuration, documentation, and …

fea125baby PrisionMike+2986−2117 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): move `keccak_32` to unittests

This commit is a routine code cleanup. It removes a small helper function called keccak_32 from a shared crypto utility file and places an equivalent helper directly inside the only test file that still uses it. There is no change to how t…

f3225451by Roman Zeyde+8−122 files
No security note in commit
Informational 15 AI analysisMessage 63 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore: remove SmartCash

This commit removes support for a cryptocurrency called SmartCash from Trezor hardware wallets. It deletes coin definitions, support entries, and a custom cryptographic curve used only by SmartCash. There is no security vulnerability being…

No security-relevant signals detectedPure feature removal / code cleanup
b6d65c00by Roman Zeyde+5−52916 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.

Security candidatedocs(core/rust): fix a small typoby Roman Zeyde · 72540c6c · Jun 26, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

docs(core/rust): fix a small typo

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

This commit fixes a spelling mistake in a code comment ('Chcek' to 'Check'). No program logic, user interface behavior, or security properties were changed.

Security candidatechore(deps): added `construct-typing` for typecheckingby M1nd3r · 855c08a9 · Jun 26, 2026 · 8 filesMessage 85 · StrongInformational 15Details
Commit message · M1nd3r

chore(deps): added `construct-typing` for typechecking

- `construct-typing` is used for typechecking in files using `Construct`.
- Also fixed formatting of type/pyright ignore comments.
[no changelog]

Co-authored-by: matejcik <596073+matejcik@users.noreply.github.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
boot or update path
AI analysis · Informational 15/100

This commit only adds a development dependency called construct-typing to improve type checking and adjusts some type-checker ignore comments. It does not change how the Trezor firmware or tools behave at runtime, and it does not fix or introduce any security issue.

Security candidatetest(core): don't run FIDO2 tests on BTC-only buildsby Roman Zeyde · f386bdf8 · Jun 26, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

test(core): don't run FIDO2 tests on BTC-only builds

[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
Why it was queued
authentication path
AI analysis · Informational 15/100

This commit only changes a test file so that FIDO2/WebAuthn tests are skipped on Bitcoin-only firmware builds. It does not change any production code, wallet logic, or security behavior. There is no vulnerability or security fix here.

Security candidatefix(python): fix trezorctl get-sessionby matejcik · fda4ad4b · Jun 26, 2026 · 2 filesMessage 92 · StrongLow 32Details
Commit message · matejcik

fix(python): fix trezorctl get-session

* if an invalid base64 string is set in TREZOR_SESSION_ID, trezorctl
would crash.
* when resuming a THP session, pairing.finish() was not called, leading
to an invalid state. Ensure that pairing.finish() is called even in case
a pairing flow did not run.
* change `@get_session(passphrase=False)` to mean "do not prompt for
passphrase" as opposed to "force use standard wallet". That matches the
actual usages in code.
* try resuming session first in `get_session`, so that if we do have
a session to resume, prompt_passphrase=False will use it without
(re)deriving a standard wallet. (There is no situation where we explicitly
*need* a standard wallet for something, what we actually have are situations
where we *don't need* to ask for passphrase.)
* take advantage of improved ensure_unlocked() and remove trezorctl-specific
reuse of standard session (which is now no longer auto-created).

92/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
access control
AI analysis · Low 32/100

This commit fixes the `trezorctl get-session` command in Trezor's Python library. It prevents crashes when an invalid session ID is supplied, ensures a required pairing step is completed when resuming secure (THP) sessions, and changes the meaning of `passphrase=False` from 'always use a standard wallet' to 'do not ask for a passphrase.' These are reliability and state-correctness fixes in the command-line tool, not the hardware wallet firmware itself.

Security candidatefeat(python): client.ensure_unlocked() works without deriving a sessionby matejcik · b56edf29 · Jun 26, 2026 · 2 filesMessage 85 · StrongInformational 19Details
Commit message · matejcik

feat(python): client.ensure_unlocked() works without deriving a session

The trick here is that ApplySettings requires a PIN unlock, but if we
don't specify any setting to apply, nothing happens. (And we get a
failure "no setting provided" which we don't care about.)
ApplySettings doesn't need seed derivation and so works on a seedless
session, so we can use _get_any_session() to call it, and save time
deriving the seed in the common case.

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
access control
AI analysis · Informational 19/100

This is a small optimization in the Trezor Python library. The `ensure_unlocked()` helper used to pick or create a wallet session, which forced the hardware wallet to derive the master seed just to check if the device was unlocked. The new code instead sends a harmless 'ApplyFlags(0)' command, which requires the user to enter their PIN but does not need seed derivation. This is a performance and usability improvement, not a security fix. There is no evidence in the commit of a vulnerability being patched.

Security candidatechore: update UI fixturesby matejcik · 05711517 · Jun 26, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · matejcik

chore: update UI fixtures

ensure_unlocked() no longer derives a session so all tests where a PIN
keyboard is shown after an ensure_unlocked() call will see changed
entropy

85/100 · StrongMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
Why it was queued
entropy or randomness
AI analysis · Informational 15/100

This commit only updates expected test screenshots (called UI fixtures) recorded as cryptographic hashes. The firmware code itself is not changed. The message explains that a helper function called ensure_unlocked() no longer creates a new session, so tests that show a PIN keyboard afterward now produce different screen images. This is a routine test-maintenance change with no direct security impact.

Security candidaterefactor(python/trezorctl): respect prompt_passphrase when creating a new sessionby matejcik · 011a3413 · Jun 26, 2026 · 1 fileMessage 85 · StrongLow 35Details
Commit message · matejcik

refactor(python/trezorctl): respect prompt_passphrase when creating a new session

the previous sequence of changes removed a short circuit path for "not
prompt_passphrase", this commit restores the correct behavior

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
access control
AI analysis · Low 35/100

This commit fixes a regression in the Trezor command-line tool (trezorctl). A recent earlier change accidentally removed a shortcut that skips asking the user for their passphrase when the caller explicitly says it is not needed. Because of that regression, trezorctl could prompt for or require a passphrase even in situations where it should not, such as when running commands that do not need a wallet. The patch restores the intended behavior by adding a `prompt_passphrase` flag and returning an empty passphrase when it is false.

Security candidatechore(python): remove `magic` and `code_length` fields from `LegacyFirmware` structby M1nd3r · 163c927c · Jun 23, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · M1nd3r

chore(python): remove `magic` and `code_length` fields from `LegacyFirmware` struct

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

This is a small internal cleanup in the Python helper library that handles Trezor One firmware files. It removes two exposed fields ('magic' and 'code_length') from a Python class and renames them to private internal names ('_magic' and '_code_length'). The actual binary parsing behavior is unchanged: the 'TRZR' magic bytes are still required, and the code length is still computed and embedded exactly as before. There is no security fix or vulnerability here.

Security candidatefeat(python): introduce `NrfHeader` and `NrfImage`by M1nd3r · af1a4b51 · Jun 23, 2026 · 3 filesMessage 77 · AdequateInformational 19Details
Commit message · M1nd3r

feat(python): introduce `NrfHeader` and `NrfImage`

[no changelog]

Co-authored-by: matejcik <596073+matejcik@users.noreply.github.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
boot or update path
AI analysis · Informational 19/100

This commit adds new Python code to the Trezor firmware tools for parsing and building Nordic Semiconductor (nRF) style firmware images. It is a feature addition, not a fix. The code handles firmware headers, TLV metadata blocks, SHA-256 digests, Ed25519 signatures, and device model identifiers. There is no indication in the commit that this resolves a security bug or is being released as a security patch.

Security candidatefix(python): fix trezor model parsingby matejcik · 09520872 · Jun 23, 2026 · 1 fileMessage 72 · AdequateInformational 20Details
Commit message · matejcik

fix(python): fix trezor model parsing

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

This commit fixes a small bug in the Python Trezor library that identifies which Trezor hardware model is being used. Previously, the code would crash when it saw a valid but unrecognized model identifier. The fix makes the parser accept any valid model identifier instead of rejecting unknown ones. This is a routine robustness improvement, not a clear security vulnerability, but it could affect how firmware updates or device interactions behave if a new model is introduced.

Security candidaterefactor(python): remove nrf magic from HeaderTypeby M1nd3r · 2e90694f · Jun 23, 2026 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · M1nd3r

refactor(python): remove nrf magic from HeaderType

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

This is a small code cleanup in Trezor's Python firmware-handling library. It removes an unused firmware header type for Nordic (NRF) chips and renames an internal 'magic' field so it is no longer treated as a user-facing header type. It also fixes two default boolean values from the integers 1 to the Python booleans True. There is no security-relevant change here.

Security candidatefeat(core/build): handle bootloader padding in memusageby tychovrahe · 1f7cbfde · Jun 23, 2026 · 3 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

feat(core/build): handle bootloader padding in memusage

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
update trustboot or update path
AI analysis · Informational 15/100

This commit changes how a build reporting tool calculates memory usage for the Trezor bootloader. Previously, the tool counted the zero padding that fills the bootloader image up to its maximum size as 'used' memory, making the bootloader always appear 100% full. The patch lets the linker export the padding size and subtracts it from the reported usage so developers see real content size versus padding. It is a build tooling and reporting improvement, not a fix for a runtime security bug.

Security candidatefeat(core): add support for PQ uild on STM32U58xby tychovrahe · e25721d3 · Jun 23, 2026 · 1 fileMessage 57 · ThinInformational 17Details
Commit message · tychovrahe

feat(core): add support for PQ uild on STM32U58x

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

This commit updates a bootloader linker script for a new STM32U58-based Trezor variant to support an alternative 'PQ' (post-quantum) bootloader header format. It adds a code-size symbol, a small padding section, and changes how the bootloader image is padded to its maximum size. There is no direct evidence in the commit that this fixes a security vulnerability; it reads as a build/enablement change for a new hardware configuration.

Security candidaterefactor(core): avoid allocation in `confirm_payment_request()`by Roman Zeyde · 0f93b31e · Jun 22, 2026 · 8 filesMessage 62 · AdequateInformational 18Details
Commit message · Roman Zeyde

refactor(core): avoid allocation in `confirm_payment_request()`

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

This is a small internal code cleanup in the Trezor firmware's Ethereum transaction confirmation flow. It changes several function parameters from 'Iterable' (a general 'can be looped over' type) to 'Sequence' (a type that supports indexing and has a known length). The commit title says the goal is to 'avoid allocation' because the code no longer needs to convert the items into a list before passing them to the UI. There is no direct evidence in the commit of a security vulnerability being fixed; it reads as a performance or memory-efficiency refactor.

Security candidatechore(vendor): disable unused MicroPython featuresby Roman Zeyde · c21e4efa · Jun 22, 2026 · 2 filesMessage 62 · AdequateLow 26Details
Commit message · Roman Zeyde

chore(vendor): disable unused MicroPython features

[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
boot or update path
AI analysis · Low 26/100

This commit turns off several unused features in the MicroPython interpreter that runs on Trezor hardware wallets. It is a hardening change that reduces the amount of code available to an attacker, but it does not by itself fix a known, exploitable bug. The commit message explicitly calls it a routine cleanup ('chore') and says it needs no changelog entry.

Security candidatetest(core): add N4W1-based fixtures to reset/recovery device testsby Roman Zeyde · 388c3ec0 · Jun 22, 2026 · 7 filesMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

test(core): add N4W1-based fixtures to reset/recovery device tests

[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
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit only updates automated test scripts and recorded test snapshots (fixtures) for the Trezor firmware. It adds support for testing a new backup method called N4W1 alongside the existing on-screen display backup method. There are no changes to the actual device firmware, wallet logic, or security-critical code, so this commit does not introduce or fix a security vulnerability.

Security candidatefix(core/xtask): place combined sections at their flash offsetsby tychovrahe · 534df742 · Jun 22, 2026 · 1 fileMessage 85 · StrongLow 29Details
Commit message · tychovrahe

fix(core/xtask): place combined sections at their flash offsets

combine concatenated boardloader/bootloader/firmware back-to-back, but
the .bin files are content-sized, so every section after the boardloader
landed too early and the flashed image didn't boot. Place each section at
its memory.ld offset (relative to BOARDLOADER_START), padding gaps with
zeros. Affects all models.

[no changelog]

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
update trust
AI analysis · Low 29/100

This commit fixes a bug in the tool that builds Trezor hardware wallet flash images. Previously, when combining the boardloader, bootloader, and firmware into one file, later sections were placed too early because earlier files were smaller than their reserved flash space. The fix pads the gaps with zeros so each piece lands at its correct memory address, preventing the resulting image from failing to boot. It is a build-time tooling fix, not a runtime vulnerability in the device itself.

Security candidaterefactor(core/build): remove special bolt layout casesby tychovrahe · 8792e14c · Jun 22, 2026 · 14 filesMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

refactor(core/build): remove special bolt layout cases

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

This commit is a straightforward build-system cleanup. It removes special-case layout feature bundles (like layout_bolt_d001 and layout_bolt_d002) and replaces them with separate, explicit display-type features (display_mono, display_rgb565, display_rgba8888). Model configuration files now list the display type directly alongside the layout type. There is no change to runtime code, no bug fix, and no security-related behavior.

Security candidatefix(common): correct wire direction for Monero *Request messagesby Martin Varmuza · 38db13a4 · Jun 19, 2026 · 3 filesMessage 93 · StrongInformational 20Details
Commit message · Martin Varmuza

fix(common): correct wire direction for Monero *Request messages

The 11 stateful Monero *Request messages (transaction signing and
key-image sync) were tagged (wire_out) even though the host sends them
device-bound; they should be (wire_in). The firmware reads each one as
input (workflow entry points in workflow_handlers.py, subsequent steps
via ctx.read()/call() in apps/monero/sign_tx.py and key_image_sync.py)
and answers with the matching *Ack, which correctly stays (wire_out).

The Monero live-refresh requests (552/554/556), MoneroGetTxKeyRequest
and DebugMoneroDiagRequest were already correct; only the tx-signing
(501-517) and key-image-sync (530-534) request branches were wrong.

Regenerated both checked-in host descriptors that embed the wire
direction: rust/trezor-client/src/protos/generated/messages.rs (via
rust/trezor-client/scripts/build_protos) and
rust/trezor-thp/examples/host-cli/pb/messages.rs (via
`cargo run --example gen-protobuf examples/host-cli/pb/`). Each flips
the same 11 EnumValueOptions tags from field 50003 (wire_out) to 50002
(wire_in); no message IDs, *Ack values, or unrelated entries change.

No functional firmware change: the on-device protobuf blobs
(proto_*.data, consumed by core/embed/rust/src/protobuf/defs.rs) are
generated by common/protob/pb2py from the integer wire_type only --
wire_in/wire_out are never read -- and runtime dispatch is keyed on the
integer message type, so core behavior is byte-identical. The generated
Python does not encode wire direction either. Legacy (T1) is unaffected
(Monero is in SKIPPED_MESSAGES).

Upstream fix for the wire-direction inconsistency worked around in
trezor/trezor-suite#28859.

[no changelog]

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

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

This commit fixes a labeling mistake in the Trezor firmware's protocol definition: eleven Monero request messages were incorrectly marked as traveling from the device to the host, when in reality the host sends them to the device. The change only updates metadata in generated host-side descriptors; the firmware itself does not use this metadata, so on-device behavior is unchanged. It is a correctness fix for host libraries, not a patch for an exploitable device bug.

Security candidatechore(common): remove deprecated passphrase-related protobuf messagesby Roman Zeyde · 7c514195 · Jun 19, 2026 · 7 filesMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(common): remove deprecated passphrase-related protobuf messages

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

This commit is a routine cleanup: it removes two old, already-deprecated message types related to passphrase handling from Trezor's protocol definitions and generated code. There is no security fix or vulnerability being patched here; the messages were marked deprecated years ago and are now being deleted entirely.

Security candidatechore(common): remove deprecated fields from passphrase-related messagesby Roman Zeyde · a96a9f91 · Jun 19, 2026 · 3 filesMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(common): remove deprecated fields from passphrase-related messages

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

This commit is a routine cleanup: it removes two old, already-deprecated fields from the messages that Trezor devices and apps use to exchange passphrase information. The fields were marked deprecated in firmware version 2.3.0 and are no longer used. Removing them does not change active behavior and does not fix or introduce a security vulnerability.

Security candidatechore(rust): remove deprecated `_on_device` from `PassphraseRequest`by Roman Zeyde · 9f546475 · Jun 18, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(rust): remove deprecated `_on_device` from `PassphraseRequest`

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

This commit removes an unused Rust helper method that checked whether a passphrase should be entered on the Trezor device. It is a routine cleanup with no visible security effect.

Security candidateRevert "fix(trezor-client): send empty passphrase for standard wallets"by Roman Zeyde · 1ca9f9e0 · Jun 18, 2026 · 1 fileMessage 65 · AdequateLow 29Details
Commit message · Roman Zeyde

Revert "fix(trezor-client): send empty passphrase for standard wallets"

This reverts commit 36ad4e8946585b997e585238b4571730fa13a680.

65/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
access control
AI analysis · Low 29/100

This commit undoes a previous change in the Trezor client Rust library. The original change made the software send an empty passphrase when using standard (non-hidden) wallets. The revert restores older behavior where, if the device is not asking for the passphrase on-device, the client acknowledges the passphrase request without providing an empty string. The practical effect depends on how the Trezor device firmware interprets the two acknowledgment types: one with an explicit empty passphrase and one without a passphrase field. It could affect which wallet derivation path or seed is used, potentially causing users to see a different wallet than expected, but the commit itself does not clearly introduce theft or remote exploitation.

Security candidatechore(rust): simplify `PassphraseRequest` handlerby Roman Zeyde · 1d6bb52c · Jun 18, 2026 · 1 fileMessage 84 · StrongInformational 15Details
Commit message · Roman Zeyde

chore(rust): simplify `PassphraseRequest` handler

Following `PassphraseRequest._on_device` is false due to deprecation.

[no changelog]

84/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Why it was queued
access control
AI analysis · Informational 15/100

This is a minor code cleanup in the Rust Trezor client. It simplifies how the software responds when a Trezor device asks for a passphrase. The old code checked whether the device wanted the passphrase entered on the device itself; now it always tells the device to enter the passphrase on the host computer. The commit message says the on-device path is deprecated and no longer used. There is no security-relevant change visible in the diff.

Security candidatefix(core/caesar): allow GC previous allocations at `confirm_payment_request()`by Roman Zeyde · c5d7697f · Jun 18, 2026 · 1 fileMessage 99 · StrongInformational 22Details
Commit message · Roman Zeyde

fix(core/caesar): allow GC previous allocations at `confirm_payment_request()`

Otherwise `tests/device_tests/ethereum/test_signtx.py::test_signtx_payment_req` OOMs on T2B1.

[no changelog]

99/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✓ Mentions testing or verification
Why it was queued
cryptography-sensitive path
AI analysis · Informational 22/100

This commit fixes an out-of-memory (OOM) crash during Ethereum payment-request signing on the Trezor Safe 3 (T2B1). The fix wraps UI layout construction in a temporary async task so the device's garbage collector can reclaim memory sooner. It is a reliability/DoS-style bug rather than a theft-of-funds vulnerability.