TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

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

921security candidates311second-pass queue2660AI analyses
322commits · 30 days
549commits · 60 days
1358commits · 180 days
2638commits · 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
478Strong · 80–100
1321Adequate · 60–79
863Thin · 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.
tychovrahe292104292461
Roman Zeyde577181575272
PrisionMike945994273
Andrew Kozlik712470265
obrusvit21376213164
Jakub Janků22919182
Martin Pastyřík23823173
cepetr19682196059
Ioan Bizău23076230059
M1nd3r20772207071
Lukas Bielesch846784067
Martin Milata17446174063
Analysis record

Published AI watches

Last scanned 24 minutes ago

Low 27 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): digest EIP-1559/EIP-7702 magic without RLP encoding

This commit is a small internal cleanup in Trezor's Ethereum signing code. It changes how two special 'magic' bytes (the transaction type markers for newer Ethereum transaction formats) are fed into the cryptographic hash. Previously the c…

Refactor of cryptographic hashing path for Ethereum transaction signingRemoval of implicit assumption that RLP encodes small integers as single bytesChange affects EIP-1559 and EIP-7702 transaction type markers
2362bc6fby Roman Zeyde+6−32 files
No security note in commit
Informational 15 AI analysisMessage 98 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(core): test RLP self-encoding bytestrings

This commit only adds a new unit test to the Trezor firmware codebase. It verifies that very short Ethereum RLP-encoded byte strings and small positive integers encode to themselves, which is a known property of the RLP specification. No p…

41538733by Roman Zeyde+16−01 file
No security note in commit
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
Repository ledger

Explore captured commits

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

Lower-prioritydocs: hello world and other documentation updatesby Thalarion · fe980ef1 · Jan 16, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · Thalarion

docs: hello world and other documentation updates

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

This commit only updates documentation. It renames a developer tutorial, fixes links, adds a new hardware model (Trezor Safe 7) to reproducible-build instructions, and refreshes code examples. No firmware, bootloader, or cryptographic code is changed, so it cannot directly affect device security.

Lower-priorityfeat(core/prodtest): allow alternative per-command CRC verificationby tychovrahe · be8ef622 · Jan 16, 2026 · 5 filesMessage 72 · AdequateInformational 19Details
Commit message · tychovrahe

feat(core/prodtest): allow alternative per-command CRC verification

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

This commit changes the Trezor production-test command-line interface so that CRC checksums can be applied either globally or per-command using a new 'checked-' prefix. It is a feature addition, not a fix for an exploitable vulnerability. The change does touch CRC parsing code, but the diff shows no obvious security bug such as buffer overflow or bypass. The main risk is that any mistake in the new CRC logic could weaken integrity checks for a low-privilege manufacturing/debug interface.

Lower-prioritychore(core): rewrite comments in cli.h into doxygen styleby tychovrahe · 9e028ab6 · Jan 16, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

chore(core): rewrite comments in cli.h into doxygen style

[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 rewrites code comments in a single header file to follow Doxygen documentation style. It does not change any executable code, logic, or security behavior. The only functional-looking addition is a new error-code constant named CLI_ERROR_INVALID_CRC, but it is just a string literal definition with no code using it, so it cannot by itself create a vulnerability.

Lower-priorityfeat(core/prodtest): add commands for generic memory read/writeby tychovrahe · a0b6089d · Jan 16, 2026 · 2 filesMessage 62 · AdequateInformational 23Details
Commit message · tychovrahe

feat(core/prodtest): add commands for generic memory read/write

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

This commit adds two new commands to Trezor's production-test firmware: one that writes hex data into a small RAM buffer and one that reads it back. It is a test/debugging feature, not the normal wallet firmware users carry. The commands only touch a fixed 4 KB RAM buffer and do not directly read or write arbitrary memory addresses, so they appear limited in scope. However, adding interactive memory-style commands to a low-level test tool can be a stepping stone for deeper hardware attacks if combined with other vulnerabilities.

Lower-priorityfeat(core/prodtest): introduce CRC checks for CLI commandsby tychovrahe · 308f2c76 · Jan 16, 2026 · 7 filesMessage 62 · AdequateInformational 21Details
Commit message · tychovrahe

feat(core/prodtest): introduce CRC checks for CLI commands

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

This commit adds an optional CRC-32 checksum feature to the Trezor production-test command-line interface (prodtest CLI). It is a data-integrity feature, not a fix for an existing security vulnerability. The change lets factory-test tools request that every command and response include a CRC checksum, helping detect accidental communication corruption. There is no indication in the commit that this addresses a known attack or security flaw.

Lower-prioritychore(core): improve comments, use doxygen styleby cepetr · ef2d16d3 · Jan 16, 2026 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

chore(core): improve comments, use doxygen style

[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 commit only rewrites code comments in three header files to use a Doxygen documentation style. It does not change any program logic, function signatures, data structures, or security behavior. There is no indication of a security fix or vulnerability.

Lower-priorityrefactor(core): allow running coreapp emulator as an appletby cepetr · 977333f6 · Jan 16, 2026 · 6 filesMessage 62 · AdequateInformational 11Details
Commit message · cepetr

refactor(core): allow running coreapp emulator as an applet

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

This commit is a code cleanup that lets the Trezor firmware's emulator (used for testing on regular computers) run the core application as a separate 'applet' task, similar to how it runs on real hardware. It merges two setup functions into one and adds a Unix-specific implementation. There is no indication this fixes a security bug or introduces a vulnerability.

Lower-priorityfix(core): remove unnecessary exit handlersby cepetr · 048f517b · Jan 16, 2026 · 5 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

fix(core): remove unnecessary exit handlers

[no changelog]

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

This commit cleans up how the Trezor firmware emulator (Unix build) shuts down its fake SD card and flash memory. Previously, these emulated memory buffers were automatically unmapped when the program exited via atexit handlers. The commit removes those automatic exit handlers and instead exposes explicit cleanup functions (sdcard_deinit, flash_deinit) that callers can invoke directly. The display emulator also loses its atexit-based deinit. This is a code-quality and resource-management change; it does not appear to fix an exploitable security vulnerability.

Lower-priorityrefactor(core): refactor coreapp emu startup, run coreapp as a taskby cepetr · 959f9fa9 · Jan 16, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · cepetr

refactor(core): refactor coreapp emu startup, run coreapp as a task

[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 and architectural refactor for the Trezor firmware's Unix emulator. It moves the emulator startup logic into a new 'coreapp' task structure and splits hardware/driver initialization into a separate file. There is no indication in the commit that this fixes a security vulnerability or changes security-sensitive behavior; it appears to be internal restructuring only.

Lower-priorityfeat(core): implement applet unloadby cepetr · 75452a35 · Jan 16, 2026 · 12 filesMessage 57 · ThinLow 32Details
Commit message · cepetr

feat(core): implement applet unload

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

This commit rewrites how the Trezor firmware's kernel cleans up after the main user-interface app (the 'coreapp') finishes or crashes. It replaces a simple 'stop' function with a new 'unload' path that always clears the app's memory and, on real hardware, disables the special memory/peripheral access rights that were granted while the app ran. The change also adds a check so the kernel only tries to clean up tasks that were actually initialized. Overall it looks like a hardening/cleanup improvement rather than a new vulnerability, though the commit is a refactor and the diff alone cannot prove no bugs were introduced.

Lower-priorityfix(core): remove unnecessary delays during event pollingby cepetr · 2b1acddd · Jan 16, 2026 · 1 fileMessage 62 · AdequateInformational 11Details
Commit message · cepetr

fix(core): remove unnecessary delays during event polling

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

This small firmware change prevents the Trezor device from going to sleep or adding artificial delays when event pollers are still active. Previously, the code always paused after each polling loop, even if it had just woken up a task. Now it only pauses when no task was actually woken. The main practical effect is better responsiveness and lower latency, not a security fix.

Lower-priorityfix(core): fix applet mpu reconfigby cepetr · 631696e3 · Jan 16, 2026 · 1 fileMessage 57 · ThinModerate 57Details
Commit message · cepetr

fix(core): fix applet mpu reconfig

[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 · Moderate 57/100

This commit fixes a bug in how the Trezor hardware wallet's memory protection unit (MPU) is reconfigured when switching to or from a small helper program ('applet'). Previously, the code could read from a NULL pointer and store an invalid value, which might weaken memory isolation between the main firmware and the applet. The fix ensures the applet layout pointer is checked before use and the TLS (thread-local storage) area is safely zeroed when no applet is active.

Lower-priorityfeat(core): allow running applets from SRAMby cepetr · a5f32f09 · Jan 16, 2026 · 1 fileMessage 57 · ThinLow 37Details
Commit message · cepetr

feat(core): allow running applets from SRAM

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

This commit changes the memory protection unit (MPU) configuration in Trezor's STM32U5 firmware so that small helper programs ('applets') can run from RAM (SRAM) in addition to running from flash memory. Previously, applets were assumed to live in flash. The change adds a new memory region type for executable SRAM and checks whether an applet's code starts in flash; if not, it marks the SRAM region as executable. This is a feature addition, not a bug fix, and there is no direct evidence in the commit that it fixes a security vulnerability. However, allowing code execution from SRAM can increase attack surface if an attacker can write to that RAM, because executable writable memory is generally less safe than execute-only flash.

Lower-priorityrefactor(core): improve mpu apiby cepetr · fff18a60 · Jan 16, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

refactor(core): improve mpu api

[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 commit is a tiny code cleanup in the memory-protection unit (MPU) code for the Trezor hardware wallet. It only adds the word 'const' to a function parameter in four files, meaning the function promises not to modify the input structure. No behavior of the device changes, and there is no security fix or vulnerability here.

Lower-priorityfix(core): fix returning from spawned applet to coreappby cepetr · 0c6137fb · Jan 16, 2026 · 3 filesMessage 62 · AdequateLow 45Details
Commit message · cepetr

fix(core): fix returning from spawned applet to coreapp

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

This commit fixes a scheduling bug in the Trezor firmware's task-switching system. When the device switched from a small temporary 'applet' back to the main 'coreapp', the old code simply jumped tasks without telling the event scheduler to put the current task back on the runnable list. That could leave the current task unscheduled or cause a null-pointer write when the scheduler later tried to record which events woke it up. The patch adds a proper 'yield and reschedule' helper and guards the null-pointer write.

Lower-priorityfeat(core): implement micropython ipc wrapperby cepetr · 26019c18 · Jan 16, 2026 · 7 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

feat(core): implement micropython ipc wrapper

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

This commit adds a new internal feature to the Trezor firmware: a MicroPython wrapper that lets Python code send and receive inter-process communication (IPC) messages to another system task. It is a feature implementation, not a bug fix, and nothing in the commit or supplied references indicates it addresses a security vulnerability.

Lower-priorityfeat(core): introduce systask emulationby cepetr · 72079605 · Jan 16, 2026 · 11 filesMessage 57 · ThinInformational 22Details
Commit message · cepetr

feat(core): introduce systask emulation

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

This commit adds a software-based emulation of Trezor's multitasking 'systask' system for the desktop emulator. Previously the emulator faked task functions as empty stubs; now it uses real POSIX threads and condition variables to mimic how tasks switch on the real hardware. It also moves some system shutdown helpers into a shared file used by both real devices and the emulator. There is no direct evidence this fixes a security bug; it is primarily an engineering change to make the emulator behave more like the real device.

Lower-priorityfeat(core): introduce elf loaderby cepetr · 9ceddad3 · Jan 16, 2026 · 11 filesMessage 57 · ThinLow 41Details
Commit message · cepetr

feat(core): introduce elf loader

[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 adds a new ELF (Executable and Linkable Format) loader to the Trezor firmware. It is marked as a feature implementation and explicitly carries a 'DO NOT SHIP THIS FILE' warning for production builds. The code parses ELF files, loads code and data segments, applies relocation fixups, and sets up memory protection for applets. Because this is new, complex parsing code that handles attacker-influenced binary data and modifies memory, it is security-relevant, but the commit itself does not describe a vulnerability and the production guard suggests it is not intended for release as-is.

AI review queuedfix(core): fix kernel crash when ext app faultby cepetr · e79f97af · Jan 16, 2026 · 1 fileMessage 57 · ThinModerate 57Details
Commit message · cepetr

fix(core): fix kernel crash when ext app fault

[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
second-pass: broader security terminology
AI analysis · Moderate 57/100

This patch fixes a kernel crash that could occur when an external (untrusted) application running on the Trezor device faults. The crash happened because the kernel tried to read a return address from a memory region it was not allowed to access. The fix temporarily relaxes memory protection just long enough to safely read that address, then restores it. It is a stability/reliability fix in a security-sensitive component, but the commit itself does not claim it is exploitable for theft of funds or secrets.

AI review queuedfeat(core): introduce app_loader/cache moduleby cepetr · c0de3d9e · Jan 16, 2026 · 24 filesMessage 57 · ThinLow 38Details
Commit message · cepetr

feat(core): introduce app_loader/cache module

[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
second-pass: unusually broad change
AI analysis · Low 38/100

This commit introduces a new application loader and cache subsystem for the Trezor firmware. It adds code that loads external ELF-format applications into memory, manages their execution as isolated applets, and handles memory allocation for them. The change is a feature addition, not a documented security fix. The code includes a prominent warning that the STM32 ELF loader implementation should not be shipped in production devices. There is no evidence in the commit or supplied references that this resolves a known security incident or vulnerability.

Security candidatefeat(core): implement micropython app_loader/cache wrapperby cepetr · da71e342 · Jan 16, 2026 · 14 filesMessage 62 · AdequateLow 32Details
Commit message · cepetr

feat(core): implement micropython app_loader/cache wrapper

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

This commit adds a new MicroPython module called `trezorapp` that lets Python code create, write, finalize, and run third-party application images inside the Trezor firmware. It is a feature implementation rather than a bug fix, and there is no direct evidence in the commit that it fixes a security vulnerability. However, because it exposes low-level app loading and task control to Python, any weaknesses in the underlying `app_cache`/`app_loader` C code or in how Python callers use this wrapper could become security-relevant. The commit itself does not describe security relevance, credit a researcher, or acknowledge a vulnerability report.

Security candidatefeat(core): introduce an IPC mechanismby cepetr · 1d415082 · Jan 16, 2026 · 18 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce an IPC mechanism

[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 adds a brand-new inter-process communication (IPC) subsystem to the Trezor firmware kernel. It lets separate software tasks send fixed-size messages to each other through kernel-managed queues, with memory copies that temporarily disable the memory-protection unit on STM32 hardware. There is no claim in the commit that this fixes a security bug; it appears to be a new feature. The code includes access checks (verifiers) for the user-space syscall path, but because this is a new and complex kernel mechanism, any mistakes in the queue logic or memory copying could become security issues in the future.

Security candidatefeat(core): introduce coreapp apiby cepetr · 29ad7f9c · Jan 16, 2026 · 11 filesMessage 57 · ThinLow 25Details
Commit message · cepetr

feat(core): introduce coreapp api

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

This commit adds a new internal API surface called 'coreapp API' that lets the core firmware expose a small set of system services (timers, events, debug console, IPC, and shutdown helpers) to a separate 'coreapp' component. It is only enabled for the T3W1 model and is guarded by an 'app_loading' build feature. The change is architectural: it wires a function-pointer getter into the vector table and stores it in the coreapp header so the coreapp can request versioned API tables. There is no direct evidence in the commit of a vulnerability, exploit, or security fix; it appears to be a feature introduction for future app-loading support.

Security candidatefeat(core): introduce EXTAPP_SUPPORT build optionby cepetr · 08f32990 · Jan 16, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce EXTAPP_SUPPORT build option

[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 adds a new build-time switch called EXTAPP_SUPPORT. When turned off (the default), it prevents the 'app_loading' feature from being compiled into firmware for the T3W1 model. This is purely a build-system/configuration change and does not alter runtime behavior, fix a bug, or change any security-critical code path on its own.

Security candidatefeat(core): increase number of unprivileged tasksby cepetr · fbc27142 · Jan 16, 2026 · 1 fileMessage 57 · ThinInformational 11Details
Commit message · cepetr

feat(core): increase number of unprivileged tasks

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

This commit changes a single internal constant so the device can keep track of one extra background process when the optional app-loading feature is enabled. By itself it does not look like a security fix or vulnerability; it appears to be a straightforward capacity increase for a new feature.