Kind White Buffalo
Medium
When vouching the minimum vouch amount must be >= ABSOLUTE_MINIMUM_VOUCH_AMOUNT (0.0001 ether), however, it can be lower than that as the validation is not sufficient.
In vouchByProfileId:380 it is validated that msg.value
is not lower than the minimum vouch amount, however, the actual vouch amount will always be less than msg.value
due to the fees. Therefore, it is possible for the msg.value
to be higher than the minimum, whilst the actual vouch is not.
No response
No response
vouchByProfileId
is called withmsg.value = ABSOLUTE_MINIMUM_VOUCH_AMOUNT
- 10% of the ETH is deducted due to the fees, and the amount of the vouch lowers below the minimum
An important invariant of the protocol is broken.
No response
Validate whether toDeposit
is not lower than ABSOLUTE_MINIMUM_VOUCH_AMOUNT
.