The FjordPoints contract is vulnerable due to its dependence on a single owner address for executing critical administrative tasks. This setup presents a serious risk, as the loss or compromise of the owner's private key could lead to irreversible issues, rendering the contract unmanageable. If the owner's private key is lost or compromised Ownership cannot be transferred. This could also mean that the staking contract cannot be updated, potentially breaking core functionality and the points distribution rate cannot be adjusted, making the system inflexible.
These functions control ownership transfer, staking contract updates, and points distribution rate adjustments
Loss or compromise of the owner's private key could lead to the contract becoming unmanageable or stuck in a potentially harmful state.
The contract risks becoming permanently unmanageable which could lead to potential loss of user funds if critical updates cannot be made.
manual code review
You could implement checks to ensure the owner
is a contract and potentially verify its interface:
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.