Audit Open Original ↗
Curvance
Type
Security review
Client
Curvance
Date
2024-03
Domain
Blockchain
Effort
5 wks
Section
Invariant Testing and Development Engagements
Trail of Bits's security review of Curvance (Mar 2024) identified 13 issues: 1 high, 2 medium, 2 low, and 8 undetermined.
Findings · 13
- 1 Combining continuous locks into single continuous lock terminal results in 1 wei in profit Undetermined
- 2 Combining some noncontinuous locks into single continuous lock terminal does not change userPoints Undetermined
- 3 Calls to repay with excessive amount result in underflow and panic Low
- 4 processExpiredLock called with the relock option does not delete the existing lock High
- 5 Combining locks is still possible after the system is shut down Low
- 6 combineAllLocks erroneously decreases user points when used with expired lock Medium
- 7 repayWithBadDebt can be 1 wei o and cause a panic Medium
- 8 Possible underflow in combineAllLocks due to 1-wad di erence in veCVE balance and user points Undetermined
- 9 Negative prices from OracleRouter cause underflow and panic Undetermined
- 10 Division-by-zero error in _canLiquidate results in a panic Undetermined
- 11 Missing validation allows the DAO address to be liquidated Undetermined
- 12 Missing validation allows the DAO address to be the liquidator Undetermined
- 13 The repay function will panic if a user’s total borrows and debt balance are 1 wei o Undetermined
Findings extracted from the published report PDF. See the full report below for details and remediation.
Related