You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a static analysis tool built by [Cyfrin](https://cyfrin.io), a blockchain security company. This report is not a substitute for manual audit or security review. It should not be relied upon for any purpose other than to assist in the identification of potential security vulnerabilities.
4
+
# Table of Contents
5
+
6
+
-[Summary](#summary)
7
+
-[Files Summary](#files-summary)
8
+
-[Files Details](#files-details)
9
+
-[Issue Summary](#issue-summary)
10
+
-[Low Issues](#low-issues)
11
+
-[L-1: Centralization Risk for trusted owners](#l-1-centralization-risk-for-trusted-owners)
12
+
13
+
14
+
# Summary
15
+
16
+
## Files Summary
17
+
18
+
| Key | Value |
19
+
| --- | --- |
20
+
| .sol Files | 1 |
21
+
| Total nSLOC | 84 |
22
+
23
+
24
+
## Files Details
25
+
26
+
| Filepath | nSLOC |
27
+
| --- | --- |
28
+
| src/LimitOrderBook.sol | 84 |
29
+
|**Total**|**84**|
30
+
31
+
32
+
## Issue Summary
33
+
34
+
| Category | No. of Issues |
35
+
| --- | --- |
36
+
| High | 0 |
37
+
| Low | 1 |
38
+
39
+
40
+
# Low Issues
41
+
42
+
## L-1: Centralization Risk for trusted owners
43
+
44
+
Contracts have owners with privileged rights to perform admin tasks and need to be trusted to not perform malicious updates or drain funds.
45
+
46
+
<details><summary>4 Found Instances</summary>
47
+
48
+
49
+
- Found in src/LimitOrderBook.sol [Line: 14](src/LimitOrderBook.sol#L14)
50
+
51
+
```solidity
52
+
contract LimitOrderBook is Ownable, ReentrancyGuard {
53
+
```
54
+
55
+
- Found in src/LimitOrderBook.sol [Line: 155](src/LimitOrderBook.sol#L155)
56
+
57
+
```solidity
58
+
function authorizeExecutor(address executor) external onlyOwner {
59
+
```
60
+
61
+
- Found in src/LimitOrderBook.sol [Line: 164](src/LimitOrderBook.sol#L164)
62
+
63
+
```solidity
64
+
function revokeExecutor(address executor) external onlyOwner {
65
+
```
66
+
67
+
- Found in src/LimitOrderBook.sol [Line: 173](src/LimitOrderBook.sol#L173)
68
+
69
+
```solidity
70
+
function setExecutorAuthRequired(bool requireAuth) external onlyOwner {
0 commit comments