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

Lack of Emergency Pause Mechanism

Summary

No way to halt the oracle during attacks or critical failures.

Vulnerability Details

Malicious parameters or extreme market conditions cannot be manually mitigated.

Impact

Prolonged exposure to invalid price feeds.

Tools Used

Analysis of access control functions.

Recommendations

Add pause toggle:

emergency_stop: public(bool)
@external
def toggle_emergency():
require(msg.sender == admin)
self.emergency_stop = not self.emergency_stop
@view
@internal
def when_active():
assert not self.emergency_stop, "Paused"
Updates

Lead Judging Commences

0xnevi Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
Assigned finding tags:

[invalid] finding-centralization-risk

- Per [codehawks documentation](https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity#findings-that-may-be-invalid) - Parameter change is executed via the Dao per docs > Also, it is worth noting that the oracle is controlled by a DAO and its parameters can be changed by a vote.

Support

FAQs

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