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

Generic Token Fixes (#2874)

Public commit record

What the developer wrote

Authored by David Adegoke

83/100 · Strong
Generic Token Fixes (#2874)

* feat: Automatically detect wallet tokens for EVM chains

* feat: Disable potential tg scam tokens by default

* feat: Add homoglyph normalization to detect spoofing attacks in token symbols

* refactor: Improve scam token detection and apply to automatically fetched EVM tokens

* refactor: Enhance scam detection for automatically detected tokens in evm wallets

* feat: Add fiat check to scam checks on automatically imported token and disable tokens that fail the check

* feat: Add fiat check to scam checks on automatically imported token and disable tokens that fail the check

* feat: Add fiat check to scam checks on automatically imported token and disable tokens that fail the check

* feat: Enable whitelisted tokens with balance when importing wallet tokens

* feat: Disable imported tokens with balance less than 0.1 usd

* feat: Disable imported tokens with balance less than 0.1 usd
- Update configure file

* fixes:
- default tokens marked as potential scam
- ui overflow for token name on balance page
- add more filters for spam tokens

* - detect and flag default token impersonators
- add homoglyph normalization to prevent spoofing attacks on new token symbols
- fix bnb not coming up in receive currency list for swap page

* - detect and flag default token impersonators
- add homoglyph normalization to prevent spoofing attacks on new token symbols
- fix bnb not coming up in receive currency list for swap page

* Revert Exclude BNB from receive currencies list [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
✓ Descriptive subject✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly
The short version

What changed, and why it matters

This update improves protections in the Cake Wallet app against fake or scam tokens. It adds checks that automatically flag tokens pretending to be well-known coins (like fake USDC or fake ETH) using look-alike characters, and it disables low-value or suspicious tokens when wallets are imported. The changes are defensive and reduce the chance that users are tricked into trusting scam tokens.

Recommended action

Review the homoglyph normalizer implementation and default token lists for completeness; verify that the new fiat-value and scam heuristics do not accidentally hide legitimate user tokens; consider adding user-visible warnings when a token is flagged as potential scam.

Security signals we found

01

Homoglyph normalization added to token symbol/name checks to mitigate visual spoofing

02

Default-token symbol impersonation detection added for EVM, Solana, and Tron

03

Native-token symbol impersonation detection extended and applied consistently

04

Auto-imported EVM tokens now filtered by scam/fiat-value heuristics

05

Low-balance (<$0.10 USD) imported tokens disabled by default

06

Whitelisted tokens with balance enabled on wallet import

Risk score

Why this scored 64/100

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