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 25 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 candidatechore(core): save 15KB of flash by eliminating source filenamesby cepetr · 8eb27f83 · Sep 3, 2026 · 2 filesMessage 62 · AdequateInformational 11Details
Commit message · cepetr

chore(core): save 15KB of flash by eliminating source filenames

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

This commit is a routine size-optimization change for the Trezor firmware. It removes source filenames from compiled code to save 15KB of flash storage and rearranges linker sections. There is no indication this is a security fix or introduces a vulnerability.

Security candidatechore(tests): use named parametersby M1nd3r · 54a213d7 · Sep 3, 2026 · 18 filesMessage 82 · StrongInformational 15Details
Commit message · M1nd3r

chore(tests): use named parameters

[no changelog]

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

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
cryptography-sensitive pathseed or entropy pathsigning or wallet pathauthentication path
AI analysis · Informational 15/100

This commit only rewrites test code to use named pytest parameters (adding readable IDs to test cases). It does not change any production firmware, wallet logic, or security behavior. There is no security issue here.

Lower-prioritychore: use ruff instead of autoflakeby obrusvit · 37dc357f · Sep 3, 2026 · 5 filesMessage 72 · AdequateTriage 0Details
Commit message · obrusvit

chore: use ruff instead of autoflake

- ruff can also remove imports

[no changelog]

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Lower-priorityfix(core): explicit rejection in menu unknown results, better type handling, better list usageby Vojtěch Nevřela · 7ae1dc05 · Sep 3, 2026 · 3 filesMessage 85 · StrongTriage 0Details
Commit message · Vojtěch Nevřela

fix(core): explicit rejection in menu unknown results, better type handling, better list usage

- `cancel_leaf()` and `show_menu()` now reject results they do not
expect instead of silently treating them as "go back". Previously
anything that was not CONFIRMED counted as a declined cancellation,
and any non-index result from `select_menu` fell through to leaving
the current level.

- `cancel_leaf()` returns `MenuLeaf[R]` rather than `MenuLeaf[Never]`.
`Never` was the more precise type, but it made `[cancel_leaf(...)]`
infer `list[MenuLeaf[Never]]`, which then rejected every information
leaf appended to it. With `R` the list infers `list[MenuLeaf[None]]`
from the TypeVar default and still narrows for trees that do return
values. The leaf produces no value either way, so it remains sound.

- Menu lists are built in place instead of by concatenation, across all
31 call sites. Conditional lists append the cancel entry once; the two
fully static ones are plain literals. `confirm_ethereum_vault_tx`,
`confirm_ethereum_vault_claim` and `confirm_solana_staking_tx` had
been rebuilding the same menu 5, 3 and 2 times respectively, and now
share one list each.

- Documented that `None` is the "resume the tree" sentinel and therefore
can never be a leaf's value, for any `R` — the types do not enforce
this.

[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
Security candidatefix(core/bootloader): mark check_vendor_header_lock warn-unused-resultby tychovrahe · f58e7e79 · Sep 3, 2026 · 2 filesMessage 90 · StrongLow 25Details
Commit message · tychovrahe

fix(core/bootloader): mark check_vendor_header_lock warn-unused-result

The three sibling checks in sec/image.h -- check_vendor_header_model, _sig
and _keys -- are all declared `secbool __wur (const vendor_header *const)`.
This one predates them in that respect and had neither the attribute nor the
second const, even though dropping its result would silently skip an
authorization check rather than fail.

No call site changes: both existing callers already consume the value (one
assigns it, one wraps it in ensure()).

[no changelog]

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

90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
access controlupdate trustboot or update path
AI analysis · Low 25/100

This is a small hardening change to the Trezor bootloader. It adds a compiler warning attribute to a security check function so that future programmers cannot accidentally call it and ignore its pass/fail result. The current code already uses the result correctly at both call sites, so there is no active bug being fixed—only prevention of a future mistake.

Security candidatebuild(core): exclude meminfo-related code from FW buildsby Roman Zeyde · 581a50ed · Sep 3, 2026 · 5 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

build(core): exclude meminfo-related code from FW builds

Saves ~7.3KB on T2T1.

Keep it for emulators.

[no changelog]

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

This commit is a routine firmware size optimization. It removes a developer-only memory debugging feature (meminfo) from production hardware builds to save about 7.3KB of flash storage, while keeping it available in emulator builds. There is no security vulnerability here.

Lower-prioritychore(ci): check each CI job has an explicit timeoutby M1nd3r · c4c368c1 · Sep 3, 2026 · 2 filesMessage 77 · AdequateTriage 0Details
Commit message · M1nd3r

chore(ci): check each CI job has an explicit timeout

[no changelog]

Co-Authored-By: Claude Opus 5 (1M) <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
AI review queuedchore(ci): add timeouts to all jobsby M1nd3r · 96de4ce3 · Sep 3, 2026 · 16 filesMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore(ci): add timeouts to all jobs

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

This commit only adds time limits to automated GitHub Actions CI/CD jobs so they stop automatically if they run too long. It does not change any Trezor firmware code, wallet logic, cryptography, or user-facing behavior. There is no security vulnerability being fixed or introduced here.

Lower-priorityfix(core): gate Debug derive for prod buildby Vojtěch Nevřela · da46bc29 · Sep 3, 2026 · 1 fileMessage 57 · ThinTriage 0Details
Commit message · Vojtěch Nevřela

fix(core): gate Debug derive for prod build

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Security candidatefeat(core): encapsulate select menu item in a structby Vojtěch Nevřela · f67410a6 · Sep 3, 2026 · 7 filesMessage 62 · AdequateInformational 15Details
Commit message · Vojtěch Nevřela

feat(core): encapsulate select menu item in a 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
cryptography-sensitive pathboot or update path
AI analysis · Informational 15/100

This commit is a straightforward internal code cleanup in the Trezor firmware's user-interface code. It replaces a raw two-value pair (text label + intent) with a named struct called SelectMenuItem. There is no change to user-visible behavior, no bug fix, and no security-related change.

Lower-prioritychore(core): introduce ExternalDataErrorby obrusvit · 60fa1cb9 · Sep 3, 2026 · 6 filesMessage 47 · ThinTriage 0Details
Commit message · obrusvit

chore(core): introduce ExternalDataError

[no changelog]

47/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope! No meaningful explanatory body
Security candidatefix(core): fix image size alignment on f4 devicesby cepetr · 65e3b480 · Sep 3, 2026 · 1 fileMessage 57 · ThinLow 27Details
Commit message · cepetr

fix(core): fix image size alignment on f4 devices

[no changelog]

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

This commit adjusts memory layout alignment settings in the linker script used for Trezor's STM32F4 hardware wallet firmware. It moves a 512-byte alignment boundary from the end of one flash section to the end of another. The change is described by the vendor as fixing image size alignment on F4 devices. There is no explicit security claim in the commit, and the diff alone does not demonstrate a vulnerability or exploit path. It could plausibly relate to ensuring correct firmware image boundaries for secure boot or flashing, but that is speculative.

Security candidatetest: check `Features.max_passphrase_len` in device testsby Roman Zeyde · 0bd16deb · Sep 3, 2026 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · Roman Zeyde

test: check `Features.max_passphrase_len` in device tests

Following 835efbb65caa8284c08da97e7378f5677eecb019, legacy and core have different passphrase limits.

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

This commit only adds a test assertion to verify that the maximum passphrase length reported by a Trezor device matches the expected value for its model family (50 characters for legacy devices, 128 for newer 'core' devices). It is a pure test-code change with no product behavior change and no security fix.

Security candidatechore: remove NEM and EOSby obrusvit · b6f408c7 · Sep 2, 2026 · 160 filesMessage 57 · ThinInformational 15Details
Commit message · obrusvit

chore: remove NEM and EOS

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

This commit removes all support for the NEM and EOS cryptocurrencies from Trezor firmware. It deletes the application code, protocol definitions, cryptographic helpers, translations, tests, and support entries for both coins. The change is a feature removal, not a security fix, and does not introduce any vulnerability.

Security candidatetest(core): use equality for passphrase click testsby Roman Zeyde · 2bd21719 · Sep 2, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

test(core): use equality for passphrase click 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
access controlcryptography-sensitive pathauthentication path
AI analysis · Informational 15/100

This commit only changes automated test code for the Trezor hardware wallet. It makes passphrase display checks stricter in a test file (using exact equality instead of substring matching). There is no change to the actual firmware, wallet logic, or any code that runs on a user's device. It cannot affect real users or introduce a security vulnerability.

Security candidaterefactor(core/eckhart): replace `String<99>` with `ShortString`by Roman Zeyde · 22cec1ea · Sep 2, 2026 · 1 fileMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

refactor(core/eckhart): replace `String<99>` with `ShortString`

9695e1c2ef has increased `ShortString` size to 128.

[no changelog]

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

This is a small internal code cleanup in the Trezor firmware's PIN entry screen. It swaps one fixed-size text container (`String<99>`) for another (`ShortString`) that was already enlarged to 128 bytes in a prior commit. The behavior and safety limits remain the same, and there is no indication of a security fix.

Security candidatefix(core): mark .buf and .no_dma_buffers sections as NOLOADby cepetr · bce462ee · Sep 2, 2026 · 20 filesMessage 62 · AdequateLow 44Details
Commit message · cepetr

fix(core): mark .buf and .no_dma_buffers sections as NOLOAD

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

This commit changes how the Trezor firmware's embedded linker scripts reserve memory for special buffer sections. It marks sections named .buf and .no_dma_buffers as NOLOAD, meaning the linker will reserve RAM space for them but will not include their initial contents in the firmware binary or copy them during startup. Without NOLOAD, these uninitialized buffers could be included in the binary image, increasing its size and potentially causing startup initialization issues. The change is a correctness fix for embedded memory layout, but the commit message does not frame it as a security fix and no exploit is demonstrated.

Lower-prioritydocs(core): explain thp key selection flexibilityby M1nd3r · 7abc1fa1 · Sep 2, 2026 · 2 filesMessage 57 · ThinTriage 0Details
Commit message · M1nd3r

docs(core): explain thp key selection flexibility

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Security candidaterefactor(core/bootloader): drop the unreachable turn_on command listby tychovrahe · a51e73fc · Sep 2, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · tychovrahe

refactor(core/bootloader): drop the unreachable turn_on command list

The command enumeration has been dead since ad3cb11056 ("start the device on
short press"). That commit widened the condition below it from
`manufacturing_mode && cmd != BOOT_COMMAND_POWER_OFF` to just the latter, which
subsumes the list entirely -- nothing the list selects can still change the
outcome.

The widening was deliberate. What the list was trying to express is already
covered: BOOT_COMMAND_POWER_OFF is set in exactly one place
(reboot_and_power_off), so it alone marks the state that has no reason to boot.
Every other command boots through -- and a boot with the button held still reaches
the press loop via the button_is_down check just
below, so long-press bootloader entry is unaffected.

Keeping the enumeration around only implies it still selects something, and any
command added to it is a silent no-op.

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

This is a code cleanup in the Trezor bootloader. It removes a list of commands that was no longer doing anything useful, because a simpler check already covered all cases. There is no security bug being fixed here; the change only makes the code easier to understand and prevents future mistakes where someone might add a command to the now-deleted list and expect it to matter.

Security candidatefix(core): fix FLASH region overflow on T2T1by M1nd3r · 7bea7466 · Sep 2, 2026 · 1 fileMessage 85 · StrongLow 44Details
Commit message · M1nd3r

fix(core): fix FLASH region overflow on T2T1

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

[no changelog]

85/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✓ Names security-relevant behavior explicitly
Why it was queued
memory safetyboot or update path
AI analysis · Low 44/100

This commit changes how a memory buffer section named .buf is handled during the build process for the Trezor Model T (T2T1) hardware wallet. By marking it as NOLOAD, the linker no longer includes this uninitialized buffer in the firmware image file, which prevents the firmware from exceeding its allowed flash storage region. This is a build/linker fix that avoids a firmware size overflow; it does not by itself appear to be an exploitable vulnerability, but overflowing a flash region could in some cases cause build failures, boot issues, or undefined behavior if an oversized image were written to the device.

AI review queuedrefactor(core): gate the power manager's RTC dependency on USE_RTCby tychovrahe · 9684ecd7 · Sep 2, 2026 · 1 fileMessage 100 · StrongInformational 15Details
Commit message · tychovrahe

refactor(core): gate the power manager's RTC dependency on USE_RTC

`power_manager_internal.h` included `<sys/rtc_scheduler.h>` unconditionally
and declared `pm_driver_t.autohibernate_event_id` (an `rtc_event_id_t`) plus
`pm_schedule_rtc_wakeup()` outside any guard, while every actual RTC user in
the module is already `#ifdef USE_RTC`. The header therefore pulled the RTC
scheduler interface into builds that never call it.

No functional change: with `USE_RTC` set the preprocessed output is
identical, and with it unset no reference to the RTC scheduler remains.

Relevant because `rtc_schedule_wakeup_event()`/`rtc_cancel_wakeup_event()`
are implemented only for stm32u5, so this is a prerequisite for building the
`managed` policy anywhere else (e.g. a host unit test or an emulator built on
an emulated PMIC).

[no changelog]

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✓ Explains rationale or failure mode✓ Mentions testing or verification
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 15/100

This is a straightforward code cleanup: a header file now only includes real-time-clock (RTC) definitions when the feature is actually enabled. The commit explicitly states there is no functional change, and the diff shows only conditional compilation guards being added. There is no security issue here.

Lower-priorityfix(core): report thermal-controller state from pm_get_stateby tychovrahe · 738fad75 · Sep 2, 2026 · 1 fileMessage 85 · StrongTriage 0Details
Commit message · tychovrahe

fix(core): report thermal-controller state from pm_get_state

`pm_temperature_controller()` maintained `pm_driver_t.temp_control_active`,
but `pm_get_state()` never copied it into the public
`pm_state_t.temp_control_active`. The poll FSM compares that public field,
and `power_manager_poll.c` zero-initializes the struct, so on hardware it
always read `false`: neither the `temp_control_active_changed` event nor the
telemetry `temp_control_active` error bit could ever fire. The emulator
backend writes the public field directly, so the two diverged.

Assign it unconditionally - the driver field only exists under
`PM_ENABLE_TEMP_CONTROL`, and `pm_get_state()` does not zero the caller's
struct, so a build without the thermal controller must still write `false`
rather than leave the field untouched.

[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
Security candidatefeat(xtask): allow --asan for all projectsby cepetr · b9529b56 · Sep 2, 2026 · 17 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(xtask): allow --asan for all projects

[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 is a build-system feature change. It lets developers use the Address Sanitizer (ASAN) debugging tool with all Trezor firmware projects, not just the emulator. It also adds a guard that stops ASAN from being used in real hardware builds, where it is unsupported. There is no security vulnerability here.

Lower-priorityfix(core): flush FPU lazy stacking before changing applet MPU regionsby cepetr · 04d8a7fe · Sep 2, 2026 · 1 fileMessage 62 · AdequateTriage 0Details
Commit message · cepetr

fix(core): flush FPU lazy stacking before changing applet MPU regions

[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
Lower-priorityfeat(core): add TSH_RAISE() macroby cepetr · b5ed356d · Sep 2, 2026 · 1 fileMessage 57 · ThinTriage 0Details
Commit message · cepetr

feat(core): add TSH_RAISE() macro

[no changelog]

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