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

fix(openalias): drop the resolved alias when the recipient field changes

Public commit record

What the developer wrote

Authored by sneurlax

85/100 · Strong
fix(openalias): drop the resolved alias when the recipient field changes

Clearing the field and typing the same alias again reused the old
lookup. Every change of the address now drops a lookup for another
alias, so the cleared field ends it.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a bug in Stack Wallet's OpenAlias lookup for cryptocurrency sending. Previously, if a user cleared the recipient field and retyped the same alias, the wallet reused the old address lookup instead of fetching it again. The fix now drops the cached lookup whenever the recipient text changes, ensuring a fresh lookup occurs. This is a correctness and potential security fix because a stale or attacker-controlled alias resolution could be reused when the user expected a new lookup.

Recommended action

Review OpenAlias lookup and caching logic across the app for similar stale-cache patterns; ensure DNS/TLS resolution failures are handled safely; consider whether cached resolutions should also be invalidated on other state changes (e.g., wallet switch, network change).

Security signals we found

01

Stale cached alias resolution could be reused across recipient field changes

02

OpenAlias lookup result is invalidated when recipient text changes

03

Mobile and desktop send flows both patched with identical logic

04

Regression test added to prevent reuse of old lookup

Risk score

Why this scored 36/100

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