What changed, and why it matters
This commit fixes a lookup in the Stack Wallet app so it can find the Epic Cash cryptocurrency when its display name is 'Epic Private Internet Cash'. Without this change, the app might fail to recognize or handle Epic Cash correctly when that specific name is used. There is no direct evidence this is a security vulnerability.
Treat as a routine functional bugfix. Review whether the name mismatch could cause user-facing errors (e.g., failed price lookups or missing coin details), but no immediate security response is indicated.
Security signals we found
No security-relevant keywords in commit title or message
No changes to cryptography, authentication, authorization, or network handling
Change is a conditional name-matching fallback in a lookup helper
No explicit security disclosure or advisory referenced
Evidence from the diff
The change adds a fallback match in getCryptoCurrencyByPrettyName() inside lib/app_config.dart. It now also returns the coin if the input prettyName equals ‘Epic Private Internet Cash’ and the coin object is of type Epiccash. This appears to be a bugfix for a naming mismatch, likely related to CoinGecko naming (‘epic gecko name’ in the commit title). The diff does not show any cryptographic, authentication, or access-control changes.
Changed components
lib/app_config.dartgetCryptoCurrencyByPrettyName()Epiccash coin handlingInspect captured patch +4 / −1
diff --git a/lib/app_config.dart b/lib/app_config.dart
index ab5d1da..e1790ee 100644
--- a/lib/app_config.dart
+++ b/lib/app_config.dart
@@ -85,7 +85,10 @@ abstract class AppConfig {
try {
return coins.firstWhere(
- (e) => e.identifier.toLowerCase() == name || e.prettyName == prettyName,
+ (e) =>
+ e.identifier.toLowerCase() == name ||
+ e.prettyName == prettyName ||
+ (e is Epiccash && prettyName == "Epic Private Internet Cash"),
);
} catch (_) {
throw Exception("getCryptoCurrencyByPrettyName($prettyName) failed!");
Why this scored 19/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.