OrderBook

First Flight #43
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

Centralization Risk

Description

Contracts have owners with privileged rights to perform admin tasks and need to be trusted to not perform malicious updates or drain funds.

- Found in src/OrderBook.sol [Line: 327]()
```solidity
) external onlyOwner {
```
- Found in src/OrderBook.sol [Line: 339]()
```solidity
) external onlyOwner {
```
- Found in src/OrderBook.sol [Line: 359]()
```solidity
function withdrawFees(address _to) external onlyOwner {
```

Recommended Mitigation

Ensure that onlyOwner is a trusted user and the user prioritizes safety. Also, ensure the owner safeguards his wallet private keys and does not disclose to any party
Updates

Lead Judging Commences

yeahchibyke Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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