Other token accounts can be mistaken for multisig accounts #86
Closed
Description
opened on Jul 7, 2020
Problem
Accounts are determined to be multisig if their data size equals the size of a multisig account. There is no restriction on non-multisig accounts that they must not equal the size of a multisig account so other token account types could be mistaken as a multisig account if they are big enough and are set as a token account owner
Doesn't seem likely that this would happen in practice, but if it did, it could result in an owner account that has always passes the owner validation check if m
is 0.
Proposed Change
- Assert that token account types are different sizes
- Require token accounts to have a specific size
Metadata
Assignees
Labels
No labels
Activity