The cancelRequest
function allows any user to cancel a request without proper access control, leading to potential misuse. While the intent might be that only the request originator can cancel it, the function lacks a mechanism to enforce this.
Unauthorized request cancellations
Add access control to ensure that only the originator or an authorized entity can cancel a request.
The process to cancel a message is detailed here: https://docs.starknet.io/architecture-and-concepts/network-architecture/messaging-mechanism/#l2-l1_message_cancellation Since `startRequestCancellation` has the `onlyOwner`, only the owner can begin that process.
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.