hl_
medium
The rebalance function can be called by anyone, resulting in possible attacks on users in relation to fees paid.
The rebalance function in PerpDepository.sol can be called by anyone, and there is a fee to be paid. An attacker can call this function repeatedly on a user (at the appropriate rebalancing instances), causing the user to have to pay fees which user did not authorize.
Users having to pay fees which they did not authorize.
Manual Review
Include access controls to this function.