Back to Overview

Aave CowSwap Adapters

Quotation mark icon

Summary

The code is well structured and written. We carefully assessed if the protocol interactions are correct, amounts are passed correctly and there is any way to interact maliciously with the instance by e.g., using permits/approvals. We could not identify any major issues. However, because the solvers have freedom in their executions, there is no guarantee that the expected appData instructions are followed, so the interactions might need to be monitored carefully. Besides, we could not find an attack scenario for the intra-hook but this hook allows alternative execution paths for users that are not intended in normal operation.

In summary, we find that the codebase provides a high level of security. Yet, it is important to note that security audits are time-boxed and cannot uncover all vulnerabilities. They complement but don't replace other vital measures to secure a project.

About Aave CowSwap Adapters

AAVE implements convenience contracts for Aave users to perform the following actions more efficiently:

• Swap the collateral of a loan to a different asset
• Swap the debt of a loan to a different asset
• Repay a loan with posted collateral