Open hats-bug-reporter[bot] opened 11 months ago
We have dismissClaim
for that though
So in this case the expert committee would do nothing and just let the challenge period pass. Wouldn't it be better if the expert committee has an option to end the arbitration immediatly?
Also, I had assumed that if the expert committee does not agree with the committee, then the expert committee decision (resolution) should be challengeable. In other words, I assumed that the expert committee cannot unilaterally give a definitive ruling against the committee.
Github username: @bahurum Submission hash (on-chain): 0xdafc8513cfc78fed84be397f4852fac8346c8cda9c7c472e16659b2f42f61cbf Severity: low
Description: Description\ The expert committee cannot take a resolution to cancel a claim for a bounty payment completely. Since
_bountyPercentage
= 0 is reserved for preserving the original claim's bounty amount, the resolution will always require the payment of a bounty, even if very small.Attack Scenario
acceptDispute()
. In choosing the parameters for the call,_bountyPercentage
= 0 is reserved to the case where the expert committee confirms the committee's bounty amount (see HATClaimsManager.sol#L234-L235). The best that the expert committee can do is to set a very low amount for_bountyPercentage
.approveClaim()
is called and a very small payout is made (including the creation of a token lock).How the process ends at 4. is not ideal, and ideally at 3. the expert committee should be able to specify that it doesn't want a payout, and then in
approveClaim()
no payout should made.Recommendation\ Consider using a special value of the
_bountyPercentage
param ofacceptDispute()
as reserved for canceled bounties. The value1
could be used (corresponds to 0.01% of the vault so will never be used otherwise).In
approveClaim()
do not make the payout if the_bountyPercentage
is equal to the special value: