TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

916security candidates311second-pass queue2030AI analyses
336commits · 30 days
588commits · 60 days
1363commits · 180 days
2648commits · 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.

66/100 average clarity
473Strong · 80–100
1321Adequate · 60–79
862Thin · 40–59
5Opaque · 0–39
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
tychovrahe292104205361
Roman Zeyde572177418271
PrisionMike945991273
Andrew Kozlik712451265
obrusvit21376151164
Jakub Janků22919182
Martin Pastyřík23820173
cepetr19682152059
Ioan Bizău23076177059
M1nd3r20671158071
Lukas Bielesch846771067
Martin Milata17446150063
Analysis record

Published AI watches

Last scanned 19 minutes ago

Informational 18 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): remove sha1 from regular FW

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
16d15774by M1nd3r+0−2006 files
No security note in commit
Low 27 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): pass static public key to `noise_xxpsk3_*_init()`

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
1b3128a4by Ondřej Vejpustek+20−92 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): change order of parameters

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.

33a119eeby Ondřej Vejpustek+15−151 file
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): prefix enums

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 …

f1c74046by Ondřej Vejpustek+26−222 files
No security note in commit
Low 37 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(crypto): prevent calling `memzero(NULL, ...)`

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
0394e934by Ondřej Vejpustek+11−51 file
No security note in commit
Informational 18 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(crypto): return remote static key from `noise_xxpsk3_*_handle_*()`

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
3ead1aa6by Ondřej Vejpustek+79−423 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): rename ProjectProfile to ProjectConfig

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…

581b37bcby cepetr+18−182 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): introduce ResolvedBuildArgs

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…

c24d1be8by cepetr+99−295 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): make build args tristate

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…

271e249aby cepetr+57−561 file
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): introduce build options

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…

75085e2aby cepetr+275−2007 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): introduce build presets

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…

eefe8f7fby cepetr+397−419 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): upgrade manifest.yaml for tf-tools 0.3.0

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…

57b28b89by cepetr+86−1351 file
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): add tf-tools 0.3.1+ configuration file

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

e554f618by cepetr+8−01 file
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): rename ResolvedBuild to ResolvedBuildFeatures

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…

aaa2780bby cepetr+5−52 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): fix up clippy warnings in storage.rs

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…

62354461by cepetr+2−21 file
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(xtask): simplify dependencies

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…

6268349fby cepetr+9−193 files
No security note in commit
Informational 15 AI analysisMessage 47 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

docs: add xtask documentation

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 …

4879dababy cepetr+296−03 files
No security note in commit
Informational 17 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(xtask): introduce project-toml build-options

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
d44de007by cepetr+681−40817 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

ci(core): fix nightly ARM emulator filename

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…

ab95f08fby Martin Milata+3−01 file
No security note in commit
Informational 12 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(vendor): avoid micropython submodule noise in git status

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.

06cab32bby Martin Milata+1−11 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.

Lower-prioritychore(deps): bump urllib3 from 2.6.3 to 2.7.0by M1nd3r · 1e27d5df · May 15, 2026 · 2 filesMessage 57 · ThinInformational 15Details
Commit message · M1nd3r

chore(deps): bump urllib3 from 2.6.3 to 2.7.0

[no changelog]

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

This is a routine dependency update that bumps the Python urllib3 library from version 2.6.3 to 2.7.0. It only changes package metadata files (pyproject.toml and uv.lock) and contains no code changes. There is no indication in the commit of any security issue being fixed.

Lower-prioritychore(docs): add mdbook mermaid build processor for diagrams supportby vdovhanych · a07c065d · May 15, 2026 · 3 filesMessage 62 · AdequateInformational 15Details
Commit message · vdovhanych

chore(docs): add mdbook mermaid build processor for diagrams support

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
documentation-only discount
AI analysis · Informational 15/100

This commit adds a third-party diagram-drawing library (Mermaid) to the project's documentation build. It only touches documentation configuration and static JavaScript files used to render diagrams in the generated docs. There is no change to the Trezor firmware, wallet code, or any security-sensitive component.

Lower-prioritychore(deps): decrease number of dependenciesby M1nd3r · 2df3304c · May 15, 2026 · 1 fileMessage 80 · StrongInformational 15Details
Commit message · M1nd3r

chore(deps): decrease number of dependencies

- Updating the following packages drops related dependencies.

- Updated slip10 v1.0.1 -> v1.1.0
--> Removed base58 v2.1.1
- Updated ruamel-yaml v0.18.15 -> v0.19.1
--> Removed ruamel-yaml-clib v0.2.12
- Updated flake8-annotations v3.1.1 -> v3.2.0 and hypothesis v6.138.14 -> v6.151.14
--> Removed attrs v25.3.0
[no changelog]

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

This commit is a routine housekeeping update to the project's Python dependency lock file. It upgrades four development or utility packages to newer versions that no longer need certain sub-dependencies, so those sub-packages are removed. There is no indication of a security fix or vulnerability being addressed.

Lower-priorityfeat(tron): Update TRC-20 token list. [no changelog]by PrisionMike · 6b255252 · May 15, 2026 · 1 fileMessage 77 · AdequateInformational 18Details
Commit message · PrisionMike

feat(tron): Update TRC-20 token list.
[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 18/100

This commit updates the list of recognized Tron TRC-20 tokens in Trezor firmware. It adds six new tokens (WBT, WTRX, SUNOLD, AINFT, sTRX, Klever), restructures how token addresses are stored, and adds internal checks that the stored byte addresses match the public TronScan addresses. There is no security vulnerability visible in the change itself.

Security candidatebuild: prevent uv from using packages newer than 30 daysby matejcik · b4b7f5cf · May 14, 2026 · 6 filesMessage 98 · StrongLow 30Details
Commit message · matejcik

build: prevent uv from using packages newer than 30 days

- Limits exposure of the repo to supply chain compromise -- as long as you use uv.
- Downgraded Mako (path traversal vulnerability is irrelevant for us).
- If a relevant security is available, we'll have to whitelist that package -- use `exclude-newer-package` (https://docs.astral.sh/uv/reference/settings/#exclude-newer-package).
- Switched buildsystem declaration from hatchling to flit everywhere.

[no changelog]

98/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
Why it was queued
explicit security languageupdate trust
AI analysis · Low 30/100

This commit is a hardening change to Trezor's build tooling. It tells the Python package manager 'uv' not to use any package uploaded to PyPI in the last 30 days, which reduces the risk of accidentally pulling in a freshly compromised dependency. It also downgrades the 'Mako' template library from 1.3.12 to 1.3.10 and switches the build system from 'hatchling' to 'flit' in several sub-projects. The commit message explicitly says the goal is to limit supply-chain compromise exposure.

Lower-prioritychore(ci): remove unnecessary use of fullDeps nix-shellby M1nd3r · 1faa1a94 · May 14, 2026 · 6 filesMessage 62 · AdequateInformational 15Details
Commit message · M1nd3r

chore(ci): remove unnecessary use of fullDeps nix-shell

[no changelog]

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

This commit is a routine cleanup of the project's automated build and test configuration. It removes unnecessary uses of a special 'full dependencies' mode in the Nix shell for some CI jobs, while explicitly adding it where it is actually needed. There is no change to the Trezor firmware code that runs on devices, and no security issue is present.

Lower-prioritychore(ci): run tropic model_server in uv environmentby M1nd3r · 709940ff · May 14, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · M1nd3r

chore(ci): run tropic model_server in uv environment

- It is not necessary to rely on poetry from ts-tvl, it can be run directly in the uv environment from trezor-firmware.

[no changelog]

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
documentation-only discount
AI analysis · Informational 15/100

This is a routine internal cleanup of the project's automated testing setup. It changes how a test-support program (the 'Tropic model server') is started during continuous integration (CI) runs, switching from a Poetry-based Python environment inside a vendored dependency directory to the project's own 'uv' Python environment. There is no change to the firmware, wallet logic, cryptography, or any code shipped to users.

Lower-priorityfix(core): monero key image sync error messageby Martin Milata · 7656f478 · May 14, 2026 · 1 fileMessage 57 · ThinInformational 20Details
Commit message · Martin Milata

fix(core): monero key image sync error message

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

This commit fixes a misleading error message in the Monero key image sync feature on Trezor hardware wallets. Previously, when the cryptographic hash check failed, the device incorrectly reported 'Invalid number of outputs' instead of 'Invalid hash'. This is a user-facing string correction with no direct security vulnerability in the underlying check itself.

Lower-prioritychore(ethereum): updating merkl reward intro stringby PrisionMike · ae653a84 · May 14, 2026 · 3 filesMessage 62 · AdequateInformational 15Details
Commit message · PrisionMike

chore(ethereum): updating merkl reward intro string

[no changelog]

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

This commit only changes a user-facing label on Trezor hardware wallets. The old text 'Review details to claim rewards.' is replaced with 'Claim rewards from Merkl.xyz' in translation files and generated Rust code. There is no code behavior change, no bug fix, and no security relevance.

AI review queuedfeat(ethereum): Add Merkl claim support.by PrisionMike · 515b0401 · May 14, 2026 · 4 filesMessage 57 · ThinLow 39Details
Commit message · PrisionMike

feat(ethereum): Add Merkl claim support.

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

This commit adds support for displaying human-readable confirmation screens when users claim rewards through the Merkl/claim.xyz rewards distributor on Ethereum. It replaces a placeholder that previously forced blind signing for these transactions. The change lets the Trezor show the token and amount being claimed instead of just raw transaction data, but only for a specific known distributor address and only when the claim is for the signer themselves.

Security candidatefeat(ethereum): clear signing support for nested array and byte32by PrisionMike · ba620e9a · May 14, 2026 · 7 filesMessage 62 · AdequateLow 28Details
Commit message · PrisionMike

feat(ethereum): clear signing support for nested array and byte32

[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 boundarysigning or wallet path
AI analysis · Low 28/100

This commit adds support in Trezor's Ethereum 'clear signing' feature for two new data shapes: nested arrays (arrays inside arrays) and fixed 32-byte values (bytes32). It also renames an internal helper function from `_request_definitions` to `request_definitions`. The changes are framed as a normal feature addition with no changelog entry. There is no direct evidence in the commit that this fixes a security vulnerability, but any change to transaction parsing logic can affect how the device interprets maliciously crafted data.

Lower-prioritychore(ci): add `uv.lock` prebuild checkby M1nd3r · b8133e52 · May 14, 2026 · 2 filesMessage 72 · AdequateInformational 15Details
Commit message · M1nd3r

chore(ci): add `uv.lock` prebuild check

Check whether the `uv.lock` file is up-to-date.

[no changelog]

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

This commit adds a new automated CI check that verifies the project's Python dependency lock file (uv.lock) is up-to-date. It does not change any firmware code, fix a bug, or alter security-critical behavior. It is purely a build/development hygiene improvement.

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

Security candidatetest(core): adjust aes-gcm python unit testsby M1nd3r · 8c09ebca · May 14, 2026 · 1 fileMessage 67 · AdequateInformational 12Details
Commit message · M1nd3r

test(core): adjust aes-gcm python 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
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.

Security candidatechore(core): add consteq check directly into aesgcm.finish when decryptingby M1nd3r · 4e0245cc · May 14, 2026 · 3 filesMessage 62 · AdequateLow 47Details
Commit message · M1nd3r

chore(core): add consteq check directly into aesgcm.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 path
AI analysis · Low 47/100

This commit hardens how Trezor devices verify AES-GCM authentication tags during decryption. Previously, callers computed the tag and then compared it separately using a constant-time helper. Now the comparison is performed inside the cryptographic finish routine itself, using a constant-time equality check. This reduces the risk that a future caller forgets to verify the tag or uses a non-constant-time comparison, which could allow an attacker to tamper with encrypted messages or recover secrets through timing analysis.

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.

Security candidatechore(core, crypto): introduce `AuthenticationError`by M1nd3r · e846259f · May 14, 2026 · 11 filesMessage 77 · AdequateInformational 20Details
Commit message · M1nd3r

chore(core, crypto): introduce `AuthenticationError`

- Used in aes-gcm-decrypt finish and chacha20poly1305-decrypt finish functions.

[no changelog]

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
access controlcryptography-sensitive pathauthentication path
AI analysis · Informational 20/100

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 candidaterefactor(core, crypto): extract `consteq` for general useby M1nd3r · 1b051d71 · May 14, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · M1nd3r

refactor(core, crypto): extract `consteq` for general use

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

This commit adds a new utility function called `consteq` that compares two chunks of memory in a way that takes the same amount of time regardless of how similar the chunks are. It is intended to help prevent timing-based attacks in the future, but the commit itself only extracts and compiles the helper; it does not change any existing security-sensitive comparison or fix a known vulnerability.

Security candidatetest(core): adjust chacha20poly1305 python unit testsby M1nd3r · 1ca82cb7 · May 14, 2026 · 1 fileMessage 72 · AdequateInformational 15Details
Commit message · M1nd3r

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.

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.