TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1370security candidates439second-pass queue3237AI analyses
189commits · 30 days
463commits · 60 days
1777commits · 180 days
2889commits · 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
872Strong · 80–100
1756Adequate · 60–79
1202Thin · 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.
tychovrahe397165356667
Jakub Janků1083371681
Roman Zeyde722231640372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Lukas Bielesch1168097065
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 59 minutes ago

Informational 15 AI analysisMessage 83 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore: bump versions

This commit only changes version numbers and translation metadata across Trezor firmware components. There are no code logic changes, bug fixes, or security-related modifications in the diff. It is a routine release bookkeeping step.

332283eaby Jakub Janků+16−1613 files
No security note in commit
Informational 17 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(legacy): handle AppError failure type

This commit adds a missing human-readable error message for a new failure type called 'AppError' in the older Trezor (legacy) firmware. Without this change, if the device encountered an AppError it would fall through to a generic 'Firmware…

Missing enum case in failure-reporting pathPotential misclassification of runtime errors to usersNo memory safety, cryptographic, or authorization changes
b7aef814by Lukas Bielesch+3−01 file
No security note in commit
Moderate 59 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): attribute user MLSPERR to unprivileged task

This commit fixes a bug in the Trezor firmware's task scheduler where a specific hardware memory fault (related to lazy floating-point register saving) was being blamed on the wrong task. Previously, the kernel/privileged code could be inc…

Incorrect fault attribution between privileged kernel and unprivileged taskPotential wrong task termination/killing due to misattributed memory faultLazy floating-point state preservation (FP lazy stacking) edge case
b3e499f5by cepetr+50−51 file
No security note in commit
Moderate 65 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): validate unprivileged task psp

This commit adds a safety check inside the Trezor hardware wallet's core task scheduler. Before saving a task's state during a context switch, the operating system now verifies that the task's stack pointer points to a valid location withi…

Kernel writes to user-controlled pointer without bounds validation (pre-patch)Privilege escalation / memory corruption via forged PSP in unprivileged taskAddition of explicit PSP range validation before context save
8097a4a5by cepetr+42−21 file
No security note in commit
Informational 15 AI analysisMessage 88 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core/delizia): remove stale Pad::clear() call

This is a tiny build-fix patch, not a security change. A previous code cleanup removed a function called Pad::clear(), but a new screen in the passphrase input still tried to call it, causing the T3T1 hardware wallet firmware build to fail…

57b35a8fby Jakub Janků+0−11 file
No security note in commit
Informational 12 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/rust/crypto): add ECDSA public key uncompression

This commit adds a new internal helper function that converts compressed ECDSA public keys into their uncompressed form. It is a feature addition with no visible security bug: the code validates the key prefix, uses the correct buffer size…

be9504b9by Lukas Bielesch+57−02 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): replace get_xpub and get_public_key with get_public_node

This commit is a routine internal code cleanup in the Trezor firmware SDK. It renames and consolidates two ways of reading a public key into a single function, and adds a helper to decompress ECDSA public keys. There is no indication of a …

8c30110eby Lukas Bielesch+35−424 files
No security note in commit
Low 41 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): handle bkpt instruction in unprivileged mode

This firmware update changes how the Trezor device handles a special ARM processor instruction called BKPT when it is executed by low-privilege code (unprivileged mode). Previously, such a breakpoint could escalate into a HardFault and reb…

Prevents unprivileged BKPT from escalating to HardFault/RSOD rebootAdds DebugMonitor exception handler that exits the faulting taskComment explicitly notes remaining RSOD behavior at RDP level 0 on Secure-Monitor devices
bcbcd7fbby cepetr+22−02 files
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/caesar): use arrow in HtC anim

This commit is a user-interface polish change for the Trezor hardware wallet. It replaces the text label on the 'hold to confirm' button with a small arrow icon in one product variant (Caesar), and shortens the translated button text in se…

01422b74by obrusvit+6790−676712 files
No security note in commit
Informational 13 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): remove unused clearing-related API in `Pad`

This is a code cleanup change in the Trezor firmware's user-interface code. It removes an old 'clear' flag and related functions from a background-drawing helper called Pad, because that flag no longer did anything useful. The commit does …

ddbd3ca0by Roman Zeyde+44−15949 files
No security note in commit
Informational 15 AI analysisMessage 82 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing ES test

This commit updates translation files for the Trezor hardware wallet. It corrects a typo in the Spanish translation ('Tiiempo' to 'Tiempo'), adjusts wording in several languages, and updates the digital signature that verifies the translat…

580f40f8by Michal Kazda+41−216 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): add PT glyph `â`

This commit adds a single missing Portuguese character (â) to the font files used on Trezor hardware wallets. It is a routine translation/localization fix with no security relevance.

2bf28f83by Michal Kazda+562−325 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): slide the eye hint and hidden characters in together

This commit is a cosmetic UI animation cleanup. It removes a 65-millisecond delay so that an eye icon and hidden password characters slide onto the screen at the same time, instead of starting at slightly different times. There is no secur…

faf18c8fby Anderson Guimaraes+5−233 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): move Eckhart passphrase input event handling to a helper [no changelog]

This commit is a pure code cleanup (refactor) in the Trezor firmware's passphrase input screen. It moves the existing event-handling logic into a new helper method without changing what the code actually does. There is no security-relevant…

0ebda150by Anderson Guimaraes+44−401 file
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): address review of the passphrase eye hint

This commit is a small internal cleanup of the passphrase-entry animation on Trezor hardware wallets. It renames timers, computes an animation value once instead of twice, and moves responsibility for redrawing to the caller. There is no i…

f97e8dd5by Anderson Guimaraes+53−493 files
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 synchronization of translated user-interface text strings from the Crowdin translation platform into the Trezor firmware. It only changes wording in Czech, German, Spanish, French, Indonesian, and Portuguese transl…

7c7bb52cby Thalarion+334−2597 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): extract the firmware's embedded image updates

This commit is a straightforward code cleanup: it moves the existing bootloader and nRF firmware update logic into a new helper function without changing what the code actually does. There is no security-relevant change visible in the diff.

5fec68edby tychovrahe+38−261 file
No security note in commit
Moderate 50 AI analysisMessage 100 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(solana): accept sysvars loaded from ALTs

This update fixes a bug in Trezor's Solana transaction handling. Some Solana transactions use a feature called 'address lookup tables' to save space, and Trezor was incorrectly rejecting valid transactions when a special system account (a …

Change relaxes a previously strict validation rule (sysvar account identity verification) for some instruction typesRelaxation is scoped per-instruction via a new `allow_alt_sysvars` booleanStake program instructions retain strict rejection to prevent account-role shifting attacks
76114596by Jakub Janků+100−67 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): generated code changes for uint216 parser

This commit only regenerates code bindings for a new Ethereum ABI type called ABI_UINT216. It adds the new numeric value 50 to several auto-generated enum files in Python and Rust. There is no actual parser logic, security fix, or vulnerab…

a669d909by PrisionMike+59−504 files
No security note in commit
Informational 20 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add uint216 support

This commit adds support for a new Ethereum data type, uint216, to Trezor's clear signing feature. It is a small, additive feature change with no obvious security problem. There is no indication in the commit that this fixes a vulnerabilit…

bbd7a797by PrisionMike+3−02 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.

Lower-prioritychore(core): update UI fixturesby Roman Zeyde · e2db64e2 · Feb 4, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

chore(core): update UI fixtures

[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 only updates expected test result fingerprints (hashes) in a single test data file. It does not change any firmware code, cryptographic logic, or user-facing behavior. There is no security issue in this change itself.

Lower-priorityrefactor(core): buffer usage check refactoringby bleska · 858e9287 · Feb 3, 2026 · 1 fileMessage 72 · AdequateInformational 16Details
Commit message · bleska

refactor(core): buffer usage check refactoring

Improving the code legibility of pwm_data[] buffer usage check.

[no changelog]

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

This commit refactors how the Trezor hardware wallet's backlight driver manages its internal DMA buffers. It replaces direct memory writes with helper functions that add bounds checks and a 'dirty' flag to track whether a buffer has been modified. The change improves code readability and defensive programming but does not appear to fix an actively exploitable security bug. It is labeled by the developer as a refactoring with no changelog entry.

Lower-priorityfix(core): pwm_data[] buffer clear check fixby bleska · 3706a653 · Feb 3, 2026 · 1 fileMessage 80 · StrongLow 31Details
Commit message · bleska

fix(core): pwm_data[] buffer clear check fix

A bug in pwm_data[] buffer clear check has been found and fixed. The pwm_data[][1] array element is used when the respective buffer is used for setting of new pulses' value to TPS61062 IC.

[no changelog]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Low 31/100

This commit fixes a small logic bug in the Trezor hardware wallet's screen backlight driver for STM32U5 devices. The driver uses a two-element buffer (pwm_data[][0] and pwm_data[][1]) to send pulse values to a backlight power chip (TPS61062). The old code only checked whether the first element was 'empty' (set to UINT16_MAX) before deciding to clear the buffer, ignoring the second element. This meant the buffer could fail to be cleared when it should have been, potentially leaving stale pulse values and causing incorrect backlight behavior or visual glitches during brightness transitions.

Lower-prioritychore(vendor): update libtropic to v3.1.0by M1nd3r · b7309609 · Feb 3, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · M1nd3r

chore(vendor): update libtropic to v3.1.0

Release: https://github.com/tropicsquare/libtropic/releases/tag/v3.1.0

[no changelog]

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

This commit updates a bundled third-party library called libtropic from one version to another (v3.1.0). The change is a single-line version bump in a vendor submodule. There is no code diff shown, no description of any bug or security fix, and no external security advisory provided. On its own, this looks like a routine dependency maintenance update.

Lower-prioritychore(core): adjust core to be compatible with libtropic 3.1.0by M1nd3r · aaa34772 · Feb 3, 2026 · 4 filesMessage 62 · AdequateInformational 15Details
Commit message · M1nd3r

chore(core): adjust core to be compatible with libtropic 3.1.0

[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 is a routine build-system update that swaps two source files in the list of files compiled for the Trezor T3W1 hardware model and its emulator. It removes references to files named lt_l1_port_wrap.c and lt_random.c and adds a new file named lt_port_wrap.c, so the project builds against version 3.1.0 of an external library called libtropic. There is no indication in the commit of any security bug, vulnerability fix, or behavior change beyond keeping the build compatible with the newer library version.

Lower-prioritystyle(python): improve type annotations at trezorlib.transportby matejcik · fe10e429 · Feb 3, 2026 · 3 filesMessage 50 · ThinInformational 15Details
Commit message · matejcik

style(python): improve type annotations at trezorlib.transport

[no changelog]

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
AI analysis · Informational 15/100

This is a minor code cleanup that improves Python type annotations in the Trezor library's transport layer. It does not change how the software behaves or fix any security issue.

Lower-prioritydocs(python): add changelog entriesby Roman Zeyde · ef48ecc9 · Feb 3, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

docs(python): add changelog entries

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 only adds four changelog text files describing unrelated past or upcoming changes to the Trezor Python library. No actual code was modified, so it cannot introduce, fix, or hide a security vulnerability on its own.

Lower-prioritytest(core): close transport in `BackgroundDeviceHandler.kill_task()`by Roman Zeyde · 36705f61 · Feb 3, 2026 · 3 filesMessage 99 · StrongInformational 15Details
Commit message · Roman Zeyde

test(core): close transport in `BackgroundDeviceHandler.kill_task()`

Not sure why it was removed in 78ecfb2caac98337fae74ea1d6f607c7cf015395.

[no changelog]

99/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode✓ Mentions testing or verification
AI analysis · Informational 15/100

This commit fixes a test helper so it properly closes the USB/transport connection when a background test task is killed. It only touches test code, not the firmware or production wallet code, so it has no direct security impact on real Trezor devices or users.

Lower-priorityfix(python): allow `client.ensure_unlocked()` to proceed on an uninitialized deviceby matejcik · debe4b6c · Feb 3, 2026 · 1 fileMessage 62 · AdequateLow 30Details
Commit message · matejcik

fix(python): allow `client.ensure_unlocked()` to proceed on an uninitialized device

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

This commit fixes a Python library helper so that checking whether a Trezor device is unlocked no longer crashes or misbehaves when the device is brand new and not yet set up. It adds a guard that returns early if the device is uninitialized, because an uninitialized device has no wallet and therefore cannot be 'locked' in the usual sense. The change is accompanied by a docstring clarifying that the lower-level session method only works on initialized devices with a passphrase.

Lower-prioritychore: bump `jaraco-context` to 6.1.0by Roman Zeyde · 14060135 · Feb 3, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Roman Zeyde

chore: bump `jaraco-context` to 6.1.0

[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 is a routine dependency version bump in a Python lock file. It updates the jaraco-context package from version 6.0.1 to 6.1.0, which is a minor release of a small helper library. There is no indication in the commit of any security issue being fixed, and no security-relevant code changes are present.

Lower-priorityfix(core): raise proper exception for unexpected message in pairing phaseby matejcik · f371ee57 · Feb 3, 2026 · 1 fileMessage 62 · AdequateLow 29Details
Commit message · matejcik

fix(core): raise proper exception for unexpected message in pairing phase

[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 a small but specific bug in how the Trezor hardware wallet handles unrecognized messages during its secure Bluetooth/USB pairing setup (called the 'pairing phase'). Previously, receiving an unexpected message type could trigger a low-level KeyError instead of the intended, safer 'UnexpectedMessage' error. The fix makes the device respond with the proper error so the pairing process fails cleanly rather than potentially leaking internal state or crashing awkwardly.

Lower-priorityrefactor(python): better handling of TREZOR_BLE flagby matejcik · 1a2c9bf4 · Feb 3, 2026 · 5 filesMessage 62 · AdequateInformational 13Details
Commit message · matejcik

refactor(python): better handling of TREZOR_BLE flag

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

This commit is a code cleanup that changes how Bluetooth Low Energy (BLE) support is enabled in the Trezor Python library. Previously, the BLE flag was passed through many function calls. Now it is read from an environment variable or command-line flag once and stored in a single place. There is no indication this fixes a security vulnerability; it is a refactoring to make the code easier to maintain.

Lower-priorityrefactor(python): streamline record_screen functionalityby matejcik · 776355e0 · Feb 3, 2026 · 5 filesMessage 85 · StrongInformational 12Details
Commit message · matejcik

refactor(python): streamline record_screen functionality

The function as written didn't really belong into debuglink, so it was
moved to trezorctl, and emu.py can import it from there. Also improved
type annotations, simplified implementation, and made sure that
recording is properly stopped even on an error.

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

This commit is a code cleanup that moves the screen-recording helper from a low-level debug library into the command-line tool. It does not change what the feature does; it only reorganizes where the code lives and makes the recording stop more reliably when an error occurs. There is no indication this fixes a security vulnerability.

Lower-prioritychore(python): invalidate session even if EndSession call failsby matejcik · 0d5d6b9d · Feb 3, 2026 · 1 fileMessage 62 · AdequateInformational 24Details
Commit message · matejcik

chore(python): invalidate session even if EndSession call fails

[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
defensive validation
AI analysis · Informational 24/100

This is a small hardening fix in the Python Trezor library. Previously, if the device failed to respond to an 'EndSession' command, the software might keep thinking the secure session was still usable. Now the session is marked invalid regardless of whether the EndSession call succeeds or fails. This reduces the chance of accidentally reusing or leaking a stale session, but the change is minor and defensive rather than a clear fix for an active attack.

Lower-prioritychore(python/debuglink): remove vestigial memory_write/read/erase methodsby matejcik · 983d7afe · Feb 3, 2026 · 1 fileMessage 77 · AdequateInformational 15Details
Commit message · matejcik

chore(python/debuglink): remove vestigial memory_write/read/erase methods

unsupported on core models, not used by anyone on legacy for years

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 removes three unused helper functions from the Python debug-link library. These functions were already non-functional on current Trezor devices and are not used by older devices anymore. There is no security issue here.

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.

Lower-priorityfix(python): allow THP session id 255by matejcik · 5e261d5e · Feb 3, 2026 · 1 fileMessage 57 · ThinInformational 21Details
Commit message · matejcik

fix(python): allow THP session id 255

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

This is a tiny one-line fix in the Python Trezor library that changes when a session ID counter wraps around. Previously, the counter reset before reaching 255, so session ID 255 could never be used. The fix allows 255 to be used as a valid session ID. This is a minor correctness/robustness improvement, not a clear security vulnerability.

Lower-priorityrefactor(python/trezorctl): improve session managementby matejcik · 6a86927f · Feb 3, 2026 · 4 filesMessage 93 · StrongInformational 24Details
Commit message · matejcik

refactor(python/trezorctl): improve session management

the session id string now includes device path as well, so setting
TREZOR_SESSION_ID is always sufficient when multiple Trezors are
connected.

THP sessions can now be restored (fixes #5855)

93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 24/100

This commit refactors how the trezorctl command-line tool saves and resumes sessions with Trezor hardware wallets. It changes the session identifier from a simple hex string to a base64-encoded JSON object that also includes the device path, and it adds support for resuming THP (Trezor Host Protocol) sessions. The changes are described by the vendor as a feature/refactor improvement, not as a security fix. There is no direct evidence in the commit of a vulnerability being patched, but the refactor touches session lifecycle code and could affect security-relevant behavior such as session isolation, passphrase handling, and device path matching.

Lower-priorityrefactor(python): better management of open-depth for transportby matejcik · 603a2160 · Feb 3, 2026 · 8 filesMessage 85 · StrongInformational 17Details
Commit message · matejcik

refactor(python): better management of open-depth for transport

this way a high-level "reopen" functionality is exposed to callers that
want to cycle the connection, without needing to fragilly mess with open
count

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

This is a Python-only internal refactoring of how Trezor's test/debugging library keeps track of open connections. It replaces fragile manual open/close bookkeeping with a cleaner 'reopen' flag and context-manager handling. There is no direct evidence this fixes an exploitable security bug; it appears to be code-quality work to prevent connection-state mistakes during testing.

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.

Lower-priorityfix(python/thp): correctly handle maximum allowable THP message sizeby matejcik · 26186e48 · Feb 3, 2026 · 2 filesMessage 62 · AdequateLow 29Details
Commit message · matejcik

fix(python/thp): correctly handle maximum allowable THP message size

[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 a bug in Trezor's Python library for handling large USB-style messages (THP protocol). Previously, if a message payload was too large, the code could silently wrap around a 16-bit length field, producing an incorrect packet size. The patch now catches that overflow and raises a clear error instead. It also removes an unused constant that capped payload length at 60,000 bytes. The fix is defensive and improves error handling, but it is in the host-side Python library, not the device firmware itself.

Lower-priorityfix(python): support older releases without `Features.capabilities`by Roman Zeyde · 76b27755 · Feb 3, 2026 · 2 filesMessage 89 · StrongInformational 17Details
Commit message · Roman Zeyde

fix(python): support older releases without `Features.capabilities`

Otherwise, `test_cardano_address_does_not_change_by_upgrade` fail on older releases.

[no changelog]

89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
AI analysis · Informational 17/100

This is a small bug-fix in Trezor's Python library. Older Trezor firmware did not advertise which features it supports via a 'capabilities' field, so the library was incorrectly throwing errors when connecting to those older devices. The change makes the library skip capability checks when the field is missing, and it unifies the error handling. It does not appear to be a security fix.

Lower-priorityfix(python/trezorctl): avoid using atexit for closing of transportby matejcik · e3ca6ebe · Feb 3, 2026 · 1 fileMessage 97 · StrongLow 30Details
Commit message · matejcik

fix(python/trezorctl): avoid using atexit for closing of transport

Otherwise we conflict with atexit registered in webusb transport and may
cause a segfault in libusb.

What we practically want is to close the obj "after a command", not "at
exit", so we hook into Click's invoke()

[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
AI analysis · Low 30/100

This commit fixes a crash bug in the Trezor command-line tool (trezorctl). It changes when the USB connection to the Trezor device is closed, moving cleanup from program shutdown to right after each command finishes. The old approach could trigger a segmentation fault (a hard crash) in the underlying USB library because two different cleanup routines interfered with each other at exit.

Lower-priorityrefactor(python): inline `ThpErrorCode.to_exception()`by Roman Zeyde · 956d74d1 · Feb 3, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Roman Zeyde

refactor(python): inline `ThpErrorCode.to_exception()`

[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 is a small internal code cleanup in the Python Trezor library. It removes a helper method and moves the same error-code-to-exception logic directly into the ThpError class constructor. There is no user-visible behavior change and no security relevance.

Lower-prioritychore: update UI fixturesby Roman Zeyde · fe9138ef · Feb 3, 2026 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · Roman Zeyde

chore: update UI fixtures

[no changelog]

47/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only updates expected test result fingerprints (hashes) in a JSON file used for automated UI testing. It does not change any firmware, application, or security code. There is no indication of a security fix or vulnerability.