TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

1352security candidates437second-pass queue3217AI analyses
210commits · 30 days
454commits · 60 days
1757commits · 180 days
2866commits · 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
862Strong · 80–100
1744Adequate · 60–79
1193Thin · 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.
tychovrahe396165356667
Jakub Janků1063169681
Roman Zeyde722231640372
obrusvit336138284364
cepetr304111229259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Ioan Bizău23076230059
Lukas Bielesch1087693066
Analysis record

Published AI watches

Last scanned 52 minutes ago

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 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 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
Informational 19 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(clear_signing): unknown token label improvement.

This commit is a small user-interface wording change for Trezor's Ethereum 'clear signing' feature. When the device cannot identify a token involved in a transaction, it now labels the displayed contract address as 'Address (unknown token)…

No security-relevant logic changedUI label clarification onlyNo validation, parsing, or cryptographic code modified
e1230842by PrisionMike+4−21 file
No security note in commit
Informational 15 AI analysisMessage 75 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

tests(clear_signing): add unit tests and a device test.

This commit only adds new automated tests and test data for Trezor's Ethereum 'clear signing' feature. It does not change any production firmware code, so it cannot introduce a security vulnerability or fix one in shipped devices.

6ff49695by PrisionMike+868−5328 files
No security note in commit
Moderate 62 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): minor clean up

This commit fixes a bug in the Ethereum 'clear signing' feature on Trezor hardware wallets. A value that could arrive as true/false was not being converted to a number (1/0) before being looked up, which caused clear signing to fail and fo…

Bugfix in parser that caused fallback to blind signing for LiDo transactionsBlind signing reduces transaction transparency and increases phishing/social-engineering riskBoolean-to-integer conversion omission in enum formatter
92c09256by PrisionMike+4−32 files
No security note in commit
Low 26 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): support conditional visibility

This commit adds a new feature to Trezor's Ethereum 'clear signing' system that lets wallet metadata definitions hide or require certain transaction fields based on their decoded values. It introduces two new conditions: 'ifNotIn' (hide th…

New exception path (MustMatchViolation) can abort transaction rendering if a metadata-supplied mustMatch list is not satisfiedConditional hiding (ifNotIn) could be abused by a malicious or compromised metadata definition to suppress security-relevant fields from the user interfaceConstant paths are explicitly rejected when combined with ifNotIn/mustMatch, suggesting awareness of metadata-manipulation risk
deaa1546by PrisionMike+48−21 file
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add skippable parameter

This commit adds a new 'skip_item' flag to the data format used for Ethereum clear-signing on Trezor devices, but deliberately does not implement the feature yet. The code rejects any message that tries to use it. It is a forward-compatibi…

cb2659a2by PrisionMike+116−675 files
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

ci(core): reuse HW tests Slack webhook

This is a routine GitHub Actions workflow fix. It changes which Slack webhook secret is used for nightly test failure notifications and removes a now-unnecessary safety check. There is no security vulnerability in the change itself.

abfe74f9by Michal Kazda+1−51 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): name the skipped cases

This commit only improves a test report for Trezor's clear-signing feature. It changes how skipped test cases are listed in a nightly summary, showing each skipped case's source file and calldata size instead of just counting them by reaso…

98deb5b0by PrisionMike+25−92 files
No security note in commit
Informational 15 AI analysisMessage 95 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): run the cases without display format

This commit only changes test scripts and documentation for the Trezor firmware clear-signing test suite. It makes the tests run more registry cases—specifically those where the developer definitions do not yet have a display format—so the…

05c1f4efby PrisionMike+63−225 files
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing tutorial test in FR and small update to PT

This commit updates French and Portuguese translation strings in the Trezor firmware and refreshes the translation signature metadata. The changes are purely wording adjustments (for example, replacing abbreviations like 'nº' with the full…

29cbc419by Michal Kazda+19−193 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core/ui): standard page for Caesar mismatch

This commit is a user-interface code cleanup. It replaces a hand-built screen layout with a standard helper used by other screens in the same product line. The visible text and button behavior (a 'Quit' button on an address-mismatch warnin…

c096c17aby Jakub Janků+14−192 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): use a one-shot timer for the eye hint start delay

This is a user-interface performance cleanup. It changes how a small eye icon (hinting that a hidden passphrase can be shown) waits before sliding onto the screen. Previously the screen was redrawn on every animation frame during the short…

fa3ec406by Anderson Guimaraes+26−121 file
No security note in commit
Repository ledger

Explore captured commits

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

Security candidaterefactor(rust/trezor-thp): keep track if channel finished pairing/credentialsby Martin Milata · 496f4b1b · Jul 6, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(rust/trezor-thp): keep track if channel finished pairing/credentials

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

This commit is a straightforward internal code refactor in the Trezor hardware wallet's Rust transport-handshake protocol (THP) library. It replaces a simple pairing-state field with a richer 'phase' enum that tracks whether the channel is still in the pairing/credential setup stage or has moved to encrypted application messaging. The change adds helper methods so the application can explicitly mark pairing as finished. There is no direct security fix here; it is a structural improvement that makes state tracking clearer and less error-prone for callers.

Lower-priorityrefactor(rust/trezor-thp): export more constantsby Martin Milata · 8c9c1b1f · Jul 6, 2026 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · Martin Milata

refactor(rust/trezor-thp): export more constants

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

This commit is a straightforward internal code cleanup in the Rust implementation of Trezor's transport protocol (THP). It moves several constants from inside a trait or function to the module level and makes them public so other parts of the code can use them directly. The actual numeric values and behavior do not change. There is no indication this fixes a security bug or changes how the device protects data.

Lower-prioritytest(rust/trezor-thp): crc32 vectors from test_trezor.wire.thp.checksumby Martin Milata · fb53052d · Jul 6, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · Martin Milata

test(rust/trezor-thp): crc32 vectors from test_trezor.wire.thp.checksum

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

This commit only adds more test cases and removes two unused helper functions for verifying CRC32 checksums. It does not change the actual CRC32 calculation logic, nor does it fix any security issue. There is nothing here that would allow an attacker to exploit a Trezor device.

Lower-priorityrefactor(rust/trezor-thp): minor tweaksby Martin Milata · 751b66fd · Jul 6, 2026 · 6 filesMessage 90 · StrongInformational 15Details
Commit message · Martin Milata

refactor(rust/trezor-thp): minor tweaks

- channel_id() part of ChannelIO
- derive Debug for enums when testing
- logging off by default in tests
- export control_byte module

90/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
AI analysis · Informational 15/100

This is a small internal code cleanup in the Trezor hardware wallet's Rust transport-handshake-pairing (THP) library. It moves a helper method (channel_id) into a shared trait, adds a read-only packet_len accessor, turns off noisy test logging by default, derives Debug for some enums in test builds, and makes the control_byte module public. None of these changes fix a vulnerability or change security behavior.

Lower-priorityrefactor(core/rust): allow defining new micropython exceptionsby Martin Milata · cdb36b37 · Jul 6, 2026 · 5 filesMessage 62 · AdequateInformational 12Details
Commit message · Martin Milata

refactor(core/rust): allow defining new micropython exceptions

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

This commit is a code cleanup in the Trezor firmware's Rust layer. It introduces a dedicated helper module for creating MicroPython exceptions and refactors existing error handling to use those helpers. There is no direct evidence in the commit that it fixes a security vulnerability; it appears to be a maintainability refactor that also enables future custom exception types.

Security candidaterefactor(core/rust): trezor-crypto backend glue for noise-protocolby Martin Milata · bc97a6b2 · Jul 6, 2026 · 9 filesMessage 62 · AdequateLow 35Details
Commit message · Martin Milata

refactor(core/rust): trezor-crypto backend glue for noise-protocol

[no changelog]

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

This commit refactors the cryptographic glue code that connects Trezor's embedded firmware to a Rust-based Noise protocol implementation used for secure device communication. The most notable security-relevant change is the addition of a constant-time comparison function for checking AES-GCM authentication tags, which helps prevent timing-based attacks that could leak information about the tag. The commit also splits AES-GCM into separate encrypt and decrypt types, adds a non-pinned SHA-256 wrapper, and introduces wrappers for Curve25519 and AES-GCM to satisfy the Noise protocol backend interface. There is no explicit vendor statement that this fixes a security vulnerability, and no independent researcher is credited.

Lower-priorityfix(core): unallocated THP session lookupby Martin Milata · bed87470 · Jul 6, 2026 · 2 filesMessage 57 · ThinLow 45Details
Commit message · Martin Milata

fix(core): unallocated THP session lookup

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

This commit fixes a bug in how the Trezor hardware wallet looks up unused secure sessions. Previously, the code checked whether a session slot was 'empty' by comparing the whole slot object to a placeholder. After a code change, that comparison no longer worked correctly, so a slot could be mistaken for empty when it actually contained another user's session data. The fix makes the code explicitly read the session-state field to decide if a slot is truly unallocated. The risk is that a new session could overwrite an active session, potentially mixing up or leaking cached secrets between sessions. The commit message does not call this a security fix, and no public advisory was supplied.

Lower-priorityrefactor(core/rust): add TryFrom<Option<T>> for Objby Martin Milata · 6301a688 · Jul 6, 2026 · 4 filesMessage 62 · AdequateInformational 18Details
Commit message · Martin Milata

refactor(core/rust): add TryFrom<Option<T>> for Obj

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

This is a small internal code cleanup in the Trezor firmware's Rust code. It replaces a custom helper function with a standard Rust conversion trait so that optional values can be converted to MicroPython objects in a more idiomatic way. The change itself does not fix a known bug or add a security feature; it is a refactoring that may make future errors slightly harder to miss.

Lower-prioritychore(core): update fixturesby Martin Milata · c9bce09d · Jul 6, 2026 · 1 fileMessage 47 · ThinInformational 15Details
Commit message · Martin Milata

chore(core): update 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 adds new expected test result hashes (called 'fixtures') for on-screen UI tests. It does not change any firmware code, wallet logic, or security behavior. There is no indication of a security fix or vulnerability.

Lower-priorityfix(core): loop.mailbox exception handlingby Martin Milata · cbb5281b · Jul 6, 2026 · 1 fileMessage 57 · ThinLow 41Details
Commit message · Martin Milata

fix(core): loop.mailbox exception handling

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

This commit fixes how a low-level task mailbox in the Trezor firmware handles stored values. Previously, if another task placed an exception into the mailbox, the waiting task would receive that exception as if it were a normal value instead of having it raised. The patch makes the mailbox re-raise stored exceptions so they propagate correctly through the async loop. This is a correctness fix in the firmware's task scheduler; it is not obviously exploitable as a security vulnerability on its own, but mishandled exceptions could in theory mask errors or alter control flow in security-critical code paths.

Security candidaterefactor(core/rust): use ZeroizeOnDropby Martin Milata · fdb58ef8 · Jul 6, 2026 · 7 filesMessage 57 · ThinInformational 18Details
Commit message · Martin Milata

refactor(core/rust): use ZeroizeOnDrop

[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
memory safetycryptography-sensitive path
AI analysis · Informational 18/100

This commit is a code cleanup in the Trezor firmware's Rust cryptography code. It replaces hand-written memory-clearing code with a standard library feature called ZeroizeOnDrop. The goal is the same: erase sensitive cryptographic data from memory when objects are destroyed. There is no evidence this commit fixes an active security bug; it is a defensive hardening and refactoring change.

Security candidatefeat(core): switch from Python THP implementation to Rust-based oneby Martin Milata · 00ec9a7f · Jul 6, 2026 · 43 filesMessage 62 · AdequateLow 36Details
Commit message · Martin Milata

feat(core): switch from Python THP implementation to Rust-based one

[no changelog]

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

This commit replaces the Python implementation of Trezor's THP (Trezor Host Protocol) with a Rust-based one. It is a large refactoring that moves channel state management, encryption, packet handling, and handshake logic from Python into a Rust module exposed as `trezorthp`. The change also adjusts how credentials are validated, how sessions are cached, and how the event loop handles reads, writes, and retransmissions. There is no explicit security bug in the diff, but the scope of the rewrite and the removal of several safety checks (for example around buffer allocation and unexpected-message handling) create a non-trivial risk of introducing memory-management, concurrency, or protocol-edge-case bugs. The vendor does not describe this as a security fix.

Lower-prioritytest(core): allow logging from rust unit testsby Martin Milata · a9bc6e5a · Jul 6, 2026 · 3 filesMessage 67 · AdequateInformational 15Details
Commit message · Martin Milata

test(core): allow logging from rust unit 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 15/100

This commit only changes how Rust unit tests inside the Trezor firmware project can print diagnostic messages. It enables a debug console feature for test builds, reads an optional RUST_LOG environment variable, and increases the maximum log message length from 128 to 512 bytes during tests. It also improves handling when a log message is too long by adding a clear '(message truncated)' note. There is nothing here that affects real device security or user funds.

Lower-prioritychore(rust/trezor-thp): use trezor-noise-protocol from crates.io instead of gitby Martin Milata · f2efc7ff · Jul 6, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · Martin Milata

chore(rust/trezor-thp): use trezor-noise-protocol from crates.io instead of git

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 dependency housekeeping change. The project switched from loading a small cryptography helper library directly from a Git repository to using the published version on crates.io, and bumped the version from 0.2.0 to 0.2.1. There is no code behavior change visible in this commit and no security issue is indicated.

Lower-prioritychore(core): cargo-vet audits for trezor-thp dependenciesby Martin Milata · 993cf8db · Jul 6, 2026 · 2 filesMessage 62 · AdequateInformational 13Details
Commit message · Martin Milata

chore(core): cargo-vet audits for trezor-thp dependencies

[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 only updates supply-chain audit records for two Rust dependencies used by Trezor hardware wallets. It adds signed-off statements that the code is safe to deploy, but does not change any actual firmware, cryptographic, or application code. There is no indication of a security bug or fix.

Lower-prioritychore(core): decouple logging functionality from PYOPT=0by Roman Zeyde · 853fa7a8 · Jul 6, 2026 · 5 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core): decouple logging functionality from PYOPT=0

It should be possible to use logging on optimized builds as well.

[no changelog]

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

This is a small internal build-system cleanup. It moves the optional debug logging module so it can be compiled into optimized (non-debug) firmware builds when the debug console feature is enabled. There is no user-facing behavior change, no vulnerability fix, and no security-relevant change.

Lower-priorityrefactor(core): avoid debug build warnings without `--dbg-console`by Roman Zeyde · d0dbc0ac · Jul 6, 2026 · 5 filesMessage 62 · AdequateInformational 12Details
Commit message · Roman Zeyde

refactor(core): avoid debug build warnings without `--dbg-console`

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

This commit is a build-system cleanup. It makes sure that debug-only logging code is compiled only when both the 'debug' feature and the 'dbg_console' feature are enabled. Previously, enabling a debug build without the debug console produced compiler warnings because logging functions were defined but never used. There is no user-facing behavior change and no security fix.

Security candidatefix(crypto): fix typo in license headersby M1nd3r · 814dcf35 · Jul 6, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

fix(crypto): fix typo in license headers

`HMAC_SHALL` -> `SHALL`

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit fixes a spelling mistake in the legal license text at the top of six source files. The typo 'HMAC_SHALL' is corrected to 'SHALL'. It does not change any program logic, security behavior, or compiled code.

Security candidatefeat(vendor): collect GC metricsby Roman Zeyde · ed3d87d8 · Jul 4, 2026 · 5 filesMessage 72 · AdequateInformational 15Details
Commit message · Roman Zeyde

feat(vendor): collect GC metrics

[no changelog]

Co-authored-by: m1nd3r <63123927+m1nd3r@users.noreply.github.com>

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
boot or update path
AI analysis · Informational 15/100

This commit adds diagnostic counters that report how the device's memory garbage collector is behaving. It does not change how user funds, keys, or transactions are handled. It is a debugging/metrics feature only, gated so it is active only on non-optimized (debug) builds.

Security candidatefix(crypto): minor fixes in `noise_kk1`by M1nd3r · 1b60dbbf · Jul 3, 2026 · 1 fileMessage 80 · StrongLow 31Details
Commit message · M1nd3r

fix(crypto): minor fixes in `noise_kk1`

- Mark `split` as static in `noise_kk1`.
- Add missing memzero to `noise_kk1`.
- Return false on encryption failure in `noise_kk1`.
- Prevent using memcpy with NULL in noise.
- Using `memcpy` to copy data from NULL buffer results in potentially undefined behavior. This raises a runtime error when using UB sanitizer.

[no changelog]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
defensive validationcryptography-sensitive path
AI analysis · Low 31/100

This commit fixes several minor issues in a cryptographic module used for secure device communication. The changes include preventing undefined behavior when copying from NULL pointers, zeroing out sensitive key material after use, and properly returning errors when encryption fails. These are defensive hardening fixes rather than a clear, exploitable vulnerability.

Security candidaterefactor(crypto): rename noise implementationby M1nd3r · e70ee580 · Jul 3, 2026 · 11 filesMessage 72 · AdequateInformational 15Details
Commit message · M1nd3r

refactor(crypto): rename noise implementation

- `noise` -> `noise_kk1`

[no changelog]

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit is a simple rename of the cryptographic module from 'noise' to 'noise_kk1' across file names, function names, constants, and build scripts. No security behavior changes are visible in the diff. It is a code-maintenance refactor, not a security fix.

Security candidatefeat(crypto): implement `noise_xxpsk3`by M1nd3r · ad545339 · Jul 3, 2026 · 3 filesMessage 62 · AdequateInformational 7Details
Commit message · M1nd3r

feat(crypto): implement `noise_xxpsk3`

[no changelog]

Co-authored-by: kopecdav <32126858+kopecdav@users.noreply.github.com>

62/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
cryptography-sensitive path
AI analysis · Informational 7/100

This commit adds a brand-new cryptographic module implementing the Noise_XXpsk3_25519_AESGCM_SHA256 protocol for secure encrypted communication. It is a feature addition with no changelog entry and no accompanying security advisory. The code itself is a clean implementation of a well-known cryptographic handshake, but because it is new code handling private keys, pre-shared keys, and AES-GCM encryption, it is security-relevant by nature. There is no direct evidence in the commit or supplied references that this fixes a known vulnerability or introduces a bug.

Security candidatetest(crypto): add tests for `noise_xxpsk3`by M1nd3r · 77196398 · Jul 3, 2026 · 1 fileMessage 67 · AdequateInformational 15Details
Commit message · M1nd3r

test(crypto): add tests for `noise_xxpsk3`

[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
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100

This commit only adds new automated tests for an existing cryptographic handshake protocol called noise_xxpsk3. It does not change the actual security code, fix a bug, or introduce a vulnerability. The tests verify that the protocol works correctly, that tampered messages are rejected, and that keys are wiped after use.

Security candidatefix(core): fix build on strange configurationsby matejcik · ecc709d6 · Jul 3, 2026 · 2 filesMessage 80 · StrongInformational 17Details
Commit message · matejcik

fix(core): fix build on strange configurations

where some other completely unrelated package provides a "version.h"
file that happens to come first on the include path.

"version.h" is too generic a name to generally rely on C's imperfect
header resolution; a redirect via a symlink seems to be the most correct
solution

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
boot or update path
AI analysis · Informational 17/100

This commit fixes a build problem in Trezor's firmware. The code used a very common filename, version.h, which could accidentally pull in the wrong file from another software package during compilation. The fix creates a symlink with a more specific name, firmware_version.h, and uses that instead. There is no direct evidence this is a security vulnerability; it appears to be a build reliability fix.

Lower-prioritybuild(core): silence clang warning for moductypes.cby matejcik · fd7ce43c · Jul 3, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · matejcik

build(core): silence clang warning for moductypes.c

clang complains that the file stuffs string literal of length 17
(trailing 0) into an array of length 16. this is an error in -Werror

the problem is presumably fixed in a newer micropython so then we'll be
able to remove the exception

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

This commit only changes a build script to suppress a compiler warning. It does not fix a security bug, change runtime behavior, or alter any device firmware code. The warning was about a string being slightly too long for its container in a third-party MicroPython file, and the project chose to silence the warning rather than modify the upstream code. There is no security issue here.