AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 37 Bitcoin

feat(core): allow running applets from SRAM

Public commit record

What the developer wrote

Authored by cepetr

57/100 · Thin
feat(core): allow running applets from SRAM

[no changelog]
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

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.

Recommended action

Treat as a feature commit, not a confirmed security fix. Review the applet loading path to ensure SRAM applets are authenticated and integrity-checked before execution, and that SRAM regions are not writable by untrusted code during applet execution. If this change is part of a security response, request the vendor's advisory or incident reference.

Security signals we found

01

New executable SRAM memory region type added to MPU configuration

02

MPU region selection now depends on address range check for flash vs SRAM

03

Applets can now execute from SRAM, increasing potential writable-executable memory surface

04

No changelog entry and no security framing in commit message

Risk score

Why this scored 37/100

Our methodology →
Potential impact 8/30
Exploitability 7/25
Stealth signal 6/15
Affected reach 8/15
Confidence 5/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.