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
183commits · 30 days
450commits · 60 days
1775commits · 180 days
2886commits · 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 46 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-priorityfeat(prodtest): log Tropic initialization errorsby Martin Pastyřík · 9a0ae88a · Jul 17, 2026 · 14 filesMessage 92 · StrongInformational 22Details
Commit message · Martin Pastyřík

feat(prodtest): log Tropic initialization errors

Initialize Tropic on demand in prodtest so that lt_init() failures can be
reported with their libtropic error reason.

[no changelog]

92/100 · StrongMessage clarity
✓ 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 · Informational 22/100

This commit changes how the Trezor hardware wallet's production-test firmware initializes the Tropic secure chip. Previously, the chip was initialized automatically at boot and failures were silently ignored. Now, initialization is done on-demand inside each production-test command, and any failure is reported back with a detailed error reason. This is primarily a diagnostic improvement for factory testing, not a fix for an exploitable security vulnerability in end-user firmware.

Security candidatestyle(core/rust): apply uniform import groupingby matejcik · 035e7fd0 · Jul 17, 2026 · 436 filesMessage 68 · AdequateInformational 15Details
Commit message · matejcik

style(core/rust): apply uniform import grouping

rust `make ruststyle` on the previous comment, producing a
cross-repository style diff.

this also means wrap_comments=true now applies in places it didn't
before, so some line noise about that

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive pathboot or update pathauthentication pathparser or protocol path
AI analysis · Informational 15/100

This is a purely cosmetic code-style commit. It runs the project's Rust formatter across hundreds of files, changing only how import statements are grouped and how long comments are wrapped. No program logic, security behavior, or functionality was altered.

Lower-prioritystyle(core/rust): configure rustfmt for uniform groupingby matejcik · 59f6029b · Jul 17, 2026 · 2 filesMessage 73 · AdequateInformational 15Details
Commit message · matejcik

style(core/rust): configure rustfmt for uniform grouping

move rustfmt.toml one level up to cover all of core's rust, not just
trezor_lib

uniform grouping of use statements:
* group_imports = "StdExternalCrate" to get std imports first, then
3rd party, then crate local (like isort already does in python)
* reorder_imports = true to enforce alphabetical sorting
* imports_granularity = "Module" to put every module on one line,
instead of (the default) compressing with braces

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
AI analysis · Informational 15/100

This commit only changes Rust code formatting rules. It moves a rustfmt.toml configuration file up one directory and adjusts how Rust import statements are automatically grouped and sorted. There is no change to program logic, security behavior, or any executable code.

Security candidaterefactor(core): move `compact_size()` from `common.py` to `tools.py`by Ondřej Vejpustek · 2cb59ce6 · Jul 17, 2026 · 6 filesMessage 62 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

refactor(core): move `compact_size()` from `common.py` to `tools.py`

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

This commit simply moves a helper function called compact_size from one internal file to another and updates the import statements in files that use it. There is no change to what the function does, no bug fix, and no security impact.

Security candidatefix(core): disable writing MCU attestation certificate in firmwareby Ondřej Vejpustek · 6d2883bb · Jul 17, 2026 · 1 fileMessage 62 · AdequateLow 33Details
Commit message · Ondřej Vejpustek

fix(core): disable writing MCU attestation certificate in firmware

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

This commit changes a Trezor firmware function so that, outside of a special factory testing mode (PRODTEST), it refuses to write an MCU attestation certificate. Previously the function accepted and stored such a certificate. The change prevents firmware from installing or overwriting this certificate, likely to reduce attack surface, but the commit message gives no details about any specific security issue.

Security candidatechore(core): add testing tropic attestation key and certificateby Ondřej Vejpustek · e6e20071 · Jul 17, 2026 · 22 filesMessage 72 · AdequateInformational 18Details
Commit message · Ondřej Vejpustek

chore(core): add testing tropic attestation key and certificate

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
update trust
AI analysis · Informational 18/100

This commit updates Trezor's internal test-only files that simulate a TROPIC01 secure chip. It replaces old self-signed test certificates with a new four-level test certificate chain and embeds keys directly into config files instead of referencing separate PEM files. The change is labeled as a testing chore, touches only test/development artifacts, and does not alter production firmware code. The most notable security-relevant detail is that a hardcoded X25519 private key is included in test data, but it is explicitly a test key already present in the public source tree and used only for the emulator/unix test build.

Security candidatefeat(core): use empty MCU attestation certificate in prodtestby Ondřej Vejpustek · ccb99c5e · Jul 17, 2026 · 1 fileMessage 62 · AdequateInformational 19Details
Commit message · Ondřej Vejpustek

feat(core): use empty MCU attestation certificate in prodtest

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

This commit changes how Trezor hardware wallet firmware handles a special factory-testing mode called 'prodtest'. In prodtest builds, it now uses an empty placeholder certificate for MCU (microcontroller) attestation instead of a real device certificate. This appears to be a development/testing convenience change rather than a fix for a live security vulnerability, because prodtest is not the normal user-facing firmware. However, it touches attestation code, which is security-sensitive, and the commit message gives no security context.

Security candidaterefactor(core/python): factor out `get_challenge_message()`by Ondřej Vejpustek · 59c6eb74 · Jul 17, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

refactor(core/python): factor out `get_challenge_message()`

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

This commit is a simple code cleanup: it moves a small block of code that builds an authentication challenge message into its own reusable function. There is no change to behavior, no bug fix, and no security-related change.

Security candidatefeat(tests): test serial numbers in certificates matchby Ondřej Vejpustek · a789984f · Jul 17, 2026 · 2 filesMessage 72 · AdequateInformational 12Details
Commit message · Ondřej Vejpustek

feat(tests): test serial numbers in certificates match

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 12/100

This commit adds a new automated test that checks whether the serial numbers embedded in three different security certificates inside a Trezor device all match. It does not change any production firmware code, fix a bug, or alter device behavior. It only adds a test and a corresponding test fixture entry.

Security candidatechore: create phony target in makefilesby Ondřej Vejpustek · 40926b8b · Jul 17, 2026 · 17 filesMessage 57 · ThinInformational 15Details
Commit message · Ondřej Vejpustek

chore: create phony target in makefiles

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

This commit only adds '.PHONY' declarations to many Makefiles. These declarations tell the build system that certain target names are not real files, preventing build mistakes if a file with the same name happens to exist. There is no change to the actual firmware, cryptography, or any code that runs on the device.

Security candidatefeat(core/prodtest): enable writing MCU attestation certificateby Ondřej Vejpustek · 0a7deb3e · Jul 17, 2026 · 1 fileMessage 62 · AdequateInformational 24Details
Commit message · Ondřej Vejpustek

feat(core/prodtest): enable writing MCU attestation certificate

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

This commit changes a factory-production testing tool (prodtest) so that the commands for writing and reading the device's MCU attestation certificate also work in the software emulator, instead of returning 'not implemented'. In the emulator, the written certificate is only stored in memory and disappears after reboot. The change removes compile-time guards that previously disabled these commands for emulator builds. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a feature-enablement change for testing/development workflows.

Lower-prioritychore: add debug root ed25519 keyby Ondřej Vejpustek · 158979e0 · Jul 17, 2026 · 4 filesMessage 57 · ThinInformational 18Details
Commit message · Ondřej Vejpustek

chore: add debug root ed25519 key

[no changelog]

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

This commit adds a new public 'debug' root key for verifying device authentication certificates on a Trezor hardware wallet variant (T3W1). It is a public key addition only, not a code change that fixes or introduces a vulnerability. The key is labeled 'DEBUG', which typically means it is used in development/testing environments rather than for production devices. The change also updates a test to use this debug key. There is no direct security issue visible in the diff itself, but adding debug trust roots is a sensitive configuration change that must be carefully reviewed to ensure it cannot be misused to bypass production authentication.

Lower-prioritychore: add debug root ML-DSA keyby Ondřej Vejpustek · 17f783cd · Jul 17, 2026 · 3 filesMessage 57 · ThinInformational 18Details
Commit message · Ondřej Vejpustek

chore: add debug root ML-DSA key

[no changelog]

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

This commit adds a new public 'debug' root key for a quantum-resistant signature scheme called ML-DSA-44. It is labeled DEBUG, which means it is intended only for development/testing and is not a production key. The change only inserts a public key into three data files; it does not change any code logic. By itself, this commit does not create a security vulnerability, but adding debug keys is a routine part of preparing secure-boot or device-authentication infrastructure.

Security candidatechore(core): add testing MCU attestation certificateby Ondřej Vejpustek · 83b0cf37 · Jul 17, 2026 · 3 filesMessage 72 · AdequateInformational 17Details
Commit message · Ondřej Vejpustek

chore(core): add testing MCU attestation certificate

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
update trust
AI analysis · Informational 17/100

This commit adds a test-only digital certificate for the T3W1 hardware emulator. It is explicitly labeled as a testing certificate for emulators, lives in a 'unix' emulator directory, and is not used in real Trezor devices. There is no direct evidence it introduces a security vulnerability, but shipping test credentials in source code always deserves a quick check that they cannot accidentally be enabled in production firmware.

Lower-priorityfeat(tests): check key identifierby Ondřej Vejpustek · a69b1db4 · Jul 17, 2026 · 1 fileMessage 67 · AdequateInformational 12Details
Commit message · Ondřej Vejpustek

feat(tests): check key identifier

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

This commit only adds extra checks inside test code for verifying certificate chain identifiers. It does not change the actual Trezor firmware or device behavior, so it does not introduce or fix a security vulnerability in the product itself.

AI review queuedfix(tests): make `verify_cert_chain()` accept longer certificate chainsby Ondřej Vejpustek · c3d46193 · Jul 17, 2026 · 1 fileMessage 72 · AdequateInformational 12Details
Commit message · Ondřej Vejpustek

fix(tests): make `verify_cert_chain()` accept longer certificate chains

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
second-pass: broader security terminology
AI analysis · Informational 12/100

This commit changes only a test helper function in the Trezor firmware test suite. It moves a common-name check to the beginning of certificate-chain verification so the function can handle chains longer than before. There is no change to the actual device firmware or to any security-critical runtime code.

Lower-priorityrefactor(tests): refactor `verify_cert_chain()`by Ondřej Vejpustek · c94d5dcb · Jul 17, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Ondřej Vejpustek

refactor(tests): refactor `verify_cert_chain()`

[no changelog]

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

This commit is a code cleanup in the test suite. It merges two nearly identical certificate-verification routines into one shared helper and removes duplicated code. There is no change to the actual security checks performed, no change to the firmware that runs on Trezor devices, and no indication of a security fix or vulnerability.

Lower-priorityrefactor(tests): import HSM keysby Ondřej Vejpustek · 5230821b · Jul 17, 2026 · 1 fileMessage 67 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

refactor(tests): import HSM keys

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

This commit only moves existing test-only public keys from a test file into a shared internal module so they can be reused. It does not change any firmware behavior, add new keys, or alter any security logic. There is no apparent security issue.

Security candidatefeat(tests): add `test_authenticate_device_mcu()`by Ondřej Vejpustek · 7f562942 · Jul 17, 2026 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · Ondřej Vejpustek

feat(tests): add `test_authenticate_device_mcu()`

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 15/100

This commit only adds a new automated test that checks whether Trezor hardware devices can prove their identity using an MCU-based digital signature. It does not change any firmware code that runs on the device, nor does it fix or introduce any security vulnerability. It is a testing-only change.

Security candidaterefactor(tests): use `get_challenge_message()`by Ondřej Vejpustek · 8e050722 · Jul 17, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Ondřej Vejpustek

refactor(tests): use `get_challenge_message()`

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 15/100

This is a minor code cleanup in the test suite. It replaces a manually constructed challenge message with a helper function that does the same thing. There is no change to the actual Trezor firmware or to how device authentication works in production.

Lower-prioritychore(core): replace `gen.sh` with `generate_certificates.py`by Ondřej Vejpustek · 92a5919a · Jul 17, 2026 · 10 filesMessage 62 · AdequateInformational 15Details
Commit message · Ondřej Vejpustek

chore(core): replace `gen.sh` with `generate_certificates.py`

[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 routine developer tooling change. Trezor replaced a shell script used to convert certificate files into C header files with a new Python script that does the same job. The actual certificate data did not change, only the wrapper format and build integration were updated. There is no indication this fixes or introduces a security vulnerability.

Security candidatefix(core/python): fix encoding in authentication challengeby Ondřej Vejpustek · 86b5d99c · Jul 17, 2026 · 1 fileMessage 67 · AdequateLow 44Details
Commit message · Ondřej Vejpustek

fix(core/python): fix encoding in authentication challenge

[no changelog]

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
access controlauthentication path
AI analysis · Low 44/100

This commit fixes how the Trezor Python library builds an authentication challenge. Previously, the code encoded the length of a header and the length of the challenge as a single byte, which only works for values up to 255. The fix uses a variable-length 'compact size' encoding instead, which can handle larger values. If a challenge or header were ever 256 bytes or longer, the old code would produce an incorrect byte string, which could cause authentication to fail or behave unexpectedly. There is no direct evidence in the commit that this was exploitable as a security vulnerability, but it is a correctness fix in a security-sensitive authentication path.

Lower-prioritychore: introduce new debug root P-256 keyby Ondřej Vejpustek · b55a7ca0 · Jul 17, 2026 · 5 filesMessage 57 · ThinInformational 18Details
Commit message · Ondřej Vejpustek

chore: introduce new debug root P-256 key

[no changelog]

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

This commit swaps in a new developer-debug-only public root key used to verify device certificates during factory testing. The old debug key is kept as a backup for compatibility. It is not a fix for a live user-facing vulnerability and does not change production keys. The change is routine key rotation for internal test infrastructure.

Lower-priorityfeat(tests): always check basic constraints extensionby Ondřej Vejpustek · ce0e3b2f · Jul 17, 2026 · 1 fileMessage 72 · AdequateInformational 12Details
Commit message · Ondřej Vejpustek

feat(tests): always check basic constraints extension

[no changelog]

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

This commit only changes a test helper file in the Trezor firmware repository. It tightens how test code validates X.509 certificate chains by always checking the BasicConstraints extension and path length, rather than skipping the check when the extension is missing. There is no change to the actual device firmware or wallet security logic, so this does not introduce or fix a user-facing security vulnerability.

Lower-priorityfix(core): fix testing Optiga certificatesby Ondřej Vejpustek · 360decd3 · Jul 17, 2026 · 3 filesMessage 67 · AdequateInformational 16Details
Commit message · Ondřej Vejpustek

fix(core): fix testing Optiga certificates

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

This commit updates test-only digital certificates used in Trezor firmware emulators for the T3W1 model. It does not change production device code. The certificates are part of the emulator's simulated secure chip environment and are not shipped to real hardware wallets. The change appears to be a maintenance fix to make emulator tests work with a customized test Hardware Security Module (HSM).