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 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…
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 …
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…
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…
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…
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.
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
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…
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…
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
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.
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
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
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…
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.
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…
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…
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…
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…
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…
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI review queuedtest(stellar): remove signer using StellarSetOptionsOpby Jakub Janků · 5b1837ad · Aug 14, 2026 · 1 fileMessage 87 · StrongInformational 15Details
Commit message · Jakub Janků
test(stellar): remove signer using StellarSetOptionsOp
[no changelog]
(cherry picked from commit fd5e83f9c32e3ec3e41341e1091a7fbedb2cc767)
87/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Mentions testing or verification
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit only adds a new test case for the Stellar cryptocurrency feature. It records an expected transaction signature for a 'remove signer' operation so the device can be tested against a known-good value. There is no code change, no bug fix, and no security-relevant behavior change.
AI review queuedfix(stellar): confirm signer weight set by StellarSetOptionsOpby Jakub Janků · 4aa20901 · Aug 14, 2026 · 2 filesMessage 93 · StrongModerate 55Details
Commit message · Jakub Janků
fix(stellar): confirm signer weight set by StellarSetOptionsOp
Fixes: https://github.com/satoshilabs/trezor-firmware/issues/312 (cherry picked from commit d1beab9790243949a972d6ddca1b297a6efa9ff7)
93/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Moderate 55/100
This update fixes how the Trezor hardware wallet displays a Stellar 'Set options' operation when a signer is being added or changed. Previously, the device did not show the signer's 'weight' value on its screen. Because weight controls how powerful a signer is (for example, how many signatures are needed to approve a transaction), a user could unknowingly approve a high-weight signer that gives an attacker more control over the account. The fix now shows the weight during confirmation, so users can spot suspicious changes before signing.
Lower-priorityrefactor(translations): rename cardano__weight to words__weightby Jakub Janků · 693b6955 · Aug 14, 2026 · 11 filesMessage 62 · AdequateTriage 0Details
Commit message · Jakub Janků
refactor(translations): rename cardano__weight to words__weight
[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
✓ 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 adds new Rust code that lets other parts of the Trezor firmware call existing C-language ECDSA cryptographic functions (signature verification and public-key recovery). It is a feature addition that exposes already-trusted crypto code through a thin Rust wrapper. There is no indication in the commit that it fixes a bug or vulnerability.
✓ 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 adds new Rust code that lets other parts of the Trezor firmware calculate SHA-3 and Keccak hashes. It is a feature addition (new bindings for an existing C library) and does not change any existing security behavior. There is no indication it fixes a bug or vulnerability.
Security candidaterefactor(crypto): publish keccak_Init with configurable bit sizeby matejcik · ab321f00 · Aug 14, 2026 · 2 filesMessage 89 · StrongInformational 15Details
Commit message · matejcik
refactor(crypto): publish keccak_Init with configurable bit size
so that Rust does not have to route through four functions that route back to a single one
89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Why it was queued
cryptography-sensitive path
AI analysis · Informational 15/100
This commit is a straightforward code cleanup: it exposes a single internal SHA3/Keccak initialization function so other code (specifically Rust) can call it directly with a chosen hash size, instead of going through four separate wrapper functions. There is no bug fix, behavior change, or security patch in the diff.
Lower-priorityrefactor(core/rust): error handling in THP moduleby matejcik · 8faab344 · Aug 13, 2026 · 3 filesMessage 72 · AdequateTriage 0Details
Commit message · matejcik
refactor(core/rust): error handling in THP module
taking advantage of the new exception system
72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Lower-priorityrefactor(core/rust/micropython): Exception and ExceptionType refactorby matejcik · 859de895 · Aug 13, 2026 · 10 filesMessage 97 · StrongTriage 0Details
Commit message · matejcik
refactor(core/rust/micropython): Exception and ExceptionType refactor
Implement an EmptyType building block for custom Type layouts.
Implement an ExceptionType custom variant of Type, indicating a valid exception type per micropython rules.
ExceptionType::new is an ergonomic way to derive child exception types.
Create an Exception type that holds an unconstructed exception object -- so that we can soundly handle custom exceptions not covered by micropython's Error type, avoiding the problem with mpy_obj_new_exception secretly reusing the same buffer.
Move raise_exception to exception.rs, provide an Exception::raise() method.
Raise Errors via Error::into_exception() and then .raise().
Catch exceptions via Exception::from, persisting all of the information on the original exception. (TODO: introduce type matching to exception objects?)
Error::CaughtException becomes Error::Exception a wrapper over an Exception object, either caught or custom raised. (Future work: convert all Error variants to function calls, use Exception as the error type). This means that Error is no longer Copy + Clone, because Exception isn't.
Users creating custom exception hierarchies (like thp does) will: - create an ExceptionType deriving from the right builtin or custom ExceptionType - instantiate its exceptions as Exception objects - when converting to micropython::Error, shove the exceptions into Error::Exception
97/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Lower-prioritychore(core/rust): use explicit const blocks in micropython macrosby matejcik · 16172873 · Aug 13, 2026 · 1 fileMessage 89 · StrongTriage 0Details
Commit message · matejcik
chore(core/rust): use explicit const blocks in micropython macros
otherwise very new nightlies complain because something something hidden const promotion has been getting tighter
89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Lower-priorityfix(core/thp): use `==` to compare integer valuesby Roman Zeyde · 1b8c8cb5 · Aug 13, 2026 · 1 fileMessage 80 · StrongTriage 0Details
Commit message · Roman Zeyde
fix(core/thp): use `==` to compare integer values
`is` relies on integer interning which is not guaranteed.
[no changelog]
(cherry picked from commit f6c1fde6329a5fdfc84d56287425af118356bf13)
80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
fix(core): allow tropic_random_buffer() calls with size > 255
[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
Lower-priorityrefactor(core/zcash): don't call `Typecode` c-torby Roman Zeyde · 414989e1 · Aug 13, 2026 · 1 fileMessage 80 · StrongTriage 0Details
Commit message · Roman Zeyde
refactor(core/zcash): don't call `Typecode` c-tor
Since `RECEIVER_LENGTHS` keys are integers.
[no changelog]
(cherry picked from commit 99909e7a3ffbd0f0ed9608e5621240bd37965e0f)
80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Security candidatefix(core): use `IntEnum = int` in run-timeby Roman Zeyde · e0cdde38 · Aug 13, 2026 · 6 filesMessage 92 · StrongLow 34Details
Commit message · Roman Zeyde
fix(core): use `IntEnum = int` in run-time
Otherwise, `IntEnum(arg)` c-tor returns a new non-integer object in runtime.
[no changelog]
(cherry picked from commit ea07e6bd15004b36c923df186141566b0535d173)
92/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
cryptography-sensitive pathsigning or wallet path
AI analysis · Low 34/100
This commit fixes a type-stub mismatch in Trezor firmware. During normal runtime, the code was using a placeholder `IntEnum = object`, which made enum-like values behave as plain objects rather than integers. The fix changes the runtime alias to `IntEnum = int`, so integer-like behavior works as expected. The change is small and affects multiple files that define integer-backed enums. Without deeper context, it is unclear whether this caused an exploitable security bug, but it could have led to subtle logic errors in cryptographic/transaction code.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
entropy or randomnessseed or entropy path
AI analysis · Low 32/100
This commit adds runtime bookkeeping so the firmware can verify that every strong random-number generation actually used all available hardware random sources (the main chip, and optional Optiga/Tropic chips). It also fixes a small edge case in how Optiga random data is requested. The change is defensive: it makes the device deliberately fail if an expected entropy source was somehow skipped, reducing the risk that a bug or tampered code path silently weakens randomness used for secrets.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
update trustboot or update path
AI analysis · Informational 20/100
This commit is a code-quality cleanup in the Rust portions of Trezor's bootloader and production-test interfaces. It marks C-callable functions as 'unsafe' (a Rust keyword meaning the caller must guarantee pointer validity) and adds explanatory comments. It also replaces a few raw pointer operations with a safer wrapper type. There is no direct evidence this fixes an active security bug, but it improves documentation and reduces risky raw-pointer use in firmware UI code that handles untrusted C inputs.
Security candidatefix(core/fido): don't fail if `_KEEPALIVE_STATUS_PROCESSING` is blockedby Roman Zeyde · e7e15170 · Aug 13, 2026 · 2 filesMessage 100 · StrongLow 37Details
Commit message · Roman Zeyde
fix(core/fido): don't fail if `_KEEPALIVE_STATUS_PROCESSING` is blocked
Otherwise, an OSError is raised by mod_trezorio_USBIF_write if the outgoing buffer is full.
Related to #7487.
There is a similar issue in fido2.send_cmd() -> #7553.
100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
Why it was queued
authentication path
AI analysis · Low 37/100
This update fixes a bug in the Trezor hardware wallet's FIDO2/WebAuthn support. Previously, when the device was busy and tried to send a 'still processing' keepalive message to the computer, it would crash the whole FIDO operation if the USB send buffer happened to be full. Now it simply skips that single keepalive message and continues, making FIDO logins more reliable.
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
entropy or randomnessseed or entropy path
AI analysis · Moderate 59/100
This commit adds a new automated check that scans Trezor hardware wallet firmware binaries for leftover 'insecure PRNG' test markers. These markers indicate places where the real random-number generator was replaced with a predictable mock for testing. The check ensures these markers are present in emulator builds (used for testing) but absent from real production hardware builds, where they could weaken security. It is a defensive build-pipeline hardening change, not a fix for an active vulnerability in shipped code.
Security candidaterefactor(core): drop `USBIF.write_blocking()` and simplify FIDO2 keep-alive sendingby Roman Zeyde · f269eccd · Aug 13, 2026 · 3 filesMessage 85 · StrongInformational 18Details
Commit message · Roman Zeyde
refactor(core): drop `USBIF.write_blocking()` and simplify FIDO2 keep-alive sending
Since `fido2.send_cmd_sync()` has been used only for sending 1-byte keep-alive messages, we can drop the continuation handling part.
[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
authentication path
AI analysis · Informational 18/100
This commit is a small internal cleanup in the Trezor hardware wallet's FIDO2 (WebAuthn) code. It removes an unused 'blocking write' USB function and replaces a general synchronous send routine with a simpler one that only sends one-byte 'still processing' keep-alive messages. There is no obvious security bug being fixed; it appears to be a refactoring change.
Security candidatefix(storage): make flash area bounds checks overflow-safeby tychovrahe · aeda2a30 · Aug 13, 2026 · 1 fileMessage 90 · StrongLow 39Details
Commit message · tychovrahe
fix(storage): make flash area bounds checks overflow-safe
Both bounds checks added an offset to a size in `uint32_t` before comparing against the limit:
A sufficiently large second operand wraps the sum to a small value, so the comparison passes and the function reports the range as fitting. Rewrite both as subtractions, which cannot wrap. In `flash_area_get_address()` the subtraction cannot underflow either, since the enclosing condition has already established that the offset is below the sub-area size.
Neither check is reachable with such arguments today. The address lookup is gated by `offset < subarea_size` first, so wrapping needs an almost 4 GB size rather than a large offset, and no caller passes one - `secret_read()` is not exposed as a syscall and every one of its call sites uses a constant or a range-checked length. The padded write is backed by `get_sector_and_offset()`, which re-derives the sector for every block written and fails for an offset past the area. Both checks are nonetheless the documented bound that a future caller would reasonably trust.
[no changelog]
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
memory safety
AI analysis · Low 39/100
This commit fixes two overflow-prone safety checks in the Trezor firmware's flash storage code. The original checks added numbers together before comparing them to a limit; with specially crafted large values that addition could silently wrap around to a small number, making an out-of-bounds access look valid. The patch rewrites the checks using subtraction, which cannot wrap in the same way. The commit message says these particular checks are not reachable from current callers, so the immediate risk is low, but the change hardens the code against future misuse.
Security candidatechore(core): rename tf-tools to tbenchby cepetr · 045ddd49 · Aug 13, 2026 · 15 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr
chore(core): rename tf-tools to tbench
[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
boot or update path
AI analysis · Informational 15/100
This commit is a simple rename of an internal developer tool from 'tf-tools' to 'tbench'. It updates folder names, configuration file references, and VS Code extension settings. There is no change to the actual Trezor firmware code that runs on devices, and nothing in the commit affects security.
Security candidaterefactor(rust): rename FatPtr to CSlice, use more extensivelyby matejcik · c5970975 · Aug 12, 2026 · 16 filesMessage 77 · AdequateInformational 20Details
Commit message · matejcik
refactor(rust): rename FatPtr to CSlice, use more extensively
replacing `from_c_str` and `from_c_array` utility functions
adding detailed doc for CSlice
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
cryptography-sensitive pathboot or update path
AI analysis · Informational 20/100
This commit is a code cleanup: it renames an internal helper type from FatPtr to CSlice, adds lifetime tracking and documentation, and updates call sites to use the new helper. The changes are intended to make Rust/C boundary handling safer and clearer, not to introduce a vulnerability. There is no public security advisory or incident tied to this commit.
chore(core/embed): assert that bitblt probe lengths cannot overflow
CHECK_BB_DST and CHECK_BB_SRC multiply a stride by a height into a `size_t` to get the length they probe. That is safe today only because every dimension in `gfx_bitblt_t` is 16-bit: an unsigned product needs as many bits as its operands have together, so 16 + 16 fits a 32-bit `size_t` exactly, with a maximum product of 4294836225.
The relationship was implicit. Widening any of those fields would turn the product into a wrapped, much smaller value, and the macros would then probe a fraction of the memory the blit goes on to touch - the probe would start approving what it is meant to reject. State the requirement as a static assert so that change breaks the build instead.
No behavioural change.
[no changelog]
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Names security-relevant behavior explicitly
Why it was queued
memory safety
AI analysis · Low 31/100
This is a hardening change, not a fix for an active bug. It adds a compile-time safety check to ensure that future changes to graphics dimensions cannot cause a memory-bounds check to silently undercount how much memory a drawing operation will touch. As written today the code is safe; the patch prevents a future, potentially dangerous code change from being accepted without notice.
Lower-priorityfix(core): return -1 on incorrect `syshandle_write()` argumentby Roman Zeyde · ff029c53 · Aug 12, 2026 · 1 fileMessage 62 · AdequateTriage 0Details
Commit message · Roman Zeyde
fix(core): return -1 on incorrect `syshandle_write()` argument
[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