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

ui: clear all displayed strings before freeing them

Public commit record

What the developer wrote

Authored by Jon Griffiths

73/100 · Adequate
ui: clear all displayed strings before freeing them

Note that UX elements that aren't explicitly cleared using the secure stack
may still be present in memory in the event of a crash, and ideally
would be added to the secure stack as needed.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit changes how the Jade hardware wallet clears text shown on screen. Previously, ordinary memory freeing could leave sensitive strings (like seed words or passphrases) sitting in RAM. Now it uses a secure wipe function before freeing. The commit itself notes this is not a complete fix, because some UI elements are not yet covered by the secure-memory mechanism.

Recommended action

Treat as a security-hardening fix with acknowledged gaps. Review remaining UI text allocations to ensure all sensitive strings are placed on the secure stack or wiped before deallocation. Consider whether a CVE is warranted only if an exploitable information-disclosure scenario can be demonstrated; the commit message's caveat suggests the fix is incomplete.

Security signals we found

01

Replacement of free() with wally_free_string() to zero sensitive text buffers

02

Commit message acknowledges residual risk for UI elements not on secure stack

03

Change targets a hardware wallet UI layer where displayed text may include secrets

Risk score

Why this scored 58/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 10/15
Affected reach 8/15
Confidence 7/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.