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.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This commit removes the SHA-1 hashing function from the regular Trezor firmware. SHA-1 is an old, weak hash algorithm that is no longer considered secure for sensitive uses. The change deletes the code that exposes SHA-1 to apps running on…
Removal of a deprecated cryptographic primitive (SHA-1) from the firmware API surfaceReduction of attack surface and prevention of future misuse of a collision-vulnerable hashNo direct vulnerability patch or memory-safety bug is present in the diff
This commit changes how a cryptographic library sets up secure connections. Previously, the code automatically calculated the public key from the private key. Now, the caller must provide the public key directly. This is a code-quality ref…
Cryptographic key handling changed: public key is now supplied rather than derivedPotential reduction of key-mismatch risk if caller provides correct public keyNew null-pointer check added for static_public_key
This commit simply reorders the arguments of an internal function called dh() and updates every place that calls it. The actual math and security behavior are unchanged; it is a code cleanup with no security effect.
This commit simply renames two groups of internal status labels (called enums) in the Trezor firmware's cryptographic code. The old names like WAITING_FOR_REQUEST1 were shared between two different parts of the code, so the developer gave …
This commit fixes three places in the Trezor firmware's cryptographic code where a memory-clearing function could be called with a NULL pointer. In practice, passing NULL to memzero is harmless on Trezor's platform (it does nothing), but i…
NULL pointer passed to memory-zeroing helper in cryptographic codeUndefined behavior in C standard library contractDefensive hardening in Noise protocol implementation
This commit is a code cleanup (refactor) for the cryptographic handshake code used in Trezor devices. It changes how the other party's long-term public key is returned to the caller: instead of storing it inside an internal state structure…
Removal of long-term public key storage from internal handshake stateCaller-supplied output buffer for remote static public key reduces internal secret retentionError-path memzero of returned key material on failure
This commit is a simple rename from 'ProjectProfile' to 'ProjectConfig' in two Rust source files. It only changes variable names, struct names, and error messages. There is no change to program logic, security behavior, or how data is hand…
This commit is a straightforward internal code refactor in Trezor's build tooling. It introduces a new ResolvedBuildArgs structure that centralizes default values for command-line build options before they are used. There is no change to u…
This commit is a straightforward internal refactor of the Trezor firmware build tool's command-line argument handling. It changes many on/off flags from plain booleans to optional booleans so they can explicitly be set to true, false, or l…
This commit is a straightforward internal code reorganization in Trezor's build tooling. It moves build-option definitions from one Rust source file to a new module and adds the ability to load those options from a configuration file. Ther…
This commit is a developer tooling change for the Trezor firmware build system. It introduces 'build presets'—named configuration bundles stored in TOML files—so developers can select common build settings with a single command-line flag i…
This commit is a routine update to a build-system manifest file used by Trezor's internal tooling. It reorganizes and re-labels feature flags (for example, moving options between 'Features', 'Debugging', and 'Signing' groups and simplifyin…
This commit adds a single configuration file for a Trezor developer tool (a VS Code extension). It only points the tool to existing folders in the repository and contains no executable code, no secrets, and no changes to firmware behavior.…
This commit is a simple internal code cleanup: it renames a Rust data structure called ResolvedBuild to ResolvedBuildFeatures and updates the places that use it. There are no functional changes, no security fixes, and no changes to how the…
This is a tiny code cleanup commit that replaces two calls to `ptr::null()` with Rust's `unwrap_or_default()` to silence automated Clippy lint warnings. It does not change what value is produced (still a null pointer when no salt is provid…
This commit is a straightforward internal code cleanup in Trezor's build tooling. It moves a data structure and two helper methods from one Rust source file to another and updates callers accordingly. There is no change to user-facing beha…
This commit only adds documentation. It updates the table of contents and adds a new markdown page plus a diagram explaining the project's 'xtask' build helper. No code, build scripts, or firmware logic was changed, so it cannot introduce …
This commit is a build-system refactoring for Trezor firmware. It moves the mapping of command-line build options to Rust/cargo features out of hard-coded Rust logic and into per-project TOML files. It also adds a small change so debug bui…
Build-option mapping now lives in project.toml files, increasing the attack surface for supply-chain/build-configuration tamperingMakefile change automatically enables debug-link for PYOPT=0 debug buildsValidation added to reject storage_insecure_testing_mode in production builds
This commit fixes a filename-renaming step in the project's automated nightly build pipeline. It ensures ARM64 emulator files get the correct name expected by another testing tool. There is no change to the actual Trezor firmware code, dev…
This is a routine housekeeping change to reduce clutter in Git's status output for a third-party component (the MicroPython submodule). There is no indication it changes any code that runs on the Trezor device or affects security.
Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.
Security candidatechore(core): add consteq check directly into chachapoly.finish when decryptingby M1nd3r · f4fa0d1d · May 14, 2026 · 3 filesMessage 62 · AdequateModerate 59Details
Commit message · M1nd3r
chore(core): add consteq check directly into chachapoly.finish when decrypting
[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 pathauthentication path
AI analysis · Moderate 59/100
This commit hardens how a Trezor hardware wallet checks the authentication tag when decrypting data protected by the ChaCha20-Poly1305 cipher. Previously, the Python caller compared the expected tag with the computed tag using a helper called utils.consteq. Now the comparison is done inside the low-level C module using a constant-time equality function, and decryption callers must pass the expected tag directly to finish(). This reduces the risk of a developer forgetting to verify the tag or using a non-constant-time comparison, which could let an attacker tamper with encrypted secrets.
Security candidatechore(core): divide aesgcm into `aesgcm_encrypt` and `aesgcm_decrypt`by M1nd3r · a039d47d · May 14, 2026 · 9 filesMessage 62 · AdequateInformational 12Details
Commit message · M1nd3r
chore(core): divide aesgcm into `aesgcm_encrypt` and `aesgcm_decrypt`
[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 · Informational 12/100
This commit is a routine code cleanup that splits one combined AES-GCM encryption/decryption class into two separate classes: one for encryption and one for decryption. It does not fix a security bug or introduce a new vulnerability. The change makes the API clearer and prevents accidental misuse, such as trying to decrypt with an encryption-only object.
This commit is a code cleanup, not a security fix. It creates a new, more specific error type called AuthenticationError and changes AES-GCM and ChaCha20-Poly1305 decryption to throw that error instead of a generic RuntimeError when authentication fails. It also updates the Python code that catches those errors to catch the new type. The cryptographic behavior itself is unchanged.
Security candidatechore(core): divide `chacha20poly1305` into `_encrypt` and `_decrypt` classesby M1nd3r · 1943c481 · May 14, 2026 · 10 filesMessage 62 · AdequateInformational 15Details
Commit message · M1nd3r
chore(core): divide `chacha20poly1305` into `_encrypt` and `_decrypt` classes
[no changelog]
62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
cryptography-sensitive pathsigning or wallet pathauthentication path
AI analysis · Informational 15/100
This commit is a routine code cleanup (chore) that splits one combined ChaCha20-Poly1305 encryption/decryption class into two separate classes: one for encryption and one for decryption. It does not fix a security bug, add a new feature, or change cryptographic behavior. All existing callers are updated to use the appropriate new class. The change is purely structural and makes the API clearer.
✓ 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 12/100
This commit only changes Python unit tests for the AES-GCM cryptography code in the Trezor firmware. It updates existing tests to pass an expected authentication tag to the finish() method and adds new tests that check the code correctly rejects missing, wrong-length, or invalid tags. There is no change to the actual cryptographic implementation or firmware behavior, so this commit does not introduce or fix a live security vulnerability by itself.
test(core): adjust chacha20poly1305 python unit tests
[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
cryptography-sensitive path
AI analysis · Informational 15/100
This commit only changes Python unit tests for the ChaCha20-Poly1305 encryption code in the Trezor firmware test suite. It does not modify the actual cryptographic implementation, device firmware, or any production code. The changes add test cases to verify that decryption correctly requires and validates the authentication tag (MAC). There is no security vulnerability in this commit itself.
Lower-priorityfix(core): adjust monero decryption and unit testsby M1nd3r · b298da48 · May 14, 2026 · 2 filesMessage 72 · AdequateLow 31Details
Commit message · M1nd3r
fix(core): adjust monero decryption and unit tests
[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 · Low 31/100
This commit updates the Monero ChaCha20-Poly1305 decryption helper in Trezor firmware to use the cryptographic library's built-in tag verification instead of a custom comparison. The old code computed the authentication tag and compared it to the expected tag using a helper called monero.ct_equals. The new code passes the expected tag directly into cipher.finish(), letting the library verify it. This is a defensive hardening change that reduces the risk of subtle timing or comparison bugs in authentication-tag checking, which could theoretically allow forged or tampered data to be accepted.
Security candidatefix(core): don't access TR in global contextby Roman Zeyde · 46a0a87f · May 13, 2026 · 1 fileMessage 84 · StrongInformational 18Details
Commit message · Roman Zeyde
fix(core): don't access TR in global context
Otherwise, "Enter PIN" is shown in English on bootscreen.
[no changelog]
84/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Why it was queued
authentication path
AI analysis · Informational 18/100
This is a tiny user-interface bug fix. It moves a translation lookup so that the 'Enter PIN' message is shown in the correct language on the boot screen instead of always appearing in English. There is no security vulnerability here.
Lower-prioritychore(core): use default confirmation verb on Eckhartby Roman Zeyde · 156411bc · May 13, 2026 · 2 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde
chore(core): use default confirmation verb on Eckhart
Also, don't use `TR` in global context.
[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 minor user-interface cleanup for the Trezor hardware wallet's Eckhart layout. It changes one default button label parameter from a hardcoded translated string to the system's default confirmation verb, and updates the corresponding screen-shot test hashes. There is no security-relevant change visible in the code.
AI review queuedRevert "chore(ethereum): drop LiFi definitions"by Ioan Bizău · db48052c · May 12, 2026 · 2 filesMessage 60 · AdequateInformational 12Details
Commit message · Ioan Bizău
Revert "chore(ethereum): drop LiFi definitions"
This reverts commit f1574512e09a40e416abc3fb67d9398f469c3d31.
60/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 12/100
This commit is a simple revert that brings back previously removed display definitions for the LiFi decentralized exchange aggregator on Trezor hardware wallets. It restores human-readable transaction labels (such as 'Amount to Send' and 'Recipient') when users sign LiFi swap transactions. There is no indication of a security bug, vulnerability, or malicious change in the code itself.
AI review queuedchore(ethereum): drop unused constantsby Ioan Bizău · 699b85dc · May 12, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · Ioan Bizău
chore(ethereum): drop unused constants
[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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit simply removes two unused Ethereum address and chain-list constants from a Python file. There is no functional code change, no bug fix, and no security relevance.
Lower-priorityfix(emulator): add fallback to `x11` when `wayland` failsby M1nd3r · 5ac37739 · May 11, 2026 · 1 fileMessage 77 · AdequateInformational 15Details
Commit message · M1nd3r
fix(emulator): add fallback to `x11` when `wayland` fails
- Wayland may fail on ubuntu 26.
[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 change is a compatibility fix for the Trezor emulator's display on Linux. It makes the emulator try the older X11 graphics protocol if the newer Wayland protocol fails to create a display window. There is no security issue here; it simply improves reliability when running the emulator on certain Linux distributions.
- Version bumped here: https://github.com/trezor/trezor-firmware/commit/4eab2a988cb658d4c663303713fd3fa9251beb72
[no changelog]
71/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
AI analysis · Informational 15/100
This commit only refreshes a lock file to reflect a version number bump (trezor 0.20.1 → 0.20.2) that was already done in a separate commit. There are no code changes, no dependency updates, and no security-related content in the diff or message.
AI review queuedchore(ethereum): drop LiFi definitionsby Ioan Bizău · f1574512 · May 11, 2026 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · Ioan Bizău
chore(ethereum): drop LiFi definitions
[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
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit removes the special on-screen 'clear signing' definitions for LiFi swap transactions on Trezor hardware wallets. From now on, LiFi transactions will be shown as generic contract interactions rather than nicely labeled swaps. There is no indication this fixes a security vulnerability; it appears to be a product decision to stop supporting LiFi's specific transaction formatting.
Lower-prioritychore(python): bump version after releaseby matejcik · 4eab2a98 · May 11, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · matejcik
chore(python): bump version after release
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 simply increases the version number of the Trezor Python library from 0.20.1 to 0.20.2 after a release. It changes one line in a project metadata file and contains no functional or security-related code changes.
Lower-prioritydocs(python): generate changelog for 0.20.1by matejcik · 01e3c5cd · May 11, 2026 · 11 filesMessage 57 · ThinInformational 15Details
Commit message · matejcik
docs(python): generate changelog for 0.20.1
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 routine documentation update that generates the changelog for the Python trezorlib package version 0.20.1. It only deletes small changelog fragment files and inserts their text into the main CHANGELOG.md. No program code was changed, so it cannot introduce or fix a security vulnerability by itself.
* move Construct helpers to a separate module * move `ui` into `cli` now that nothing in the core library depends on it
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 is a routine code reorganization in the Python trezorlib library. It moves two helper classes into a new module and moves a user-interface file into the command-line interface package. No security-sensitive behavior is changed, no bugs are fixed, and no vulnerabilities are introduced.
Lower-prioritychore(python): build with flit instead of hatchby matejcik · 345acdf2 · May 11, 2026 · 1 fileMessage 57 · ThinInformational 15Details
Commit message · matejcik
chore(python): build with flit instead of hatch
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 changes the Python packaging tool used to build the trezorlib package from Hatch to Flit. It only touches the project's build configuration file (pyproject.toml) and adjusts which files are included or excluded when the package is published. There is no change to the actual Trezor firmware, device code, or any security-sensitive logic.
implement getattr-based helpers to keep code that relies on `trezorlib.ui` and `trezorlib.tools.EnumAdapter` / `TupleAdapter` working.
70/100 · AdequateMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
AI analysis · Informational 15/100
This commit adds backward-compatibility shims so that older code referencing certain moved Python modules still works, but now shows a deprecation warning. There is no security issue here; it is a routine code-maintenance change.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
update trustauthentication path
AI analysis · Informational 19/100
This commit removes a feature that would have sent a 'MCU attestation'—a cryptographic proof signed by the device's microcontroller—during device authentication. The change itself is a simple deletion of the attestation code and its changelog entry. There is no direct evidence in the commit of a security vulnerability; it appears to be a product decision to stop sending this proof, possibly because the feature was not ready or was being reconsidered. It reduces the amount of identity information the device exposes during authentication.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Moderate 57/100
This commit adds a missing initialization call for the hardware security feature called TrustZone in the Trezor device's kernel. TrustZone helps separate sensitive code (like cryptographic secrets) from less trusted code. Without this initialization, the security boundary may not be set up correctly when the device boots in secure mode, potentially leaving the device in a less protected state. The fix is small but important: it ensures the security boundary is properly established before other system services start.
AI review queuedchore(deps): bump mako from 1.3.11 to 1.3.12by dependabot[bot] · 17f5a657 · May 10, 2026 · 2 filesMessage 88 · StrongInformational 15Details
Commit message · dependabot[bot]
chore(deps): bump mako from 1.3.11 to 1.3.12
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.3.11 to 1.3.12. - [Release notes](https://github.com/sqlalchemy/mako/releases) - [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES) - [Commits](https://github.com/sqlalchemy/mako/commits)
✓ 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
This is a routine automated dependency update by Dependabot, bumping the Python Mako templating library from version 1.3.11 to 1.3.12. The change only updates version numbers and package hashes in the project's dependency files. There is no indication in the commit itself that this fixes a security issue, and no security advisory or incident details were provided.
AI review queuedfix(trezor-client): handle button request during eth sign data streamingby Tomas Martykan · 0406f239 · May 8, 2026 · 4 filesMessage 62 · AdequateLow 45Details
Commit message · Tomas Martykan
fix(trezor-client): handle button request during eth sign data streaming
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 pathsecond-pass: security-sensitive path
AI analysis · Low 45/100
This commit fixes a bug in the Rust Trezor client library used to talk to Trezor hardware wallets. When signing a large Ethereum transaction, the device may ask the user to confirm by sending a 'button request' in the middle of streaming the transaction data. Previously, the client did not handle that mid-stream request, so the signing process could hang or fail. The fix wraps each streamed chunk's response with the existing interaction handler so button requests are processed correctly. A new example and a regression test for a 10 KB transaction are added.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 31/100
This commit fixes how the Trezor firmware build generates a Rust binding for an internal identifier type called Qstr. Previously, the build always assumed the underlying C enum was a 32-bit integer, but the firmware actually compiles with smaller 16-bit enums. The mismatch could cause the generated Rust code to use the wrong size, leading to memory corruption or crashes when Rust and C exchange Qstr values. The patch makes the build choose the correct enum size for firmware versus host builds.
refactor(core): change algorithm for scm_revision obfuscation
[no changelog]
62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
boot or update path
AI analysis · Low 37/100
This commit changes how the Trezor firmware exposes its internal Git commit hash (the 'revision ID'). Previously the full hash was directly readable by software. Now only a shortened version is stored plainly, while the full hash is lightly scrambled (XORed) and only returned through a function that requires a specific key byte. The goal is to make it harder for a malicious fake Trezor to copy the revision ID from an official firmware update and pretend it is running that official firmware. It is a defensive hardening change, not a fix for an active bug or vulnerability in the traditional sense.