feat(solana): show base account for create account with seed
What changed, and why it matters
This update improves the Trezor hardware wallet's Solana transaction confirmation screen. When a user creates a new Solana account from a seed, the device now also displays the 'base account' used to derive that new address. Without this, a malicious app could ask the device to create an account controlled by someone else while still making the destination look derived from the user's own keys. The change helps users spot when the new account won't actually belong to them before they approve the transaction.
Users should update to firmware containing this commit. Developers should ensure the new 'Base account' field is rendered clearly during on-device confirmation, especially when it differs from the signer. No immediate incident response is indicated.
Security signals we found
UI confirmation of attacker-controlled base account for derived Solana addresses
Prevents social-engineering/phishing where created account appears user-derived but is not
Changelog explicitly labels change as security-relevant
No signing or parsing logic changed; risk is reduced user-misapproval
Evidence from the diff
The commit adds a new UIProperty for the ‘base’ parameter of Solana’s CreateAccountWithSeed instruction. Previously, the base pubkey was hidden from the user during on-device confirmation. The new field is shown with a default_value_to_hide of ‘signer’, meaning it is normally suppressed when the base account equals the signing account, but displayed when it differs. This lets users verify that the derived created_account is derived from a base they control, rather than from an attacker-controlled base. The change is purely a UI/confirmation-layer improvement and does not alter transaction parsing or signing logic.
Changed components
Trezor firmware Solana instruction definitionsTrezor firmware Solana transaction confirmation UIcommon/defs/solana/programs.jsoncore/src/apps/solana/transaction/instructions.pyInspect captured patch +13 / −1
### common/defs/solana/programs.json
@@ -158,6 +158,11 @@
"account": "created_account",
"display_name": "Create account"
},
+ {
+ "parameter": "base",
+ "display_name": "Base account",
+ "default_value_to_hide": "signer"
+ },
{
"parameter": "space",
"display_name": "Data size",
### common/defs/solana/programs.md
@@ -34,11 +34,11 @@ _This file is generated by `programs.md.mako` via `make solana_templates`, do no
| Label | Value | Type |
|-------|-------|------|
| Create account | `created_account` | `account` |
+| Base account | `base` | `pubkey` |
| Data size | `space` | `u64` |
| Owner | `owner` | `pubkey` |
| Deposit | `lamports` | `lamports` |
| From | `funding_account` | `account` |
-| _(not shown)_ | `base` | `pubkey` |
| _(not shown)_ | `seed` | `string` |
| _(not shown)_ | `base_account` | `account` |
### core/.changelog.d/+solana_create_base.security
@@ -0,0 +1 @@
+Solana: Confirm foreign base account when creating an account.
### core/src/apps/solana/transaction/instructions.py
@@ -1083,6 +1083,12 @@ def get_instruction(
"Create account",
None,
),
+ UIProperty(
+ "base",
+ None,
+ "Base account",
+ "signer",
+ ),
UIProperty(
"space",
None,Why this scored 60/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.