TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1328security candidates435second-pass queue3191AI analyses
201commits · 30 days
450commits · 60 days
1754commits · 180 days
2832commits · 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
841Strong · 80–100
1731Adequate · 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ů1023067681
Roman Zeyde721230639372
obrusvit333135281364
cepetr301111228259
PrisionMike153101149271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r292106248071
Ioan Bizău23076230059
Lukas Bielesch1067592066
Analysis record

Published AI watches

Last scanned 38 minutes ago

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

chore(common,core,legacy,crypto): remove Groestlcoin

This commit removes all support for the Groestlcoin cryptocurrency from Trezor firmware. It deletes coin definitions, the custom Groestl hash algorithm code, related address/transaction handling, and tests. There is no security vulnerabili…

No security-relevant change: pure feature removalNo new attack surface introducedNo vulnerability patched or created
e22d597dby Roman Zeyde+41−446845 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): remove Tezos

This commit removes all support for the Tezos cryptocurrency from Trezor firmware, software libraries, and documentation. It is a feature-removal change, not a security fix or vulnerability patch. There is no indication in the commit that …

433075c0by obrusvit+9531−1751964 files
No security note in commit
Informational 24 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(legacy): lower maximum auto-lock delay to 149 hours

This update reduces the longest allowed screen-lock timeout on older Trezor devices from about 6 days down to 149 hours (just over 6 days). It makes the legacy firmware behave the same as newer Trezor firmware and prevents users from setti…

Bounds enforcement added for a configurable security-relevant timeoutAlignment of security policy between legacy and core firmware variantsTest coverage added for boundary values above and below new maximum
c108f275by Ondřej Vejpustek+16−64 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 candidatefeat: Introduce dynamic parameter handling for device menu layouts and longer lifetimeby Vojtěch Nevřela · 8d01a0b1 · Aug 26, 2026 · 15 filesMessage 85 · StrongInformational 19Details
Commit message · Vojtěch Nevřela

feat: Introduce dynamic parameter handling for device menu layouts and longer lifetime

- Added `ParamsObj` struct to encapsulate fresh construction parameters for layouts.
- Implemented `request_params` method in `EventCtx` to signal the need for updated parameters.
- Updated `DeviceMenuScreen` to handle parameter updates without restarting the layout.
- Refactored `show_device_menu` method signatures across multiple firmware implementations to accept a single `DeviceMenuParams` struct.
- Enhanced the `DeviceMenuParams` struct to facilitate easier parameter management and parsing from MicroPython dictionaries.
- Removed obsolete `RefreshMenu` message from `DeviceMenuMsg` and related handling.
- Updated Python interface to support new parameter handling in device menu interactions.

[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
signing boundarycryptography-sensitive pathboot or update path
AI analysis · Informational 19/100

This commit is a user-interface refactor for the Trezor hardware wallet's device menu. It changes how the menu receives updated information (like Bluetooth connection status) so the menu can refresh itself without closing and reopening. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a code-quality and user-experience improvement.

AI review queuedfix(solana): properly sanitize account countsby Jakub Janků · 5c7fde0c · Aug 26, 2026 · 1 fileMessage 88 · StrongLow 40Details
Commit message · Jakub Janků

fix(solana): properly sanitize account counts

The parsed address counts were previously checked only using asserts
which are stripped out in release builds. As a result, the device could
misclassify the accounts in a TX and present a writable signer as
read-only. However, no funds were at risk, since a TX with invalid counts
is rejected by the network.

Moreover, one asserted bound was incorrect, at least one writable signer
must be present in each TX (the fee payer).

This commit replaces the asserts with proper if-raise checks that now
mirror the on-chain checks, see:

https://github.com/anza-xyz/solana-sdk/blob/06b8acf9dfc505da943e25274454a95a5bdaa42a/message/src/legacy.rs#L166-L178
https://github.com/anza-xyz/solana-sdk/blob/06b8acf9dfc505da943e25274454a95a5bdaa42a/message/src/versions/v0/mod.rs#L126-L138

[no changelog]

88/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
defensive validationsigning or wallet pathsecond-pass: near security thresholdsecond-pass: security-sensitive path
AI analysis · Low 40/100

This commit fixes a bug in how Trezor's Solana app counted account roles inside a transaction. In release builds, safety checks were removed, so a malformed transaction could trick the device into showing a signer account as read-only on screen. The device would not actually sign anything harmful, because the Solana network would reject the bad transaction anyway. The fix replaces the removed checks with proper error handling and corrects one rule: every transaction must have at least one writable signer to pay fees.

AI review queuedfix(tests): update .dat filesby PrisionMike · 5054fd71 · Aug 26, 2026 · 26 filesMessage 82 · StrongInformational 15Details
Commit message · PrisionMike

fix(tests): update .dat files

- updated timestamps on .dat files avoid CI failures when definition version is bumped during release.

[no changelog]

82/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
second-pass: unusually broad change
AI analysis · Informational 15/100

This commit only updates test data files (binary .dat fixtures and a UI test fixtures JSON file) to refresh timestamps. The change is explicitly described as avoiding CI test failures when a version number is bumped during release. There is no firmware code change, no user-facing behavior change, and no security relevance.

Security candidatechore(core): remove redundand declarationsby cepetr · b9220d07 · Aug 26, 2026 · 19 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

chore(core): remove redundand declarations

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

This commit is a routine cleanup that removes duplicate or unnecessary function and variable declarations across many source files. It does not change how the device behaves, process secrets, or handle user data. There is no indication this is a security fix.

AI review queueddocs(core): changelog for 2.12.5by Roman Zeyde · 204ca3fd · Aug 26, 2026 · 21 filesMessage 72 · AdequateModerate 69Details
Commit message · Roman Zeyde

docs(core): changelog for 2.12.5

[no changelog]

(cherry picked from commit d2f3aee41be7360b2812fb3d833f6463bfc12dd4)

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
signing or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Moderate 69/100

This commit is a documentation-only changelog update for the Trezor firmware release 2.12.5. It lists several security fixes that were already made in earlier code changes, including protections for Ethereum swaps and staking, Solana token display and stake lockup confirmation, and Stellar network and signer details. The commit itself does not change any firmware code, but it confirms that the vendor considers these items security-relevant for the release.

Security candidatefix(core): reorder linker script sections for stm32f4 firmwareby cepetr · e75f5f9a · Aug 25, 2026 · 1 fileMessage 62 · AdequateLow 43Details
Commit message · cepetr

fix(core): reorder linker script sections for stm32f4 firmware

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

This commit moves a special memory section named '.bootloader' from one flash memory region to another in the firmware's build instructions (the linker script). The bootloader section likely contains data used to verify or locate the device's bootloader. Reordering linker sections can affect how the firmware is laid out in memory, which in rare cases can have security implications (for example, if it changes what code runs first, where secrets live, or how integrity checks are computed). However, the commit message gives no explanation of why the change was needed or whether it fixes a security problem, and the diff alone does not show a clear vulnerability.

Security candidatechore(clear_signing): delete inbuilt 1inch and uniswap definitions.by PrisionMike · 587bbba6 · Aug 25, 2026 · 6 filesMessage 87 · StrongLow 34Details
Commit message · PrisionMike

chore(clear_signing): delete inbuilt 1inch and uniswap definitions.

Needs full regression testing with Suite 1inch swaps.

[no changelog]

87/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
signing boundaryfuzzing or regression evidencesigning or wallet path
AI analysis · Low 34/100

This commit removes built-in human-readable display definitions for 1inch and Uniswap swap transactions from Trezor's Ethereum clear-signing feature. Without these definitions, Trezor devices will likely fall back to showing raw contract call data for those transactions, making it harder for users to verify what they are signing. It is a feature-removal change, not a direct code vulnerability, but it weakens a security-relevant usability safeguard.

Security candidaterefactor(core/ui): build bootloader screens without duplicating the partsby tychovrahe · 1e57cc9d · Aug 25, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · tychovrahe

refactor(core/ui): build bootloader screens without duplicating the parts

Two size-driven cleanups in the delizia bootloader screens, both
behaviour-identical.

screen_install_confirm built TWO complete button pairs -- one with text, one with
icons -- and picked between them. Both branches used the same styles and the same
alignment, so `Button::with_text`/`with_icon` plus their whole styling chain were
instantiated twice. Select the ButtonContent first, then build each button once.

screen_intro and screen_install_confirm assembled their strings with one `unwrap!`
per `push_str` -- ten panic sites between them, each carrying its own location
string, for strings that are either built whole or not at all. A `bld_string`
helper gives one shared site and reads better than the chain it replaces.

160 B on T3T1

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

This is a code cleanup that makes two bootloader screens slightly smaller and easier to read. It does not change what the device does or how it behaves, and it does not fix any security bug.

AI review queuedfix(core): correct Rust UI chunkification logic for non-ASCII textby Roman Zeyde · 958ce98a · Aug 25, 2026 · 1 fileMessage 89 · StrongLow 44Details
Commit message · Roman Zeyde

fix(core): correct Rust UI chunkification logic for non-ASCII text

Otherwise, `text[..final_index]` would panic.

[no changelog]

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
Why it was queued
second-pass: broader security terminology
AI analysis · Low 44/100

This commit fixes a bug in the Trezor hardware wallet's Rust UI code that splits text into chunks for display. The old code used byte positions instead of character positions when handling non-ASCII text (like accented letters or non-Latin scripts). This could cause the device to crash with a panic when trying to display certain international characters, because Rust would reject a slice that cut through the middle of a multi-byte character. The fix makes the chunking logic respect character boundaries. There is no direct evidence in the commit that this is exploitable as a security attack, but any device panic during rendering of user-facing text is at minimum a denial-of-service concern.

AI review queued fix(monero): reject sweep change aliasing money-carrying outputsby Petr Susil · 18507cfc · Aug 25, 2026 · 2 filesMessage 97 · StrongHigh 71Details
Commit message · Petr Susil

fix(monero): reject sweep change aliasing money-carrying outputs

Prevent the sweep-shape exemption from accepting an unvalidated change
address that aliases a money-carrying output.

Honest sweeps remain valid because the fake output carries amount 0,
while the primary-address exception is preserved because step 6 derives
the same one-time key either way.

(cherry picked from commit 8e2e0b27ba0fdc0dd47cb94fc019405ea48b0a7e)

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
defensive validationsigning or wallet pathsecond-pass: near security thresholdsecond-pass: security-sensitive path
AI analysis · High 71/100

This update fixes a flaw in how Trezor handled certain Monero 'sweep' transactions. In a sweep, the device normally skips checking whether the change address truly belongs to the user, because the change output is supposed to carry zero coins and go to a random address. A malicious computer or wallet software could have reused that unvalidated change address for an output that actually holds money. The device would then treat that money as change and lock it with a key the user might not control, effectively freezing or misdirecting funds. The fix rejects such transactions unless the address is the user's own primary address, where the math happens to be safe either way.

Security candidatefix(core): fix build with --debug optionby cepetr · a38458c9 · Aug 25, 2026 · 5 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

fix(core): fix build with --debug option

[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 build failure that occurred when compiling Trezor firmware with the --debug option. It adds explicit references to the 'sys' Rust module so the linker includes necessary symbols such as the panic handler. There is no indication this change addresses a security vulnerability or runtime behavior in release builds.

Security candidatefeat(common,core,python): support Stellar delegated authentication.by Jun Luo · e17e1141 · Aug 24, 2026 · 14 filesMessage 67 · AdequateLow 30Details
Commit message · Jun Luo

feat(common,core,python): support Stellar delegated authentication.

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
access controlsigning or wallet path
AI analysis · Low 30/100

This commit adds support for a new Stellar blockchain feature called delegated authentication (CAP-71-01 / Protocol 27). It lets an account authorize a transaction through a chain of delegated signers. The device now recognizes and serializes these delegate chains, but when showing the transaction to the user it only displays the top-level authorizing address, not the individual delegates. This is a normal feature addition; there is no direct evidence in the commit of a security vulnerability, though any new signing path deserves careful review.

Security candidatefix(core): centralize rust panic handler in sys crateby cepetr · 20c6666a · Aug 24, 2026 · 6 filesMessage 62 · AdequateInformational 12Details
Commit message · cepetr

fix(core): centralize rust panic handler in sys crate

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

This commit is a code cleanup: it moves the Rust panic handler from several individual firmware components into a single shared system crate. A panic handler is the code that runs when something goes seriously wrong inside the device software. The change does not add new functionality or fix a security bug; it just makes the panic handling code live in one place instead of many. The release builds of Trezor firmware do not even use this handler because they are configured to abort immediately on panic.

Security candidatefeat(core): enable menu to return arbitrary valuesby Vojtěch Nevřela · e9869dbf · Aug 24, 2026 · 15 filesMessage 85 · StrongInformational 19Details
Commit message · Vojtěch Nevřela

feat(core): enable menu to return arbitrary values

[no changelog]

Enables the Menu to return arbitrary values in preparation
for UI cleanup and modularisation.

This commit is only internal refactor, should have no
functional effect.

[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
cryptography-sensitive pathboot or update path
AI analysis · Informational 19/100

This commit is an internal user-interface refactor for Trezor firmware. It changes how on-screen menus are built so that each menu entry can carry an 'intent' (standard or danger) and can return arbitrary values, instead of only supporting a fixed cancel button. The commit message and diff show no new user-facing behavior; existing cancel buttons are converted into a new 'cancel leaf' abstraction. There is no direct evidence this introduces a security vulnerability, but any refactor that touches workflow cancellation paths deserves a careful look to ensure users can still abort dangerous actions.

AI review queuedfix(core): avoid race condition when collecting qstrsby Roman Zeyde · 083bc87f · Aug 24, 2026 · 2 filesMessage 62 · AdequateInformational 21Details
Commit message · Roman Zeyde

fix(core): avoid race condition when collecting qstrs

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 21/100

This commit fixes a build-time race condition in the script that generates a list of internal string identifiers (called 'qstrs') used by the Trezor firmware. Previously, the generator could read a generated translation file while it was being updated, potentially producing an inconsistent list. The fix makes the generator read translation string names directly from the source translation file instead of from a generated file, and also excludes generated files from the grep search. This is a build-system reliability fix, not a runtime security vulnerability in the device itself.

AI review queuedchore(translations): sync Crowdin translationsby Thalarion · c8626c70 · Aug 24, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · Thalarion

chore(translations): sync Crowdin translations

[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 pathtranslation-only discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine synchronization of translated user-interface text for the Trezor hardware wallet. It only changes wording in Czech, German, Spanish, French, and Portuguese translation files, plus the corresponding translation signature metadata. There is no code change, no security fix, and no functional behavior change.

AI review queuedfeat(solana): warn about hooks on Transfer Checked with trailing accountsby Jakub Janků · 7b89aa4c · Aug 24, 2026 · 9 filesMessage 100 · StrongModerate 51Details
Commit message · Jakub Janků

feat(solana): warn about hooks on Transfer Checked with trailing accounts

Token-2022 mints can carry the transfer hook extension, which makes
Transfer Checked CPI into a mint-configured hook program. The hook
program (and any extra accounts it requires) is passed to the
instruction as trailing accounts after the owner/multisig signers, so
a transfer that executes a hook always carries at least one trailing
account; conversely, without trailing accounts the hook CPI cannot
succeed (see add_extra_accounts_for_execute_cpi in
spl-transfer-hook-interface, which requires the hook program account
among the additional accounts).

Warn the user before displaying the trailing accounts of a Token-2022
Transfer Checked instruction: a hook may impose additional
restrictions or fees on the transfer and would otherwise execute
without any indication that a third-party program runs. The deprecated
Transfer instruction needs no warning, as it can never execute hooks
(Token-2022 aborts with MintRequiredForTransfer when the source
account carries the hook extension and no mint is provided).

The warning is defined in programs.json as a new optional
per-instruction field `trailing_accounts_warning`, displayed only when
the instruction carries trailing accounts. This mirrors the existing
`is_deprecated_warning` mechanism: the warning text lives in the
instruction definitions and is rendered via confirm_metadata under the
instruction's title.

Partially fixes: https://github.com/satoshilabs/trezor-firmware/issues/325

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
(cherry picked from commit ee443c5d09bdfd867c7cd93c812a9e4abc5460ed)

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

This commit adds a new on-screen warning for Trezor users when they are about to sign a specific Solana token transfer that includes extra accounts. Those extra accounts can mean a third-party 'transfer hook' program is triggered, potentially adding hidden fees or restrictions. The change is a user-interface improvement to prevent users from unknowingly approving such transfers, not a fix for a code execution bug in Trezor itself.

AI review queuedrefactor(translations): remove solana__instruction_is_multisigby Jakub Janků · 2552d6d3 · Aug 23, 2026 · 10 filesMessage 67 · AdequateInformational 15Details
Commit message · Jakub Janků

refactor(translations): remove solana__instruction_is_multisig

[no changelog]

(cherry picked from commit 5d3c70305675df729620c4f29a780f9cd008f130)

67/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit removes a single unused translation string about Solana multisig instructions from the Trezor firmware. It is a cleanup/refactoring change with no visible security relevance. There is no code behavior change, no bug fix, and no vulnerability patch.

Security candidatefix(solana): don't present trailing accounts as multisig signersby Jakub Janků · a59ace76 · Aug 23, 2026 · 18 filesMessage 98 · StrongHigh 76Details
Commit message · Jakub Janků

fix(solana): don't present trailing accounts as multisig signers

Token program instructions accept trailing account references beyond
their declared account list. The device labeled every such account
"Signer N" and warned that "the following instruction is a multisig
instruction". Neither claim can be verified on-device:

- Whether an account must co-sign is a message-level fact (its signer
flag), which was never checked. A host could append arbitrary
read-only accounts (silently ignored by the Token program unless
they match a multisig member) or ALT-referenced accounts (which can
never sign) and the device would present them as required
co-signers. E.g. for a 1-of-N multisig, a transfer could be made to
appear to require another party's approval while it actually
executes on the user's signature alone.
- Whether the operation is a multisig operation at all depends on
on-chain state (the owner account's program-owner and data length):
trailing signers attached to a plain single-sig owner are ignored
entirely, yet the multisig warning was still shown.

See validate_owner in the Token-2022 processor for both behaviors:
https://github.com/solana-program/token-2022/blob/426400f29d5f1e299be8b353fdf13f22358fbd68/program/src/processor.rs#L2264-L2293

Instead of interpreting the trailing accounts, display only what the
message provably says:

- List every trailing account with its actual (Writable/Signer)
flags, in the same format the unknown-instruction view already
uses. The signer flag is enforced by the runtime (the transaction
is rejected without that account's signature), so this display
cannot be spoofed by the host.
- Drop the per-instruction multisig warning. It asserted an
unverifiable interpretation, and the transaction-level "requires N
signers" warning already fires in every case where multiple
signatures are in fact required.
- InitializeMultisig: fold the "signer_accounts" reference into the
trailing list. The trailing accounts of this instruction are the
future multisig members (read-only, no signatures required at
creation), and the first member was previously labeled differently
("Signers") from the rest ("Signer 1", "Signer 2", ...). The
at-least-one-member requirement is no longer enforced on-device; a
violating transaction fails on-chain.
https://docs.rs/spl-token-2022-interface/3.1.1/spl_token_2022_interface/instruction/enum.TokenInstruction.html#variant.InitializeMultisig
- Rename is_multisig -> trailing_references (programs.json) and
multisig_signers -> trailing_accounts, since the mechanism is
"instruction may carry extra account references", not anything
multisig-specific (System Program Transfer uses it too).

Partially fixes: https://github.com/satoshilabs/trezor-firmware/issues/325

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
(cherry picked from commit 94af18581f3c5a3825bd366c0fdaccdc29e91d11)

98/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✓ Names security-relevant behavior explicitly
Why it was queued
signing boundarydefensive validationsigning or wallet path
AI analysis · High 76/100

This update fixes a Trezor Solana display bug that could mislead users into believing a transaction needed extra approvals when it did not. The device previously labeled any extra account attached to certain Solana instructions as a required 'Signer' and warned that the instruction was a multisig instruction, even when those accounts were not signers, not multisig members, or did not exist on-chain. The fix now shows each extra account with its real on-message flags (Writable/Signer), and removes the unverifiable per-instruction multisig warning. This prevents a malicious or buggy host app from making a single-signature transfer look like a multi-signature transfer.

Security candidatechore(core): export `USE_NFC` from `trezor.utils`by Roman Zeyde · 5d4fe90a · Aug 23, 2026 · 9 filesMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): export `USE_NFC` from `trezor.utils`

Also, don't return NFC capability (until the driver is stable).

[no changelog]

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

This is a routine feature-flag plumbing change for an upcoming NFC hardware feature. It exposes a new USE_NFC constant in Python code and disables advertising NFC capability to host software until the NFC driver is considered stable. There is no security bug or vulnerability in the diff.

Security candidatefeat(core/stellar): show trusted SEP-41 token contracts as token operations.by Jakub Janků · 177f3fe2 · Aug 23, 2026 · 6 filesMessage 100 · StrongLow 30Details
Commit message · Jakub Janků

feat(core/stellar): show trusted SEP-41 token contracts as token operations.

The token UI was reachable only for a Stellar Asset Contract, whose asset the
host can point out and the device can verify by re-deriving the contract
address. A token that is only a SEP-41 contract cannot be identified that way,
so its transfers showed up as an opaque contract call.

Add a hardcoded, network-bound list of vetted contracts, starting with SolvBTC
and xSolvBTC. Symbol and precision are what the contracts report, but both are
upgradeable, so this is a trust decision rather than a proof. A Stellar Asset
Contract still takes precedence, since its hint proves the contract's identity.

Fixes: https://github.com/trezor/trezor-firmware/issues/7314

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathauthentication path
AI analysis · Low 30/100

This commit improves how the Trezor hardware wallet displays certain Stellar token transactions on its screen. Previously, some token transfers looked like confusing generic contract calls. Now, for two specific vetted tokens (SolvBTC and xSolvBTC), the device will show a friendly token transfer screen. This is a user-interface improvement based on a hardcoded trust list, not a fix for a code execution or theft vulnerability. The change does not alter what transactions the device will or won't sign.

Security candidaterefactor(core/stellar): describe amounts with StellarToken instead of StellarAsset.by Jakub Janků · 588f6f32 · Aug 23, 2026 · 9 filesMessage 85 · StrongInformational 12Details
Commit message · Jakub Janků

refactor(core/stellar): describe amounts with StellarToken instead of StellarAsset.

A SEP-41 token need not be backed by a classic asset, so StellarAsset cannot
describe one: it carries no precision, and a token that is not a Stellar Asset
Contract has no issuer. StellarToken holds just what the screens need -- symbol,
precision, optional issuer -- and formats amounts with its own precision,
replacing format_asset and the 7-decimal assumption in format_amount.

No behavior change: every token still resolves to seven decimals.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.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
cryptography-sensitive path
AI analysis · Informational 12/100

This is a code cleanup (refactor) in the Stellar cryptocurrency support. It replaces an older way of describing tokens on screen with a new internal data structure, but explicitly keeps the same user-visible behavior: every token is still shown with seven decimal places. The change also adds a test confirming that for the native Stellar asset (XLM), any code or issuer supplied by a host computer is ignored, preventing a host from mislabeling XLM as another asset. There is no indication this fixes an active security bug; it is preparation for future SEP-41 token support.

Security candidatefeat(core/prodtest): Update to new noise lib version + add card certificitate authenticity check.by kopecdav · 0d424c69 · Aug 22, 2026 · 2 filesMessage 62 · AdequateInformational 22Details
Commit message · kopecdav

feat(core/prodtest): Update to new noise lib version + add card certificitate authenticity check.

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

This commit updates a factory-testing tool (prodtest) used with Trezor hardware wallets. It swaps a randomly generated test key for a fixed, hard-coded test keypair and adds a check that the public key reported by an NFC backup card matches the public key in the card's certificate. The change is in a production-test utility, not normal user firmware, and the hard-coded key appears to be a test fixture rather than a live secret. The added certificate check is a security-hardening step, but the commit is partial: it references a new noise_xxpsk3.c source file and a new library API without showing the implementation.

AI review queuedfeat(core/ethereum): allow EIP-7702 delegation under strict safety checksby Roman Zeyde · 4f3ad296 · Aug 22, 2026 · 3 filesMessage 62 · AdequateLow 40Details
Commit message · Roman Zeyde

feat(core/ethereum): allow EIP-7702 delegation under strict safety checks

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

This commit changes how Trezor hardware wallets handle a new Ethereum feature called EIP-7702, which lets users temporarily delegate control of their account to another smart contract. Previously, Trezor only allowed this delegation if the user lowered their safety settings. Now, it allows delegation under the strictest safety settings, but only for a pre-approved list of delegate addresses. Revocation (removing a delegate) was already allowed under strict settings and remains allowed. The change is framed as adding 'strict safety checks' rather than removing protections entirely.

Security candidatefeat(core/ethereum): support EIP-7702 delegation for `Simple7702Account`by Roman Zeyde · 255787a9 · Aug 22, 2026 · 5 filesMessage 100 · StrongInformational 20Details
Commit message · Roman Zeyde

feat(core/ethereum): support EIP-7702 delegation for `Simple7702Account`

https://etherscan.io/address/0x4Cd241E8d1510e30b2076397afc7508Ae59C66c9#code
https://ethereum.org/roadmap/pectra/7702/#:~:text=0x4Cd241E8d1510e30b2076397afc7508Ae59C66c9

Also, update "unknown" test case.

[no changelog]

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathauthentication path
AI analysis · Informational 20/100

This commit adds support for recognizing one more Ethereum smart-contract account type (Simple7702Account) when signing EIP-7702 delegation authorizations on Trezor hardware wallets. It is a small feature addition that updates a known-address lookup table and adds matching test vectors. There is no indication it fixes a security bug or introduces a vulnerability.