Skip to content
Business logic Audit finding Intermediate

TRST-M-8 from previous audit still present

When repaying is paused, the pool still accrues interest on debt shares, so users cannot reduce their debt and it continues to grow. An attacker could exploit this by waiting for a pause to increase their debt, but the text does not describe an active attack.

rvierdiiev Follow with said and ladboy233

Originally disclosed on Code4rena

Submitted by rvierdiiev, also found by said and ladboy233

Interest accruing is not paused, when repaying is not allowed.

Proof of Concept

TRST-M-8 from previous audit describes the fact, that when repaying is paused, then pool still continue accruing interests. Usually this is not considered as a medium bug anymore. However, protocol team has stated that they have fixed everything.

I should say that TRST-M-8 still exists and in case repayment will be paused and user will not be able to reduce their debt, their debt shares will continue to accrue interest.

Tools Used

VsCode

Recommended Mitigation Steps

You can implement the logic that will pause all interest accruing as well, but I am not sure this is indeed needed.

fez-init (INIT) acknowledged and commented:

There might have been miscommunications with this issue being resolved. This issue from Trust should be communicated as acknowledged.

hansfriese (Judge) commented:

According to the sponsor’s comment, it’s worth keeping it as a valid medium.


The original report as published on Code4rena, by rvierdiiev. Images and videos are our own copies; raw HTML is shown as text. View it on Code4rena.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Users cannot reduce their debt during a repayment pause, and their debt continues to grow with interest, potentially causing financial loss.

What the attacker needed

Repaying is paused by admin

The fix

The protocol should implement logic to pause interest accrual when repaying is paused, though the reporter is unsure if this is needed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

In a lending pool, users owe debt that grows with interest. If the ability to repay is paused, users cannot pay down their debt, but interest keeps adding up, making the debt larger. This is a problem because users are stuck with growing debt during the pause.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by rvierdiiev

View all

72 more disclosed reports, best first.

More from INIT Capital Invitational

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.