Skip to content

Immunefi

Term Structure Institutional

Every publicly disclosed report for Term Structure Institutional and what kind of bugs they were.

disclosed reports
13
most reported class
Business logic
bug classes found
3
first disclosure
2025
Find Term Structure Institutional on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Term Structure Institutional chose to make public.

Crypto

Cross-Chain Signature Replay Attack in Settlement Contract

The Settlement contract's signature hash omits the chain ID and contract address, so an operator signature from one chain validates on another deployment. An attacker could replay a legitimate settlement on a different chain, causing unauthorised settlements.

Term Structure Institutional

Medium
Business logic

Minimum Debt Value Updates Trigger Instant Liquidation Condition Changes

The Settlement contract lets the owner change the minimum debt value instantly, with no timelock. Raising this threshold can turn a loan that would only be partially liquidated into one that must be fully liquidated, so borrowers can lose their whole collateral without warning.

Term Structure Institutional

Informational
Business logic

Array Length Mismatch Enables Partial Settlement Processing

The createSettlement function does not check that the loan ID array and the loan data array have the same length, so a caller can pass more loan entries than IDs. The signature covers both full arrays, but the processing loop only iterates over the IDs, so extra signed loans are silently skipped and the settlement is only partially executed.

Term Structure Institutional

Medium
Business logic

Incorrect Allowance Validation in addCollateralBeforeSettle

The addCollateralBeforeSettle function checks the caller's token allowance instead of the borrower's allowance, so any user can increase a loan's collateral requirement without the borrower having approved the extra tokens. This causes settlement to fail when the borrower's actual allowance is insufficient, breaking core lending functionality.

Term Structure Institutional

High
Access control

Missing Settlement Status Validation in Loan Operations

Several loan operations in the Settlement contract do not check whether a loan has been settled, so they can be called on loans that have not gone through the settle() function. An attacker could call liquidate() on an unsettled loan to take collateral tokens from the lender, or use other operations to corrupt loan state.

Term Structure Institutional

Critical
Business logic

AddCollateral causes double economic loss through premature asset transfer and inflated settlement requirements

The addCollateral function transfers collateral tokens to the lender immediately while also increasing the recorded collateral amount, so during settlement the borrower must transfer the full inflated amount again. This causes the caller to lose tokens with no compensation and the borrower to pay twice, benefiting the lender.

Term Structure Institutional

Critical
Business logic

Some checks should be added even if the operator checks each input parameters

The report is an insight, not a demonstrated vulnerability: the createSettlement function in a settlement contract lacks input validation on values such as fee amount, taker amount, maturity versus expiry, and matching array lengths. The author argues these checks should be added even though an operator reviews inputs before signing, but no exploit or concrete impact is shown.

Term Structure Institutional

Informational
Business logic

Any users with expired loan(not settled) can take theft of lenders collateral when the collateral price increase

The removeCollateral function in the Settlement contract lacks a check for whether a loan position has been settled or has expired. A malicious borrower can wait for the collateral price to rise, then call removeCollateral on an unsettled or expired position to withdraw collateral from the lender without repaying the debt.

Term Structure Institutional

High
Access control

Settlement functionality can be break forever and blocking settlement actions.

The addCollateralBeforeSettle function can be called by anyone to increase a loan's collateral amount without transferring tokens, and if the increased amount exceeds the borrower's balance, the subsequent settlement transfer fails, permanently blocking settlement. An attacker can thus break the core settlement mechanism and potentially cause protocol insolvency by preventing fees from being collected.

Term Structure Institutional

High
Business logic

Direct theft of users funds when expired loan get liquidated

A settlement created by a lender can be left unexecuted by the borrower until it expires, after which the borrower can liquidate the matured loan and take the lender's collateral plus the liquidation incentive. This lets the borrower profit at the lender's expense and can also break the lender's other loan positions.

Term Structure Institutional

Critical
Business logic

Any call to the repay function can potentially be front-run by a malicious actor, lead to prevent users from repaying on time.

The repay function lets any caller repay a loan, and it reverts if the repayment amount exceeds the remaining debt. An attacker can front-run a borrower's full repayment with a tiny repayment, so the borrower's larger amount now exceeds the reduced debt and reverts, causing griefing and possible liquidation.

Term Structure Institutional

Medium