DeFiLayer 1Layer 2
14,723 OP
View results
Submission Details
Severity: low
Invalid

Access Control issue.

Summary

No Access Control: the verification functions are publicly accessible with no access restrictions. Anyone can call these functions to update critical parameters:

function verifyPeriodByBlockHash(...) external returns (bool)

function verifyPeriodByStateRoot(...) external returns (bool)

Vulnerability Details

https://github.com/CodeHawks-Contests/2025-03-curve/blob/main/contracts/scrvusd/verifiers/ScrvusdVerifierV2.sol#L26

Impact

Tools Used

Recommendations

use access control.

Updates

Lead Judging Commences

0xnevi Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Out of scope
Assigned finding tags:

[invalid] finding-verify-functions-lack-access-control

Invalid, all state roots and proofs must be verified by the OOS `StateProofVerifier` inherited as `Verifier`, so there is no proof that a permisionless `verify`functions allow updating malicious prices

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.