TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

921security candidates311second-pass queue2660AI analyses
322commits · 30 days
549commits · 60 days
1358commits · 180 days
2638commits · 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.

66/100 average clarity
478Strong · 80–100
1321Adequate · 60–79
863Thin · 40–59
5Opaque · 0–39
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
tychovrahe292104292461
Roman Zeyde577181575272
PrisionMike945994273
Andrew Kozlik712470265
obrusvit21376213164
Jakub Janků22919182
Martin Pastyřík23823173
cepetr19682196059
Ioan Bizău23076230059
M1nd3r20772207071
Lukas Bielesch846784067
Martin Milata17446174063
Analysis record

Published AI watches

Last scanned 15 minutes ago

Low 27 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): digest EIP-1559/EIP-7702 magic without RLP encoding

This commit is a small internal cleanup in Trezor's Ethereum signing code. It changes how two special 'magic' bytes (the transaction type markers for newer Ethereum transaction formats) are fed into the cryptographic hash. Previously the c…

Refactor of cryptographic hashing path for Ethereum transaction signingRemoval of implicit assumption that RLP encodes small integers as single bytesChange affects EIP-1559 and EIP-7702 transaction type markers
2362bc6fby Roman Zeyde+6−32 files
No security note in commit
Informational 15 AI analysisMessage 98 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(core): test RLP self-encoding bytestrings

This commit only adds a new unit test to the Trezor firmware codebase. It verifies that very short Ethereum RLP-encoded byte strings and small positive integers encode to themselves, which is a known property of the RLP specification. No p…

41538733by Roman Zeyde+16−01 file
No security note in commit
Informational 18 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): remove sha1 from regular FW

This commit removes the SHA-1 hashing function from the regular Trezor firmware. SHA-1 is an old, weak hash algorithm that is no longer considered secure for sensitive uses. The change deletes the code that exposes SHA-1 to apps running on…

Removal of a deprecated cryptographic primitive (SHA-1) from the firmware API surfaceReduction of attack surface and prevention of future misuse of a collision-vulnerable hashNo direct vulnerability patch or memory-safety bug is present in the diff
16d15774by M1nd3r+0−2006 files
No security note in commit
Low 27 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): pass static public key to `noise_xxpsk3_*_init()`

This commit changes how a cryptographic library sets up secure connections. Previously, the code automatically calculated the public key from the private key. Now, the caller must provide the public key directly. This is a code-quality ref…

Cryptographic key handling changed: public key is now supplied rather than derivedPotential reduction of key-mismatch risk if caller provides correct public keyNew null-pointer check added for static_public_key
1b3128a4by Ondřej Vejpustek+20−92 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): change order of parameters

This commit simply reorders the arguments of an internal function called dh() and updates every place that calls it. The actual math and security behavior are unchanged; it is a code cleanup with no security effect.

33a119eeby Ondřej Vejpustek+15−151 file
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): prefix enums

This commit simply renames two groups of internal status labels (called enums) in the Trezor firmware's cryptographic code. The old names like WAITING_FOR_REQUEST1 were shared between two different parts of the code, so the developer gave …

f1c74046by Ondřej Vejpustek+26−222 files
No security note in commit
Low 37 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(crypto): prevent calling `memzero(NULL, ...)`

This commit fixes three places in the Trezor firmware's cryptographic code where a memory-clearing function could be called with a NULL pointer. In practice, passing NULL to memzero is harmless on Trezor's platform (it does nothing), but i…

NULL pointer passed to memory-zeroing helper in cryptographic codeUndefined behavior in C standard library contractDefensive hardening in Noise protocol implementation
0394e934by Ondřej Vejpustek+11−51 file
No security note in commit
Informational 18 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): return remote static key from `noise_xxpsk3_*_handle_*()`

This commit is a code cleanup (refactor) for the cryptographic handshake code used in Trezor devices. It changes how the other party's long-term public key is returned to the caller: instead of storing it inside an internal state structure…

Removal of long-term public key storage from internal handshake stateCaller-supplied output buffer for remote static public key reduces internal secret retentionError-path memzero of returned key material on failure
3ead1aa6by Ondřej Vejpustek+79−423 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): rename ProjectProfile to ProjectConfig

This commit is a simple rename from 'ProjectProfile' to 'ProjectConfig' in two Rust source files. It only changes variable names, struct names, and error messages. There is no change to program logic, security behavior, or how data is hand…

581b37bcby cepetr+18−182 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): introduce ResolvedBuildArgs

This commit is a straightforward internal code refactor in Trezor's build tooling. It introduces a new ResolvedBuildArgs structure that centralizes default values for command-line build options before they are used. There is no change to u…

c24d1be8by cepetr+99−295 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): make build args tristate

This commit is a straightforward internal refactor of the Trezor firmware build tool's command-line argument handling. It changes many on/off flags from plain booleans to optional booleans so they can explicitly be set to true, false, or l…

271e249aby cepetr+57−561 file
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): introduce build options

This commit is a straightforward internal code reorganization in Trezor's build tooling. It moves build-option definitions from one Rust source file to a new module and adds the ability to load those options from a configuration file. Ther…

75085e2aby cepetr+275−2007 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): introduce build presets

This commit is a developer tooling change for the Trezor firmware build system. It introduces 'build presets'—named configuration bundles stored in TOML files—so developers can select common build settings with a single command-line flag i…

eefe8f7fby cepetr+397−419 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): upgrade manifest.yaml for tf-tools 0.3.0

This commit is a routine update to a build-system manifest file used by Trezor's internal tooling. It reorganizes and re-labels feature flags (for example, moving options between 'Features', 'Debugging', and 'Signing' groups and simplifyin…

57b28b89by cepetr+86−1351 file
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): add tf-tools 0.3.1+ configuration file

This commit adds a single configuration file for a Trezor developer tool (a VS Code extension). It only points the tool to existing folders in the repository and contains no executable code, no secrets, and no changes to firmware behavior.…

e554f618by cepetr+8−01 file
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): rename ResolvedBuild to ResolvedBuildFeatures

This commit is a simple internal code cleanup: it renames a Rust data structure called ResolvedBuild to ResolvedBuildFeatures and updates the places that use it. There are no functional changes, no security fixes, and no changes to how the…

aaa2780bby cepetr+5−52 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): fix up clippy warnings in storage.rs

This is a tiny code cleanup commit that replaces two calls to `ptr::null()` with Rust's `unwrap_or_default()` to silence automated Clippy lint warnings. It does not change what value is produced (still a null pointer when no salt is provid…

62354461by cepetr+2−21 file
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): simplify dependencies

This commit is a straightforward internal code cleanup in Trezor's build tooling. It moves a data structure and two helper methods from one Rust source file to another and updates callers accordingly. There is no change to user-facing beha…

6268349fby cepetr+9−193 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

docs: add xtask documentation

This commit only adds documentation. It updates the table of contents and adds a new markdown page plus a diagram explaining the project's 'xtask' build helper. No code, build scripts, or firmware logic was changed, so it cannot introduce …

4879dababy cepetr+296−03 files
No security note in commit
Informational 17 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): introduce project-toml build-options

This commit is a build-system refactoring for Trezor firmware. It moves the mapping of command-line build options to Rust/cargo features out of hard-coded Rust logic and into per-project TOML files. It also adds a small change so debug bui…

Build-option mapping now lives in project.toml files, increasing the attack surface for supply-chain/build-configuration tamperingMakefile change automatically enables debug-link for PYOPT=0 debug buildsValidation added to reject storage_insecure_testing_mode in production builds
d44de007by cepetr+681−40817 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 candidatebuild(core): remove unused `import shlex`by Roman Zeyde · ef0cb404 · Dec 22, 2025 · 5 filesMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

build(core): remove unused `import shlex`

[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 simply removes an unused Python import (`shlex`) from five build scripts. It does not change any program logic, behavior, or security boundary. It is a routine code cleanup with no security relevance.

Security candidatefix(core/eckhart): unify bootscreen and lockscreen homebar textby Roman Zeyde · 3a9dc82f · Dec 19, 2025 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

fix(core/eckhart): unify bootscreen and lockscreen homebar text

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 changes the text shown on the bottom home bar of a Trezor hardware wallet screen. The boot screen now says 'Unlock' instead of 'Tap to start', matching the lock screen wording. It is a cosmetic/user-interface consistency fix with no security relevance.

Lower-prioritychore(core): remove unused `instructions__tap_to_start` translation keyby Roman Zeyde · 5568a4c6 · Dec 19, 2025 · 4 filesMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): remove unused `instructions__tap_to_start` translation key

[no changelog]

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

This commit simply deletes an unused on-screen text label ('Tap to start') and its associated translation key from the Trezor firmware source code. No security issue is present; it is a routine cleanup change.

Security candidatebuild(core): exclude `embed/rtl/printf.c` from non-prodtest buildsby Roman Zeyde · 6a637bd4 · Dec 18, 2025 · 8 filesMessage 100 · StrongInformational 15Details
Commit message · Roman Zeyde

build(core): exclude `embed/rtl/printf.c` from non-prodtest builds

Otherwise, nightly CI fails with:
https://github.com/trezor/trezor-firmware/actions/runs/20320385493/job/58431441939

We currently use `printf()` only in prodtest / non-production builds[^1].

[no changelog]

[^1]: https://github.com/trezor/trezor-firmware/pull/6208#discussion_r2610006444

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

This commit changes build scripts so that a file providing printf-style debugging output is only included in non-production builds. It is a build-system cleanup to fix a nightly CI failure, not a security fix. There is no indication it addresses a vulnerability or changes runtime behavior of shipped devices.

Lower-prioritychore(common): add release `1.7.0` to `releases.json` [no changelog]by M1nd3r · c2139eeb · Dec 18, 2025 · 1 fileMessage 77 · AdequateInformational 15Details
Commit message · M1nd3r

chore(common): add release `1.7.0` to `releases.json`
[no changelog]

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

This commit simply adds a missing firmware version number (1.7.0) to a list of released versions in a JSON file. It does not change any code, fix any bug, or introduce any security issue. It is a routine bookkeeping change.

Lower-prioritychore: update definitions timestampby Ioan Bizău · 20b73d25 · Dec 16, 2025 · 2 filesMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: update definitions timestamp

(cherry picked from commit 8d67e1fde12191b3e6aa4de3475484a1df19eb74)

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit simply updates a timestamp and a matching version number used to track the latest released Ethereum token/chain definitions. There is no code logic change, no bug fix, and no security-related content.

Lower-prioritydocs(core): changelog for 2.9.6by Ioan Bizău · c5ae8c14 · Dec 16, 2025 · 9 filesMessage 72 · AdequateInformational 15Details
Commit message · Ioan Bizău

docs(core): changelog for 2.9.6

(cherry picked from commit 735be23696d5919df01fa62894899219b8e94a74)

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit only updates documentation: it moves changelog entries for firmware version 2.9.6 into the published changelog files and deletes the temporary source files. No program code is changed, so this commit by itself cannot introduce or fix a security vulnerability.

AI review queuedchore: sign language blobsby Ioan Bizău · 17b17241 · Dec 16, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: sign language blobs

[no changelog]

(cherry picked from commit 44d6b3d7c2415c7a7fd3306a35a9a3daf34275a2)

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

This commit simply adds a new digital signature entry to a JSON file that records approved language translation packages for Trezor devices. There is no code change, no bug fix, and no apparent security issue. It appears to be routine release housekeeping.

Lower-prioritychore: update releases.jsonby Ioan Bizău · 7f1fa33b · Dec 16, 2025 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

chore: update releases.json

(cherry picked from commit 09ed4472674eda3d4119f44c08ee69fb68aef81c)

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
AI analysis · Informational 15/100

This commit simply adds a new firmware version number (2.9.6) and the device model it supports (T3W1) to a release metadata file. There are no code changes, no bug fixes, and no security-related content in the diff.

Security candidatechore: update secmon for T3W1by Ioan Bizău · 6647b72c · Dec 16, 2025 · 2 filesMessage 80 · StrongInformational 3Details
Commit message · Ioan Bizău

chore: update secmon for T3W1

* both production secmon (signed) and dev secmon (`BOOTLOADER_DEVEL=1`)
* built from `secmon/v1.0.5`

```
$ sha256sum core/embed/models/T3W1/secmon/secmon*.bin
230d709677831166fd3099f3633ea7670195a7cfbde64381865fb3b5866ff2f7 core/embed/models/T3W1/secmon/secmon.bin
c237cec22ff4560447a48b23cacd4e54e33060fbfeab0e2920c3459fe4e91701 core/embed/models/T3W1/secmon/secmon_DEV.bin
```

[no changelog]

(cherry picked from commit d3f5db4a486611dbe95f3c9c1faf4c9b3374b249)

80/100 · StrongMessage clarity
✓ 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 · Informational 3/100

This commit replaces two binary firmware files for the Trezor T3W1 hardware wallet's security monitor (secmon) with newer versions built from secmon v1.0.5. The actual code changes are not visible because the files are binary blobs. There is no claim in the commit message that this fixes a security vulnerability, and no independent references were provided. On its own, this looks like a routine component update.

Lower-priorityfix(core): fix tropic reset by adding chip select handlingby tychovrahe · a8190e0e · Dec 16, 2025 · 1 fileMessage 62 · AdequateLow 29Details
Commit message · tychovrahe

fix(core): fix tropic reset by adding chip select handling

[no changelog]

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

This commit fixes how the Trezor hardware wallet resets its Tropic secure chip during startup. The change makes sure the chip-select line is pulled low before power is toggled and released afterward, which is needed for a clean reset. There is no direct evidence this is a security vulnerability rather than a reliability bug, but improper reset handling of a security chip could in theory lead to an unstable or unpredictable secure state.

Lower-priorityfix(core): fix tropic retry-command reset sequenceby tychovrahe · b3b0e8c0 · Dec 16, 2025 · 1 fileMessage 62 · AdequateLow 41Details
Commit message · tychovrahe

fix(core): fix tropic retry-command reset sequence

[no changelog]

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

This commit changes the order of two cleanup steps when a Tropic secure chip hits an alarm mode during a retry. Previously the code de-initialized the driver before resetting the chip; now it resets the chip first, then de-initializes, then re-initializes. The change is defensive and likely fixes a bug where the retry/reset sequence could leave the chip or driver in an inconsistent state. There is no claim in the commit that this is a security vulnerability, and no external references are provided.

Lower-priorityfeat(core): introduce new error codesby cepetr · 4f2e8908 · Dec 16, 2025 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce new error codes

[no changelog]

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

This commit is a routine internal refactoring of how the Trezor firmware represents success/error status codes. It introduces a new typed status code (ts_t), helper macros to check it, and a function to convert HAL driver errors into these new codes. There is no change to user-facing behavior, no bug fix, and no security patch.

Lower-priorityfeat(core): introduce error handling macrosby cepetr · 26df4197 · Dec 16, 2025 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce error handling macros

[no changelog]

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

This commit adds a new set of helper macros for handling error codes inside the Trezor firmware's core runtime library. It is purely a code-structure addition: it defines patterns like 'if something failed, jump to cleanup code and return the error.' There is no bug fix, no behavior change to existing code, and no security vulnerability present in the diff itself.

Security candidatefix(core): remove rsod screens from rtl error handlingby cepetr · 80c5444a · Dec 16, 2025 · 22 filesMessage 62 · AdequateInformational 20Details
Commit message · cepetr

fix(core): remove rsod screens from rtl error handling

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

This commit is a code cleanup in the Trezor firmware. It moves special error-screen functions (for wipe code, too many PIN attempts, install restricted, and device wiped) out of the runtime library (RTL) error-handling module and into a new dedicated 'rsod_special' module. It also removes the 'ensure' macro from a public header. The change is architectural refactoring; it does not appear to fix a security bug or introduce a new vulnerability. The commit message and diff give no indication this is a security patch.

AI review queuedchore(translations): sync Crowdin translationsby obrusvit · bd329a7e · Dec 16, 2025 · 7 filesMessage 57 · ThinInformational 15Details
Commit message · obrusvit

chore(translations): sync Crowdin translations

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

This commit is a routine translation update. It changes translated text strings in Czech, German, Spanish, French, and Portuguese, updates the cryptographic signature that verifies those translations, and refreshes the expected screen hashes used by automated UI tests. There is no code behavior change and no security issue visible in the diff.

Security candidatefeat(core): introduce centralized loggingby cepetr · f804a1fb · Dec 12, 2025 · 25 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

feat(core): introduce centralized logging

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

This commit adds a new centralized logging system to the Trezor firmware. It is a feature/refactoring change: debug output is routed through a new 'syslog' layer with log levels and filters, and the debug console is now gated behind a compile-time flag. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a developer-facing infrastructure improvement.

Security candidatefeat(core): add trezorctl set-log-filter commandby cepetr · 0974bcbc · Dec 12, 2025 · 16 filesMessage 57 · ThinInformational 24Details
Commit message · cepetr

feat(core): add trezorctl set-log-filter command

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

This commit adds a new developer-only command, `trezorctl set-log-filter`, that lets someone with physical debug access to a Trezor device change which internal log messages are printed. It only works when the device was built with a special debug-console feature enabled, and it does not change how ordinary user operations work. There is no direct evidence in the commit that this creates a security vulnerability, but any new debug command slightly increases the attack surface available to someone who already has debug access.

Security candidatefix(core): reduce unnecessary section alignmentby cepetr · 5dfbfaa0 · Dec 12, 2025 · 2 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core): reduce unnecessary section alignment

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

This commit changes two bootloader linker scripts for Trezor hardware wallets, reducing the alignment padding between code/data sections from 512 bytes down to 4 bytes. The stated purpose is to remove unnecessary padding and save flash space. There is no indication in the commit or supplied references that this fixes a security vulnerability.

Security candidatefeat(core): add extended formatting capabilities to snprintfby cepetr · b1af5166 · Dec 12, 2025 · 15 filesMessage 62 · AdequateLow 39Details
Commit message · cepetr

feat(core): add extended formatting capabilities to snprintf

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

This commit replaces Trezor's small, home-grown printf-style string formatter with a more capable third-party library (eyalroz/printf). The change is described as adding 'extended formatting capabilities' and is marked with '[no changelog]'. The new library supports more format specifiers, including the %n specifier, which can write back into caller-provided memory. Trezor's configuration enables %n support. Because this is a low-level runtime component used across bootloader, firmware, kernel, secure monitor, and production-test builds, any bug in the new formatter could have broad consequences. However, the commit itself does not fix a known vulnerability, and there is no vendor statement that this change is security-relevant.

Security candidaterefactor(core): use LOG macros instead of printfsby cepetr · a1fa1fbb · Dec 12, 2025 · 16 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

refactor(core): use LOG macros instead of printfs

[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 straightforward code cleanup: it replaces old-style printf debug messages with a new centralized logging system (LOG_ macros). It also removes some unused non-production debug hooks and switches header include guards to '#pragma once'. There is no change to security logic, cryptography, user-facing behavior, or access controls.

Security candidaterefactor(core): do not use mini_snprintf in board/bootloaderby cepetr · b969d71c · Dec 12, 2025 · 21 filesMessage 62 · AdequateLow 34Details
Commit message · cepetr

refactor(core): do not use mini_snprintf in board/bootloader

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

This commit is a code cleanup that replaces the use of a small printf-style formatter (mini_snprintf) with simpler, purpose-built string helpers in the Trezor bootloader and low-level system code. It does not add or remove security features, and there is no direct evidence it fixes a specific vulnerability. The change may reduce the attack surface by removing format-string parsing from some paths, but it also introduces new helper functions whose correctness now matters for safety.

Lower-priorityfeat(core): improve dbg_console interfaceby cepetr · a0e0d20c · Dec 12, 2025 · 7 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

feat(core): improve dbg_console interface

[no changelog]

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

This commit is a small internal cleanup of the Trezor firmware's debug console. It changes the debug-console write function so it returns the number of bytes written (or an error code) instead of returning nothing. It also makes the USB virtual-com-port backend avoid blocking when called from interrupt context. The changes are confined to debug-only code and do not appear to fix a known security vulnerability.

Security candidatefix(core): save some flash in board/bootloaderby cepetr · 54688c1c · Dec 12, 2025 · 1 fileMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core): save some flash in board/bootloader

[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
update trust
AI analysis · Informational 11/100

This is a one-line build configuration change in low-level firmware code. It swaps the condition used to decide whether to compile a special secure-mode memory check. The change appears aimed at reducing flash memory usage in board/bootloader builds, not at fixing a security vulnerability. There is no direct evidence in the commit of a security issue.

Lower-priorityfix(core/printf): adapt printf libraryby cepetr · 83e3dda6 · Dec 12, 2025 · 2 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

fix(core/printf): adapt printf library

[no changelog]

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

This commit is a maintenance change to the Trezor firmware's embedded printf library. It adds source attribution comments, unconditionally includes a configuration header, and adds a compile-time guard that blocks printf from being used in production firmware builds. There is no direct evidence in the commit of a security vulnerability being fixed.