NFTBridge
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Potential for Misuse in enableBridge Function

Summary

The enableBridge function, which toggles the _enabled state, can be called by the contract owner at any time without checks. If the bridge is disabled, all deposits and withdrawals will be blocked.

Impact

Potential denial of service if the bridge is disabled inadvertently or maliciously.

Recommendations

Consider adding checks or restrictions around when and how the bridge can be disabled, perhaps requiring a time delay or multi-signature approval.

Updates

Lead Judging Commences

n0kto Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

Informational / Gas

Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.

Support

FAQs

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