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

re add check to ensure change addresses are not shown as receiving addresses

Public commit record

What the developer wrote

Authored by julian

62/100 · Adequate
re add check to ensure change addresses are not shown as receiving addresses
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Explains rationale or failure mode! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug in the Stack Wallet app where a special internal 'change' address for the Spark privacy feature could accidentally be shown to the user as a normal receiving address. If a user copied and shared that address, funds meant as change from a transaction could be sent to a publicly visible address, weakening the privacy protections that Spark is designed to provide. The fix re-adds checks that skip over the change diversifier when generating addresses to display.

Recommended action

Review git history to confirm when the sparkChange guard was removed and whether any release shipped without it. Audit other Spark address derivation paths for similar missing guards, and add regression tests that assert sparkChange is never returned as AddressSubType.receiving.

Security signals we found

01

Privacy degradation: change address exposed as receiving address

02

Re-addition of previously removed guard indicates regression fix

03

Spark anonymity/privacy model relies on change address separation

04

User could unknowingly reuse or share a change address

Risk score

Why this scored 60/100

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