TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

916security candidates311second-pass queue1354AI analyses
342commits · 30 days
588commits · 60 days
1363commits · 180 days
2653commits · 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
473Strong · 80–100
1321Adequate · 60–79
862Thin · 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.
PrisionMike945982273
Andrew Kozlik712436265
Roman Zeyde572177253171
tychovrahe292104125161
Jakub Janků22917182
Martin Pastyřík23811173
cepetr19682103059
Ioan Bizău23076140059
obrusvit21376107064
M1nd3r20671105071
Lukas Bielesch846771067
Martin Milata1744677063
Analysis record

Published AI watches

Last scanned 13 minutes ago

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

ci(core): fix nightly ARM emulator filename

This commit fixes a filename-renaming step in the project's automated nightly build pipeline. It ensures ARM64 emulator files get the correct name expected by another testing tool. There is no change to the actual Trezor firmware code, dev…

ab95f08fby Martin Milata+3−01 file
No security note in commit
Informational 12 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(vendor): avoid micropython submodule noise in git status

This is a routine housekeeping change to reduce clutter in Git's status output for a third-party component (the MicroPython submodule). There is no indication it changes any code that runs on the Trezor device or affects security.

06cab32bby Martin Milata+1−11 file
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Security candidatefix(crypto): Clean up stack in hdnode_deserialize().by Andrew Kozlik · 477cbb36 · Feb 16, 2026 · 1 fileMessage 62 · AdequateLow 44Details
Commit message · Andrew Kozlik

fix(crypto): Clean up stack in hdnode_deserialize().

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

This commit fixes a bug in the Trezor firmware's code that reads BIP32 extended keys (the xpub/xprv strings used by wallets). Previously, if the function encountered an invalid key string, it returned an error immediately without wiping a temporary 78-byte buffer that held decoded key material. That leftover data could remain on the device stack and potentially leak small pieces of secret key information to later code. The fix ensures the buffer is always cleared before the function returns, even on error paths.

Security candidatedocs: add context on `PropertyType`by Ioan Bizău · a1086698 · Feb 16, 2026 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · Ioan Bizău

docs: add context on `PropertyType`

[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 only adds explanatory comments to two generated/mocked source files describing the history and future plans for two internal type aliases (`PropertyType` and `StrPropertyType`). No code behavior changes, no bug fixes, and no security-related modifications are present.

Security candidatechore(core): skip empty confirmation footer on Deliziaby Roman Zeyde · ec46aca2 · Feb 13, 2026 · 3 filesMessage 62 · AdequateInformational 16Details
Commit message · Roman Zeyde

chore(core): skip empty confirmation footer on Delizia

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

This is a small user-interface cleanup for the Trezor hardware wallet's Delizia layout. It makes confirmation screens skip drawing an empty footer button label when no button text is provided. There is no indication this fixes a security bug; it appears to be a visual polish change.

Security candidaterefactor(core): support `ICON_DOWN` for `confirm_with_info()` in Caesarby Roman Zeyde · 226fcd7c · Feb 13, 2026 · 6 filesMessage 77 · AdequateInformational 12Details
Commit message · Roman Zeyde

refactor(core): support `ICON_DOWN` for `confirm_with_info()` in Caesar

Also, simplify info-related button creation.

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

This commit is a user-interface cleanup in the Trezor firmware's 'Caesar' layout. It replaces several hard-coded 'i' text labels with a shared 'info icon' helper and adds support for a down-arrow icon. There is no change to cryptographic operations, memory safety, authentication, or data handling. It appears to be a non-security refactor.

Security candidatefeat(rust/trezor-thp): secure channel layerby Martin Milata · 86934e07 · Feb 11, 2026 · 13 filesMessage 57 · ThinLow 35Details
Commit message · Martin Milata

feat(rust/trezor-thp): secure channel layer

[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
authentication path
AI analysis · Low 35/100

This commit adds a new secure communication layer to the Trezor hardware wallet's Rust protocol library. It introduces encrypted channels, handshake logic, and credential handling. The change is a feature implementation rather than a documented security fix, but it touches sensitive cryptography and transport code, so correctness matters for device security.

Security candidatefeat(rust/trezor-thp): add example clientby Martin Milata · 191b8643 · Feb 11, 2026 · 19 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

feat(rust/trezor-thp): add example client

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

This commit adds example code and development tooling for the Trezor THP (Trezor Host Protocol) Rust library. It is a feature addition containing example clients, generated protobuf bindings, and a renamed example. There is no indication this commit fixes or introduces a security vulnerability in the firmware itself.

Security candidatefix(python): improve handling for CA blacklists/whitelistsby matejcik · e397ee5f · Feb 11, 2026 · 2 filesMessage 77 · AdequateLow 36Details
Commit message · matejcik

fix(python): improve handling for CA blacklists/whitelists

* handle inability to download the allowlist
* prepare for blacklist that will be used for T3W1

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
authentication path
AI analysis · Low 36/100

This commit improves how Trezor's Python library handles the list of trusted certificate authorities used to verify a device is genuine. Previously, if the online allowlist could not be downloaded, the tool might fail in an uncontrolled way. The change adds proper error handling and renames 'whitelist' to the more general 'allowlist' to support both approved and revoked (blacklisted) public keys. It also renames the user-facing option from --skip-whitelist to --offline. There is no direct evidence in the commit that this fixes an active security vulnerability, but it hardens the device-authentication process.

Security candidatefeat(python): Ensure that Trezor provides Tropic signature when expected.by Andrew Kozlik · 7dec396c · Feb 11, 2026 · 1 fileMessage 67 · AdequateLow 45Details
Commit message · Andrew Kozlik

feat(python): Ensure that Trezor provides Tropic signature when expected.

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
signing boundaryauthentication path
AI analysis · Low 45/100

This commit tightens device authentication checks in Trezor's Python library. Previously, if a hardware wallet returned a Tropic signature, it was verified. Now, the library also raises an error if a Tropic signature is expected (because an Ed25519 root public key is configured) but missing. This prevents a device from skipping a required signature check and being accepted as authentic.

Security candidaterefactor(python): improve authenticity checkby matejcik · 977402ec · Feb 11, 2026 · 2 filesMessage 72 · AdequateInformational 17Details
Commit message · matejcik

refactor(python): improve authenticity check

moving complexity around to a better siloed location, as a preparation
for adding new kinds of (PQ) cryptography

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
authentication path
AI analysis · Informational 17/100

This is a code cleanup in the Python Trezor library that reorganizes how device authenticity checks handle public keys and signatures. It does not change the security behavior visible to users; it only moves existing logic into new helper classes to make future cryptography upgrades easier. There is no indication this fixes a security bug or introduces a vulnerability.

Security candidatefeat(python): add root production key for T3B1by Andrew Kozlik · 3e0a170e · Feb 11, 2026 · 1 fileMessage 57 · ThinInformational 18Details
Commit message · Andrew Kozlik

feat(python): add root production key for T3B1

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
authentication path
AI analysis · Informational 18/100

This commit updates the list of trusted public keys used by Trezor's Python library to authenticate genuine Trezor hardware. It adds the official production key for a new device model (T3B1, sold as Trezor Safe 3) and renames an older internal model name (T3W1) to its marketed name (Trezor Safe 7). There is no indication of a security vulnerability; it is routine key inventory maintenance for a new product variant.

Security candidaterefactor(core): improve `PropertyType` consistencyby Ioan Bizău · 3a8d869e · Feb 11, 2026 · 28 filesMessage 62 · AdequateInformational 15Details
Commit message · Ioan Bizău

refactor(core): improve `PropertyType` consistency

[no changelog]

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

This commit is a large but purely cosmetic refactor of on-screen text labels across Trezor firmware. It removes trailing colons from many prompts (e.g., changing 'New fee rate:' to 'New fee rate') and adjusts capitalization for consistency. There is no change to security logic, cryptography, transaction validation, or how user confirmations work.

Security candidatefix(delizia): `show_properties` layout consistencyby Ioan Bizău · 7e85413c · Feb 11, 2026 · 1 fileMessage 85 · StrongInformational 17Details
Commit message · Ioan Bizău

fix(delizia): `show_properties` layout consistency

before: you could call `show_properties` either with a string or with a
list of properties
* if you would call it with a string it would use `ConfirmValue`
* if you would call it with a list of properties, it would use
`ShowInfoParams` to show multiple properties

after:
* if you call it with a list of properties that only has one property
it defaults to the same behaviour as the case when you call it with a
single string

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

This commit changes how the Trezor hardware wallet displays a single property on screen. Previously, passing one property as a list used a different screen layout than passing the same property as a plain string. Now both cases use the same ConfirmValue screen. This is a UI consistency fix with no obvious security impact, though any UI change can in principle affect what the user sees and approves.

Security candidatefeat(delizia): back button on summaryby Ioan Bizău · 60294d4c · Feb 11, 2026 · 4 filesMessage 57 · ThinInformational 19Details
Commit message · Ioan Bizău

feat(delizia): back button on summary

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

This commit adds a back button (swipe-down gesture) to the transaction summary screen on Trezor's Delizia and Eckhart UI layouts. Previously, the summary screen only allowed swiping up to proceed to the hold-to-confirm step. Now, when the caller requests it, users can swipe down to go back. This is a user-interface feature change, not a security fix or vulnerability.

Security candidatechore(core): remove double check when changing pinby Martin Pastyřík · 589fd84b · Feb 6, 2026 · 31 filesMessage 62 · AdequateLow 32Details
Commit message · Martin Pastyřík

chore(core): remove double check when changing pin

[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
seed or entropy pathboot or update pathauthentication path
AI analysis · Low 32/100

This commit refactors how the Trezor hardware wallet changes its PIN. Previously, the storage layer itself re-checked the old PIN while changing it. Now the device must already be unlocked before changing the PIN, and the change-PIN function only sets the new PIN. The change is described as removing a redundant 'double check.' It also adds more detailed error codes so the firmware can tell the user exactly what went wrong. There is no direct evidence in the commit that this fixes an active security bug, but it is a meaningful change to a security-critical function.

Security candidatechore(common): remove unused `Failure_BufferError` codeby Roman Zeyde · fee2f283 · Feb 4, 2026 · 6 filesMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(common): remove unused `Failure_BufferError` code

[no changelog]

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

This commit removes an unused error code named Failure_BufferError from the Trezor firmware's protocol definitions and generated code. It is a cleanup change with no security relevance: the code was not being used, and the protobuf field number is now marked as reserved to prevent future accidental reuse.

Security candidatefeat(common): introduce `Failure_InProgress` codeby Roman Zeyde · 103146f3 · Feb 4, 2026 · 6 filesMessage 72 · AdequateInformational 19Details
Commit message · Roman Zeyde

feat(common): introduce `Failure_InProgress` code

It will be used to indicate that an non-interruptible workflow is
currently running on the device.

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

This commit adds a new error code called Failure_InProgress to the Trezor firmware's communication protocol. It does not change any security logic; it simply gives the device a standardized way to tell a connected computer that a non-interruptible task is currently running. The actual behavior of blocking or allowing interruptions is not part of this change.

Security candidatefix(python): do not warn about session id when in bootloader modeby matejcik · 6401bacd · Feb 3, 2026 · 1 fileMessage 62 · AdequateInformational 19Details
Commit message · matejcik

fix(python): do not warn about session id when in bootloader mode

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

This is a tiny fix in the Trezor Python library that stops an incorrect error message. When a Trezor device is in bootloader mode, it legitimately does not return a session ID, but the library was wrongly logging a scary 'session management is now broken' error. The patch simply skips that warning when the device reports it is in bootloader mode. There is no sign this is a security vulnerability or that it changes any actual security behavior.

Security candidatefix(python): improve session handling and unlockingby matejcik · 8ebd8291 · Feb 3, 2026 · 6 filesMessage 97 · StrongLow 34Details
Commit message · matejcik

fix(python): improve session handling and unlocking

* for trezorctl, implement custom version of `ensure_unlocked()` on
TrezorConnection, so that we can reuse the standard session which
unlocked the device
* move some of the passphrase handling into TrezorConnection in order
to avoid get_default_session, which has to call its own
ensure_unlocked()
* clean up features handling in client.get_session(), to properly handle
the case that features are locked

[no changelog]

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
access controlboot or update pathparser or protocol path
AI analysis · Low 34/100

This commit refactors how the Trezor Python command-line tool (trezorctl) manages device sessions and unlocking. It aims to avoid creating duplicate sessions when unlocking the device and to handle passphrases more cleanly. The changes are framed by the developer as an improvement/fix to session handling, not as a response to a known security vulnerability. There is no public evidence that this fixes an exploitable bug.

Security candidaterefactor(python): rework session-based APIby matejcik · 6e301850 · Feb 3, 2026 · 253 filesMessage 80 · StrongInformational 15Details
Commit message · matejcik

refactor(python): rework session-based API

Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]

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

This is a large internal refactoring of the Python trezorlib client API. It reworks how sessions are created, managed, and closed, moves session classes out of the transport layer, adds a credential/keyring helper for the new THP pairing flow, and updates many CLI commands and tests to use the new API. There is no obvious malicious backdoor or simple vulnerability introduced, but the sheer size of the change means small bugs in session lifecycle, passphrase handling, or pairing credential storage could have security consequences. It is best treated as a high-risk refactor that needs careful review rather than an identified exploit.

Security candidaterefactor(python): improve credential management in trezorctlby matejcik · d4945e13 · Feb 3, 2026 · 3 filesMessage 90 · StrongLow 28Details
Commit message · matejcik

refactor(python): improve credential management in trezorctl

* expose Trezor masked key set after handshake phase
* change "username" of keyring passwords to be a random identifier,
store unmasked Trezor key as another password
* allow credential lookup by id, unmasked Trezor public key, or
the masked key set
* expose functionality to trezorctl for forgetting current key or
all remembered keys

[no changelog]

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
credential or privilege state
AI analysis · Low 28/100

This commit refactors how Trezor's command-line tool stores and looks up pairing credentials. It changes the way secrets are labeled in the system keyring, adds new lookup methods, and adds a 'forget' command to remove remembered device keys. The changes appear to be a defensive improvement to credential management rather than a fix for an active vulnerability.

Security candidaterefactor(python): do not request credential in get_default_clientby matejcik · 4324f4e9 · Feb 3, 2026 · 1 fileMessage 77 · AdequateInformational 16Details
Commit message · matejcik

refactor(python): do not request credential in get_default_client

Currently there is no good way of passing back the credential that was
requested, so it is lost anyway.

[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
credential or privilege state
AI analysis · Informational 16/100

This is a small code cleanup in Trezor's Python library. It changes how a new Bluetooth-style pairing flow is started so that it no longer asks the device for a 'credential' during setup. The commit message says the credential could not be returned to the caller anyway, so it was being discarded. There is no direct evidence in the commit that this fixes a security vulnerability; it reads as a refactor to avoid a useless step.

Security candidatefeat(python): do not skip pairing if credential is requestedby matejcik · c5a30ba1 · Feb 3, 2026 · 1 fileMessage 97 · StrongLow 26Details
Commit message · matejcik

feat(python): do not skip pairing if credential is requested

because SkipPairing takes us straight to FINISHED phase, where
CredentialRequest doesn't work without a pre-existing credential

this implies that trezorctl won't skip pairing anymore, even if the skip
method is available

[no changelog]

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
credential or privilege state
AI analysis · Low 26/100

This commit fixes a logic bug in the Trezor Python library's pairing flow. Previously, the library would skip pairing whenever the device allowed it, even when the caller also asked for a security credential. Skipping pairing moves the protocol straight to a finished state where credential requests cannot succeed. The change makes the library only skip pairing when no credential is requested, preventing a likely functional failure or error condition during setup.

Security candidaterefactor(core): unify emulator detectionby Roman Zeyde · 975a2ac7 · Feb 3, 2026 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

refactor(core): unify emulator detection

[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 is a small internal code cleanup in Trezor's test tooling. It replaces several direct checks for the string 'EMULATOR' with a single shared property, `is_emulator`. There is no change to the firmware's security behavior, no fix for a vulnerability, and no user-facing effect.

Security candidatefix(tron): Transfer labels instead of Approveby PrisionMike · 942e6716 · Feb 3, 2026 · 6 filesMessage 80 · StrongModerate 59Details
Commit message · PrisionMike

fix(tron): Transfer labels instead of Approve

- Hot fix.
- Better ETH like functions to be used later.
- Left the unused approve function to be re-used later.

[no changelog]

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
cryptography-sensitive path
AI analysis · Moderate 59/100

This commit fixes a user-interface labeling bug in Trezor's Tron (TRC-20) token support. Previously, when a user was about to send a normal token transfer, the device screen incorrectly showed 'Approve' wording and labels, which could mislead the user into thinking they were approving a spender rather than sending funds. The fix adds a new 'transfer' confirmation screen and uses it for token transfers, while keeping the old 'approve' screen for future use. The actual transaction logic and signatures were not changed—only what the user sees on screen.

Security candidatechore(core): minor annotation and docstring fixby M1nd3r · 5b1fd223 · Feb 2, 2026 · 9 filesMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore(core): minor annotation and docstring fix

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

This commit only fixes whitespace in documentation comments and makes a minor type annotation change (using a more general AnyBytes type alias instead of bytes). There is no change to actual program logic, no bug fix, and no security relevance.