Token init instructions don't check if accounts are signers #132
Closed
Description
opened on Jul 17, 2020
Problem
A bad client might issue the "create account" and "init mint" in separate transactions. An attacker could front run and initialize the mint with themselves as owner and the original creator might not realize this. Then, the attacker could mint tokens whenever they please
This is applies to init multisig and init token account as well
Suggested Fix
Reject init instructions if initialized account is not a signer
Activity