Gondi

QuantstampFiles named in the report

Quantstamp reviewed Gondi on 20 Oct 2023: 19 findings, 0 critical; 13 marked fixed, 5 acknowledged, 1 open.

No open critical findings
Open the reportOpen Gondi’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings19

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High003
Medium000
Low1510
LowMissing Input ValidationOpen

It is important to validate inputs, even if they only come from trusted addresses, to avoid human error. Specifically, in the following functions arguments could could benefit from additional input validation: 1. Generally, in constructors, address parameters, especially if used to assign immutable variables, should be checked to be unequal to zero. Furthermore, all assignments of global state variable that have matching setters should make use of those setters to leverage the existing input validation. 4. `Leverage.updateMultiSourceLoanAddressFirst()`: Validate that `_newAddress` is non-zero. 5. `Leverage.updateSeaportAddressFirst()`: Validate that `_newAddress` is non-zero. 8. `BaseLoan.updateImprovementMinimum()`: Validate that `_newMinimum` is non-zero to not enable refinances with identical APR. 4. `BaseLoan.updateLiquidationAuctionDuration()`: The function allows the auction duration to be `zero`. Consider adding a minimum check. 3. `BaseLoan.updateImprovementMinimum()`: Validate its input against some minimum values. According to the documentation, these should be `1%` principal amount increase, `1%` interest decrease, or `10%` duration increase. 13. `MultiSourceLoan.setMaxSources()`: Validate that `maxSources` is non-zero and have a reasonable hardcoded upper bound to not cause block gas limit concerns in their processing. 14. `MultiSourceLoan.updateRefinanceInterestFraction()`: Validate that `_newFraction` is lower than `PRECISION.` 1. `AuctionLoanLiquidator.placeBid()`: Validate that `_bid` is greater than zero, as else a bid of zero amount could technically win the auction. 14. `WithCallbacks.addWhitelistedCallbackContract()`: Validate that `_contract` is non-zero and `_tax` is lower than `PRECISION`. 1. `AddressManager._add()`: Validate that `entry` is valid. Otherwise, it would allow `address(0)` to be added to the registry.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (9)

  • lib/AuctionLoanLiquidator.sol
  • lib/AddressManager.sol
  • lib/utils/Hash.sol
  • lib/utils/Interest.sol
  • lib/loans/BaseLoan.sol
  • lib/callbacks/Leverage.sol
  • lib/loans/MultiSourceLoan.sol
  • lib/UserVault.sol
  • lib/loans/WithCallbacks.sol

Part of Gondi’s security record

Gondi
Audits1 audit by 1 firmLast audit Oct 2023, by Quantstamp.
Critical findingsNo open critical findingsIn 1 report.
Open Gondi’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us