Trustline has 1 public audit report from CertiK; dated 16 Dec 2022; no critical findings reported.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Statuses are the security firms’ own
7 findings are still open or acknowledged in the firms’ reports: 1 high, 6 low (6 open, 1 acknowledged).
Centralization Related Risks
Trustline · CertiK · 16 Dec 2022 · Report ↗
Incompatibility with Deflationary Tokens
Trustline · CertiK · 16 Dec 2022 · Report ↗
Input Validation of `equityAmount` And `debtAmoun
Trustline · CertiK · 16 Dec 2022 · Report ↗
Lack of reasonable boundary
Trustline · CertiK · 16 Dec 2022 · Report ↗
Logic issue about `increaseSystemDebt()`
Trustline · CertiK · 16 Dec 2022 · Report ↗
Logic issue about liquidation
Trustline · CertiK · 16 Dec 2022 · Report ↗
Third Party Dependencies
Trustline · CertiK · 16 Dec 2022 · Report ↗
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Trustline | Security firm: CertiK | Date: | Scope: Files listed | None open | Findings: 1 high · 2 medium · 14 low 10 fixed · 1 acknowledged · 6 open | skynet.certik.com ↗ |
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 0 | 2 |
| Low | 6 | 0 | 8 |
When transferring deflationary ERC20 tokens, the input amount may not be equal to the received amount due to the charged transaction fee. For example, if a user sends 100 deflationary tokens (with a 10% transaction fee), only 90 tokens actually arrived at the contract. However, a failure to discount such fees may allow the same user to withdraw 100 tokens from the contract, which causes the contract to lose 10 tokens in such a transaction. Reference: https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f
Open the reportIn the functions `_modifyEquity()` and `_modifyDebt()`, the input parameters `equityAmount` and `debtAmount` are passed independently with `underlyingAmount` and `collAmount`. There are functions `_certifyEquityPosition()` and `_certifyDebtPosition()` to ensure their upper bound, but there is no lower bound check.
Open the reportThe variables such as `debtPenalty`, `equityPenalty`, `newMaxDiscount`, `stepPeriod`, `discountIncreasePerStep`, `liquidationRatio`, `offering.amount` do not have reasonable boundaries, so they can be given arbitrary values after deploying.
Open the reportThe amount of Bond Sale is determined by the system debt and liquidated debt amount. The system debt can be modified via the `increaseSystemDebt()` function. This function is marked as `onlyByProbity`. Also, the increase of the system debt can block the redeems of the `bondTokens` in the contract `BondIssuer`.
Open the reportBond Sale and Liquidation are two ways of debt settlement. The primary way is Liquidation, but the `Liquidator.liquidateVault()` function can be called by anyone. Also, the underlying/collateral tokens will be immediately liquidated if their value is not sufficient for the equity/debt position. Usually, the borrower's collateral assets are liquidated when the loan is overdue. We understand that the collateral tokens can be sold to liquidate the debt, but why do the underlying tokens need to be sold or auctioned?
Open the reportThe protocol is serving as the underlying entity to interact with 3rd party contracts such as `Ftso`, `FtsoRewardManager`, and `FtsoManager`. The scope of the audit treats 3rd party entities as black boxes and assumes their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. Additionally, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to new LP pools, etc.
Open the reportThe reports name a repository or files. Open a report to see its scope.
Trustblock holds 1 public audit report for Trustline, dated 16 Dec 2022. The latest is by CertiK (“Trustline”).
CertiK wrote the report Trustblock holds for Trustline.
7 findings are still open or acknowledged in the firms’ reports: 1 high, 6 low (6 open, 1 acknowledged). No critical finding is reported. Statuses are the security firms’ own.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="trustline"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
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