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

fix: guard against non-ETH TRON addresses

Public commit record

What the developer wrote

Authored by sneurlax

57/100 · Thin
fix: guard against non-ETH TRON addresses
✓ 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 fixes a bug in Stack Wallet's ShopInBit payment feature. Previously, when a user chose to pay with USDT, the app assumed every USDT payment address was on the Ethereum network. If the merchant actually provided a Tron (TRC-20) USDT address, the app could still try to route the payment through an Ethereum wallet, which would send funds to the wrong kind of address and likely cause the user to lose money. The fix checks whether the payment URI is genuinely Ethereum-based before allowing an in-app Ethereum/USDT wallet payment; otherwise it forces the user to pay externally.

Recommended action

Users should update to the version containing this commit before paying ShopInBit invoices with USDT. Developers should extend chain detection to explicitly identify and handle other supported USDT chains (e.g., Tron, BSC) rather than falling back to external-only payment, and add tests covering multi-chain URI parsing.

Security signals we found

01

Loss-of-funds bug: app could construct an Ethereum transaction to a non-Ethereum USDT address

02

Incorrect chain assumption for multi-chain stablecoin (USDT)

03

UI now hides in-app wallet option for unsupported chain variants

04

No input validation beyond Ethereum prefix/hex regex; other non-ETH chains still not explicitly supported

Risk score

Why this scored 44/100

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