What changed, and why it matters
This commit removes the option to create or restore 12-word seed phrases for Banano and Nano cryptocurrency wallets in Stack Wallet, leaving only 24-word seeds. Shorter 12-word seed phrases are generally easier to attack by brute-force guessing than longer 24-word ones, so this change reduces a weak-configuration risk. However, the commit message gives no explicit security rationale, and the change is small and partial.
Treat as a minor hardening change. Verify that the UI no longer offers 12-word options for Nano/Banano, that existing 12-word Nano/Banano seeds are either migrated or still supported for access, and that tests and documentation reflect the new policy. No urgent security response is indicated absent a disclosed vulnerability.
Security signals we found
Removal of a weaker key-derivation option (12-word vs 24-word BIP39 mnemonic)
Defensive hardening of seed-phrase entropy for Nano/Banano wallets
No explicit security advisory, CVE, or incident disclosure in commit or references
Evidence from the diff
In lib/wallets/crypto_currency/intermediate/nano_currency.dart, the possibleMnemonicLengths getter for NanoCurrency (the base class for Banano/Nano wallets) was changed from [24, 12] to [24]. This prevents the UI from offering or accepting 12-word BIP39 mnemonics for these currencies. Twelve-word BIP39 seeds provide 128 bits of entropy versus 256 bits for 24-word seeds, making them theoretically weaker against mnemonic recovery attacks. The patch is defensive but does not indicate whether existing 12-word seeds remain valid, whether validation logic elsewhere enforces the new list, or whether any related UI strings/tests were updated.
Changed components
lib/wallets/crypto_currency/intermediate/nano_currency.dartNanoCurrency classBanano and Nano wallet seed phrase creation/restoration flowsInspect captured patch +1 / −1
### lib/wallets/crypto_currency/intermediate/nano_currency.dart
@@ -25,7 +25,7 @@ abstract class NanoCurrency extends Bip39Currency {
int get defaultSeedPhraseLength => 24;
@override
- List<int> get possibleMnemonicLengths => [defaultSeedPhraseLength, 12];
+ List<int> get possibleMnemonicLengths => [defaultSeedPhraseLength];
@override
bool validateAddress(String address) =>Why this scored 28/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.