Code4rena
Sandclock contest
Every publicly disclosed report for Sandclock contest and what kind of bugs they were.
- disclosed reports
- 19
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2022
Disclosed reports
Newest first. Only what Sandclock contest chose to make public.
-
Vault can’t receive deposits if underlying token charges fees on transfer
Business logic Medium Audit finding
-
A Single Malicious Trusted Account Can Takeover Parent Contract
Access control Medium Audit finding
-
Changing a strategy can be bricked
Business logic Medium Audit finding
-
unsponsor, claimYield and withdraw might fail unexpectedly
Business logic Medium Audit finding
-
Centralization Risk: Funds can be frozen when critical key holders lose access to their keys
Access control Medium Audit finding
-
NonUSTStrategy.sol Improper handling of swap fees allows attacker to steal funds from other users
Business logic Medium Audit finding
-
Late users will take more losses than expected when the underlying contract ( EthAnchor ) suffers investment losses
Business logic Medium Audit finding
-
sponsor() function in open to reentrancy attacks
Smart contracts High Audit finding
-
deposit() function is open to reentrancy attacks
Smart contracts High Audit finding
-
Vaults with non-UST underlying asset vulnerable to flash loan attack on curve pool
Smart contracts High Audit finding
-
Withdrawers can get more value returned than expected with reentrant call
Smart contracts High Audit finding
-
forceUnsponsor() may open a window for attackers to manipulate the _totalShares and freeze users’ funds at a certain deposit amount
Business logic High Audit finding
-
totalUnderlyingMinusSponsored() may revert on underflow and malfunction the contract
DoS Medium Audit finding
-
Incompatibility With Rebasing/Deflationary/Inflationary tokens
Business logic Medium Audit finding
-
no use of safeMint() as safe guard for users
Smart contracts Medium Audit finding
-
Medium: Consider alternative price feed + ensure _minLockPeriod > 0 to prevent flash loan attacks
Smart contracts Medium Audit finding
-
Check _to is not empty
Business logic Medium Audit finding
-
investedAssets() Does Not Take Into Consideration The Performance Fee Charged On Strategy Withdrawals
Business logic Medium Audit finding
-
No setter for exchangeRateFeeder, whose address might change in future
Business logic Medium Audit finding