ОПИСАНИЕ
The target of this audit is the private code repository of oripa-contract of Oripa. Please refer to the report for the detailed audit scope.
Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.
In summary, we did not find any critical issues within the audited codebase. However, we have identified some non-critical issues that should be addressed. Additionally, we have put forth recommendations and notes that should be taken into consideration. It is important to note that the scope of our audit was strictly limited to the specific code versions mentioned in the report. Any updates made subsequent to our review would require a re-evaluation.
ОСНОВНЫЕ РЕЗУЛЬТАТЫ
Всего в смарт-контракте обнаружено потенциальных проблем: 6. Также подготовлены рекомендации (3) и примечания (5):
| ID | Severity | Description | Status |
|---|---|---|---|
| 1 | Medium | Misattribution of CCTP deposits in the function relay() |
Fixed |
| 2 | Low | Potential DoS due to the improper rounding direction in the function _syncDebt() |
Fixed |
| 3 | Low | Inconsistent remainder accounting after rate changes | Fixed |
| 4 | Low | Potential unfair reward distribution | Confirmed |
| 5 | Low | Potential DoS due to malicious session keys | Fixed |
| 6 | Low | Lack of USDC recovery mechanisms for messages with invalid hook data | Fixed |
| 7 | - | Avoid the reuse of retired session keys | Confirmed |
| 8 | - | Add zero-address checks in the contract CctpDepositReceiver |
Fixed |
| 9 | - | Remove the redundant parameter of the event Minted |
Confirmed |
| 10 | - | Ensure correct off-chain calculations | - |
| 11 | - | Avoid the use of 18-decimal reward tokens | - |
| 12 | - | Ensure correct runtime configurations | - |
| 13 | - | Timely updates of the variable minHouseReserve |
- |
| 14 | - | Potential centralization risks | - |
Подробности доступны в отчёте об аудите.