-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
0 (Non-critical)bugSomething isn't workingSomething isn't workingfixed-in-upstream-repoThis task has been implemented in the upstream repoThis task has been implemented in the upstream reporesolvedsponsor acknowledged
Description
Handle
jonah1005
Vulnerability details
Impact
Multiple initialize functions of floatToken. An attacker may front-runinitializeFloatToken transaction with initialize and mock the exact behaviors and grant the attacker's owner role.
Proof of Concept
Tools Used
None
Recommended Mitigation Steps
While the dev team is aware of this and leaves the comment in the contract, over-ride the initialize function would possibly clear the uncertainty.
function initialize(
string memory name,
string memory symbol
) public initializer override {
revert("!authorized")
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0 (Non-critical)bugSomething isn't workingSomething isn't workingfixed-in-upstream-repoThis task has been implemented in the upstream repoThis task has been implemented in the upstream reporesolvedsponsor acknowledged