What changed, and why it matters
This commit fixes a single missing space in a user-facing warning message shown before the COLDCARD device wipes itself and becomes permanently unusable. The text previously read 'purgeall related settings' instead of 'purge all related settings'. There is no security issue, no code behavior change, and no risk to users beyond a slightly awkward sentence.
No security action needed. Treat as a cosmetic/documentation-quality fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change is a one-character whitespace addition in shared/actions.py inside the nuke_device() async function. It concatenates two string literals passed to ux_confirm(); adding a space after ‘purge’ corrects the grammar of the confirmation prompt. The function logic, the destructive action it triggers, and all security properties remain identical.
Changed components
shared/actions.pynuke_device() user confirmation prompt textInspect captured patch +1 / −1
diff --git a/shared/actions.py b/shared/actions.py
index 4e1d793..7f4db90 100644
--- a/shared/actions.py
+++ b/shared/actions.py
@@ -1543,7 +1543,7 @@ Does not affect MicroSD card, if any.''', confirm_key="4"):
async def nuke_device(*a):
if not await ux_confirm("Wipe Seed & Brick device? This will wipe the seed, purge"
- "all related settings, and makes ewaste from this device."):
+ " all related settings, and makes ewaste from this device."):
return
if not await ux_confirm("Brick device?\n\nBy design, there is no way to reset or recover"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.