Code4rena
Union Finance contest
Every publicly disclosed report for Union Finance contest and what kind of bugs they were.
- disclosed reports
- 13
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2021
Disclosed reports
Newest first. Only what Union Finance contest chose to make public.
-
Wrong implementation of CreditLimitByMedian.sol#getLockedAmount() makes it unable to unlock lockedAmount in CreditLimitByMedian model
Business logic High Audit finding
-
UnionToken should check whitelist on from ?
Access control Medium Audit finding
-
Change in interest rate can disable repay of loan
Business logic Medium Audit finding
-
Comptroller rewards can be artificially inflated and drained by manipulating [totalStaked - totalFrozen] (or: wrong rewards calculation)
Business logic Medium Audit finding
-
Duplicate utoken and usermanager can be added which cannot be deleted
Business logic Medium Audit finding
-
User Fund loss in case of Unsupported Market token deposit
Business logic Medium Audit finding
-
MAX_TRUST_LIMIT might be too high
DoS Medium Audit finding
-
borrow must accrueInterest first
Business logic High Audit finding
-
Wrong implementation of CreditLimitByMedian.sol#getLockedAmount() will lock a much bigger total amount of staked tokens than expected
Business logic Medium Audit finding
-
Rebalance will fail due to low precision of percentages
Business logic Medium Audit finding
-
debtWriteOff updates totalFrozen immaturely, thereby losing staker rewards
Business logic Medium Audit finding
-
UserManager : totalStaked ≥ totalFrozen should be checked before and after totalFrozen is updated
Smart contracts Medium Audit finding
-
Rebalance will fail if a market has high utilization
Business logic Medium Audit finding