Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A potential inflation attack with blocking mint operations #48

Open
azat-hafizov opened this issue Feb 23, 2024 · 0 comments
Open

A potential inflation attack with blocking mint operations #48

azat-hafizov opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@azat-hafizov
Copy link
Collaborator

After the deployment of the initial StableAsset contract, on the transition to the unpaused state prior to the protocol's first mint, there exists a possibility of a third-party to mint 2 wei of poolToken by depositing 1 wei of the tokens in the pool. This action enables the attacker to subsequently transfer a substantial amount of tokens to this StableAsset address and invoke the rebase function, thereby artificially inflating the exchange rate of poolToken and increasing its totalSupply. This could potentially block all the subsequent mints of lower amounts than the overinflated totalSupply value.

This issue is classified as medium due to the possibility to block protocol operations until the deployer intervenes by halting and redeploying the pools and poolToken.

@azat-hafizov azat-hafizov added the bug Something isn't working label Feb 23, 2024
@azat-hafizov azat-hafizov added this to the Tapio v1.5 milestone Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants