What changed, and why it matters
This commit adds a new 'tor' option to the app's feature configuration. It is a straightforward feature-flag change that enables Tor support in three app variants (Campfire, Stack Duo, Stack Wallet). There is no indication of a security vulnerability or bug fix.
No security action required. Review the Tor implementation separately if this newly enabled feature is being assessed for privacy or network security.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds AppFeature.tor to the AppFeature enum in lib/app_config.dart and includes it in the _features set for three shell-generated configuration scripts. The change is purely additive and exposes a pre-existing Tor capability through compile-time feature flags. A minor formatting-only change to a trocador name-splitting block is present but functionally identical.
Changed components
lib/app_config.dartscripts/app_config/configure_campfire.shscripts/app_config/configure_stack_duo.shscripts/app_config/configure_stack_wallet.shInspect captured patch +7 / −5
diff --git a/lib/app_config.dart b/lib/app_config.dart
index 5f9b37a..3004413 100644
--- a/lib/app_config.dart
+++ b/lib/app_config.dart
@@ -6,7 +6,7 @@ import 'wallets/crypto_currency/intermediate/frost_currency.dart';
part 'app_config.g.dart';
-enum AppFeature { themeSelection, buy, swap }
+enum AppFeature { themeSelection, buy, swap, tor }
abstract class AppConfig {
static const appName = _prefix + _separator + suffix;
@@ -77,10 +77,9 @@ abstract class AppConfig {
static CryptoCurrency getCryptoCurrencyByPrettyName(final String prettyName) {
// trocador hack
const hackSplitter = " (Mainnet";
- final name =
- prettyName.contains(hackSplitter)
- ? prettyName.split(hackSplitter).first.toLowerCase()
- : prettyName.replaceAll(" ", "").toLowerCase();
+ final name = prettyName.contains(hackSplitter)
+ ? prettyName.split(hackSplitter).first.toLowerCase()
+ : prettyName.replaceAll(" ", "").toLowerCase();
try {
return coins.firstWhere(
diff --git a/scripts/app_config/configure_campfire.sh b/scripts/app_config/configure_campfire.sh
index 8f25938..c5e4929 100755
--- a/scripts/app_config/configure_campfire.sh
+++ b/scripts/app_config/configure_campfire.sh
@@ -61,6 +61,7 @@ const _shortDescriptionText = "Your privacy. Your wallet. Your Firo.";
const _commitHash = "$BUILT_COMMIT_HASH";
const Set<AppFeature> _features = {
+ AppFeature.tor,
AppFeature.swap
};
diff --git a/scripts/app_config/configure_stack_duo.sh b/scripts/app_config/configure_stack_duo.sh
index 17de39b..7a839ae 100755
--- a/scripts/app_config/configure_stack_duo.sh
+++ b/scripts/app_config/configure_stack_duo.sh
@@ -59,6 +59,7 @@ const _commitHash = "$BUILT_COMMIT_HASH";
const Set<AppFeature> _features = {
AppFeature.themeSelection,
AppFeature.buy,
+ AppFeature.tor,
AppFeature.swap
};
diff --git a/scripts/app_config/configure_stack_wallet.sh b/scripts/app_config/configure_stack_wallet.sh
index b4f503d..e976821 100755
--- a/scripts/app_config/configure_stack_wallet.sh
+++ b/scripts/app_config/configure_stack_wallet.sh
@@ -71,6 +71,7 @@ const _commitHash = "$BUILT_COMMIT_HASH";
const Set<AppFeature> _features = {
AppFeature.themeSelection,
AppFeature.buy,
+ AppFeature.tor,
AppFeature.swap
};
Why this scored 15/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.