Audit · firm’s term: audit report
QuillAudits reviewed Torque on 28 Aug 2024: 6 findings, 0 critical; 2 marked fixed, 4 open.
Report hosted on quillaudits.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 1 |
| Medium | 0 | 0 | 0 |
| Low | 4 | 0 | 1 |
The depositUSDC and depositUSDCe functions currently transfer the full amount of USDC or USDCe specified by the user to the contract, and then call the repay function on the lending protocol. However, if the amount to be repaid is less than the amount sent by the user, the contract does not return the excess funds to the user. This discrepancy can lead to a loss of tokens for the user, as the contract should handle and refund any surplus amount that was not used for repayment.
The withdraw function is designed as an emergency mechanism to retrieve funds from the contract. However, it relies on the return value of the transfer function to verify successful transfers. Some tokens, especially non-standard or poorly implemented ones, may not return a value on transfer operations, causing the function to fail and potentially lock the tokens in the contract permanently.
| Address | Chain | Source code |
|---|---|---|
| 0x6b5c…5fd20x6b5c6c6a5223e1ce30d24dede62848bad0845fd2 | Chain: Arbitrum | Source code: Verified source |
350 projects reviewed · 459 reports · latest Apr 2025
See QuillAudits’s auditsSomething 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