The updateAssetAllowance function allows the MarketMakingEngine to dynamically update the allowance for the underlying asset. This introduces a risk if the MarketMakingEngine is compromised.
The updateAssetAllowance function sets the allowance for the underlying asset without additional safeguards.
A malicious actor with control over the MarketMakingEngine could set an unlimited allowance and drain funds from the vault.
High risk of fund theft or misuse by a malicious actor with control over the MarketMakingEngine.
Potential loss of all assets in the vault.
Manual code review.
MythX for access control analysis.
Require admin approval for large allowance changes.
Implement a pull-based model where the MarketMakingEngine requests tokens only when needed, reducing the risk of excessive allowances.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.