2 matches found
priceTarget is inconsistent in StabilizerNode.stabilize
Lines of code Vulnerability details Impact priceTarget is inconsistent in StabilizerNode.stabilize so stabilize can do auction instead of selling malt and vice versa. Proof of Concept In StabilizerNode.stabilize, there is an early check using shouldAdjustSupply function. if...
6.9AI score
SaveExploits0
latestSample can be manipulation to make stabilize() calls always fail
Lines of code Vulnerability details Impact In function stabilize, in case exchangeRate priceTarget, which means price of Malt is larger than $1 so it has to sell Malt to return to $1. However, team don't want to sell Malt when the market is too volatile price changing too fast, so they added some...
7AI score
SaveExploits0
20