code-423n4 / 2021-08-gravitybridge-findings

1 stars 0 forks source link

Anyone can deploy an Erc20 on the cosmos system for a very small cost. #13

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

tensors

Vulnerability details

Impact

Allowing anyone to very cheaply deploy and erc20 to cosmos will lead to large amounts of fakes/scams being deployed as well as other malicious behavior intended to make a profit by tricking users of the cosmos system.

Proof of Concept

https://github.com/althea-net/cosmos-gravity-bridge/blob/92d0e12cea813305e6472851beeb80bd2eaf858d/solidity/contracts/Gravity.sol#L546

Recommended Mitigation Steps

If a coin is deemed necessary for the cosmos ecosystem it can be deployed by the validators of that ecosystem.

jkilpatr commented 3 years ago

duplicate of #53