Rebalance manager can steal tokens #186
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
sponsor disputed
Sponsor cannot duplicate the issue, or otherwise disagrees this is an issue
Handle
cmichel
Vulnerability details
The rebalance manager can perform trades on the entire basket amount and steal tokens this way, for example, by adding their own contract as the exchange through
setExchange
, followed by approving tokens to this contract through theRebalanceManagerV2.rebalance
action.Impact
The rebalance manager of each basket needs to be trusted.
Recommended Mitigation Steps
Document that the rebalance manager needs to be trusted as well, the current docs talk about an owner but it was not clear to me that the rebalance manager is always assumed to be the owner of a basket.
The text was updated successfully, but these errors were encountered: