Skip to content

remove public backdoor allowing ownership takeover#2961

Open
Olexandr88 wants to merge 1 commit intocrytic:masterfrom
Olexandr88:master
Open

remove public backdoor allowing ownership takeover#2961
Olexandr88 wants to merge 1 commit intocrytic:masterfrom
Olexandr88:master

Conversation

@Olexandr88
Copy link

Removes a public backdoor that allowed any caller to take ownership
of the example token contract and re-enable minting.

An attacker could call backdoor() to become owner and mint unlimited tokens,
which breaks the ownership and supply model of the token.

Signed-off-by: Olexandr88 <radole1203@gmail.com>
@Olexandr88 Olexandr88 requested a review from smonicas as a code owner February 6, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant