Code4rena
Debt DAO contest
Every publicly disclosed report for Debt DAO contest and what kind of bugs they were.
- disclosed reports
- 17
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Debt DAO contest chose to make public.
-
Borrower can craft a borrow that cannot be liquidated, even by arbiter.
Business logic High Audit finding +1 collaborator
-
addCredit / increaseCredit cannot be called by lender first when token is ETH
Business logic High Audit finding +5 collaborators
-
Call to declareInsolvent() would revert when contract status reaches liquidation point after repayment of credit position 1
Business logic High Audit finding +5 collaborators
-
Borrower/Lender excessive ETH not refunded and permanently locked in protocol
Business logic Medium Audit finding +28 collaborators
-
Borrower can by mistake add own money to credit if credit is in ETH
Business logic Medium Audit finding
-
The lender can draw out extra credit token from borrower’s account
Smart contracts Medium Audit finding +3 collaborators
-
address.call{value:x}() should be used instead of payable.transfer()
Smart contracts Medium Audit finding +32 collaborators
-
Mistakenly sent eth could be locked
Business logic Medium Audit finding +10 collaborators
-
Reentrancy bug allows lender to steal other lenders funds
Smart contracts Medium Audit finding +3 collaborators
-
Lender can trade claimToken in a malicious way to steal the borrower’s money via claimAndRepay() in SpigotedLine by using malicious zeroExTradeData
Business logic Medium Audit finding +8 collaborators
-
Borrower can close a credit without repaying debt
Business logic High Audit finding +6 collaborators
-
Repaying a line of credit with a higher than necessary claimed revenue amount will force the borrower into liquidation
Smart contracts High Audit finding +6 collaborators
-
Mutual consent cannot be revoked and stays valid forever
Business logic Medium Audit finding +6 collaborators
-
Lender can reject closing a position
DoS Medium Audit finding +5 collaborators
-
Non-existing revenue contract can be passed to claimRevenue to send all tokens to treasury
Business logic High Audit finding +3 collaborators
-
Variable balance ERC20 support
Smart contracts Medium Audit finding +16 collaborators
-
Whitelisted functions aren’t scoped to revenue contracts and may lead to unnoticed calls due to selector clashing
Access control Medium Audit finding +5 collaborators