-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to liquidate a position that is underwater due to interests growing up over time #1002
Comments
The submission does not provide any demonstration of the issue, reasoning and code blocks. |
0xSorryNotSorry marked the issue as insufficient quality report |
Trumpero marked the issue as unsatisfactory: |
Hi @Trumpero I believe this issue is a duplicate of #1057
In the impact section, I have clearly stated that there are only two ways to liquidate a position:
And the following reasoning is straightforward, there is no way to liquidate a position that is underwater due to interests growing up over time:
Although this report is shorter and of lower quality compared to others, I have identified the core issue. Therefore, I believe a partial credit of 25% would be more appropriate than considering it completely unsatisfactory. |
@RunSoul22 I consider this issue invalid due to its lack of quality. This report has too low quality and unclear description, and it doesn't point out any case where maxDebtPerCollateral will be surpassed, to be a duplicate of #1057 |
thanks. I will do better next time. |
Lines of code
https://github.com/code-423n4/2023-12-ethereumcreditguild/blob/2376d9af792584e3d15ec9c32578daa33bb56b43/src/loan/LendingTerm.sol#L653
Vulnerability details
Impact
In this protocol, a position can only be liquitated if the current term is offboarded or partial payment is overdue. This means that a position cannot be liquidated if it is underwater due to accumulated interests.
Proof of Concept
https://github.com/code-423n4/2023-12-ethereumcreditguild/blob/2376d9af792584e3d15ec9c32578daa33bb56b43/src/loan/LendingTerm.sol#L653
Tools Used
VSCode
Recommended Mitigation Steps
Allow liquidation for these types of positions.
Assessed type
Context
The text was updated successfully, but these errors were encountered: