Missing requestId Check and Empty Response Handling in fulfillRequest
The main problem with this fulfillRequest function is the lack of requestId validation, which may result in processing the wrong request.
In addition, it does not trigger events, so external contracts and front-ends cannot monitor the execution of fulfillRequest.
Lack of requestId verification → May cause expired or forged requests to be processed, overwriting legitimate data.
No event is triggered (emit Response(...)) → External requests cannot be monitored, affecting traceability.
Add requestId verification to ensure that only the latest request is processed to prevent expired or forged requests.
Trigger the emit Response(...) event so that external contracts or front-ends can monitor the request status.
 
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.