TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1381security candidates441second-pass queue3250AI analyses
175commits · 30 days
448commits · 60 days
1780commits · 180 days
2900commits · 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
882Strong · 80–100
1757Adequate · 60–79
1217Thin · 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.
tychovrahe402169360668
Jakub Janků1083371681
Roman Zeyde722231640372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik913986267
Petr Susil1159286
Martin Pastyřík311227176
M1nd3r301111253071
Lukas Bielesch1228198065
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 3 minutes ago

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

chore(core): teach mass-rebuild-combined.py about flakes

This is a small developer-tooling fix. It changes an internal build helper script so that it uses a newer Nix command ('nix develop') when the project has a 'flake.lock' file, instead of the older 'nix-shell'. The change only affects how t…

524f9fa4by Martin Milata+3−11 file
No security note in commit
Low 32 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): add `requires_unlock` paths helper

This is a small internal cleanup in the Trezor firmware that replaces several direct checks for a special SLIP-25 Bitcoin path with a single helper function called requires_unlock(). It does not change the security rules themselves; it onl…

Refactoring only: no change in access-control policySLIP-25 path gating remains present and centralizedExternal-app crypto path restriction preserved
47ea7912by M1nd3r+17−155 files
No security note in commit
Informational 24 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(legacy): warn before updating bootloader

This commit adds a user confirmation step before the Trezor device updates its bootloader. Previously, the bootloader update began automatically after detecting an older or known bootloader. The change shows a warning screen telling the us…

User confirmation added before destructive bootloader updateWarning about power-loss bricking risk during bootloader eraseBootloader update is a high-privilege, device-modifying operation
451f3f68by Andrew Kozlik+27−02 files
No security note in commit
Informational 11 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(rust): ignore curve25519-dalek advisory

This commit adds a configuration file telling Trezor's Rust security audit tool to ignore a known security advisory (RUSTSEC-2026-0620) for the curve25519-dalek cryptography library. The commit message states Trezor is not affected by this…

Suppression of a published Rust security advisory (RUSTSEC-2026-0620)Dependency chain involves curve25519-dalek / x25519-dalek used via trezor-noise-rust-cryptoNo code or cryptographic changes in the commit
3efbd915by M1nd3r+6−01 file
Vendor flagged security relevance
Moderate 62 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core, legacy): reject locked SLIP-25 paths

This update fixes a security gap in Trezor hardware wallets. Normally, when users disable strict safety checks, the device allows unusual key paths. However, it was still supposed to block SLIP-25 (CoinJoin) paths unless the user had expli…

Bypass of path validation when safety checks are disabledLocked SLIP-25/CoinJoin paths could be used without authorizationFix applies to both core and legacy firmware
331b3f80by M1nd3r+299−89 files
Vendor flagged security relevance
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 13 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): gate the app API under app_runtime

This commit is a straightforward internal code reorganization. It moves several app-facing Rust modules (error handling, crypto, UI, logging, wire protocol, etc.) under a single `app_runtime` module and re-exports them at the crate root. T…

16ce7bbfby Lukas Bielesch+32−3611 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

build(core): split bootloader zero fill into own section

This is a build-system and reporting-only change for Trezor hardware wallets. It renames the zero-fill padding at the end of the bootloader image from a subsection of `.flash` to its own output section `.flash_padding`, and updates interna…

7acff3ccby tychovrahe+38−766 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-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-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-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-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-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-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-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.

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): 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.

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-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): 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-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-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-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-prioritychore(python): bump version to 0.20by matejcik · c474c03e · Feb 3, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · matejcik

chore(python): bump version to 0.20

to indicate a big API break

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

This commit simply changes a version number in a Python package configuration file from a development pre-release (0.20.0-dev0) to a stable release (0.20.0). It is a routine release housekeeping change with no security implications.

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-priorityfix(python): avoid reseeding in HW testsby Roman Zeyde · d3908fa6 · Feb 3, 2026 · 1 fileMessage 67 · AdequateInformational 18Details
Commit message · Roman Zeyde

fix(python): avoid reseeding in HW tests

[no changelog]

67/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
AI analysis · Informational 18/100

This is a tiny test-only fix that stops the Python test helper from sending a special 'reseed' debug command to real Trezor hardware during automated tests. The reseed command is meant only for the software emulator used in testing. Sending it to a physical device had no production security effect, but it could cause hardware tests to behave unexpectedly or fail. It is not a vulnerability in the firmware that end users run.

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.

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.

AI review queuedrefactor(python): move protocols out of transportby matejcik · 61783a05 · Feb 3, 2026 · 9 filesMessage 57 · ThinInformational 15Details
Commit message · matejcik

refactor(python): move protocols out of transport

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

This commit is a pure code reorganization: it moves the Trezor host-side protocol implementation files from one Python package directory (transport/thp) to another (thp) and adds a new protocol_v1.py module. The actual logic, constants, and behavior appear unchanged. There is no indication this fixes or introduces a security 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.