Open hats-bug-reporter[bot] opened 1 year ago
Note that the arguments of Evidence()
event are indexed and one could filter them by disputer.
If this allows spamming or not depends on how the events are processed by Kleros. Hats team will have more info on this.
This is a feature not a bug - we want all parties to be able to submit evidence. You have not described why this is a problem.
Github username: @aviggiano Submission hash (on-chain): 0x033e189cc1ca6081eb0a2277b88954eef6cf76167ce870fae2bfc29f9e8d9ebd Severity: low
Description: Description
In
HATKlerosConnector
, anyone can callsubmitEvidence
, even if they are not the original_disputer
. This means any user can submit fake evidence on behalf of a_localDisputeId
.Recommendation
Make sure that only the original
_disputer
fromnotifyArbitrator
can submit additionalEvidence
.