Omniscia Euler Finance Audit

Manual Review

Manual Review

A thorough line-by-line review was conducted on the codebase to identify potential malfunctions and vulnerabilities in Euler Finance's Ethereum Vault Connector.

As the project at hand implements a special-purpose interaction router and framework, intricate care was put into ensuring that the execution flows within the system conforms to the specifications and restrictions laid forth within the protocol's specification.

We validated that all state transitions of the system occur within sane criteria and that all rudimentary formulas within the system execute as expected. We pinpointed two discrepancies within the system in relation to its specification which we advise the Euler Finance team to evaluate. More details can be observed in the report's summary as well as in the dedicated findings of each discrepancy.

Additionally, the system was investigated for any other commonly present attack vectors such as re-entrancy attacks, mathematical truncations, logical flaws and ERC / EIP standard inconsistencies. The documentation of the project was satisfactory to an exemplary extent, containing comprehensive in-line documentation, a whitepaper, as well as a technical specification document.

A total of 21 findings were identified over the course of the manual review of which 9 findings concerned the behaviour and security of the system. The non-security related findings, such as optimizations, are included in the separate Code Style chapter.

The finding table below enumerates all these security / behavioural findings:

IDSeverityAddressedTitle
EVC-01MInexistent Prevention of Modifier Misuse
EVR-01MAmbiguous Specification Invariant (31)
EVR-02MDocumentation Discrepancy of Security Flags
EVR-03MPotentially Illegible Revert Error
EVR-04MPotentially Insecure Acceptance of Funds
EVR-05MPotentially Restrictive Push Pattern
EVR-06MUndocumented Operator Restriction
EVR-07MArbitrary Consumption of Permit Operations
EVR-08MInvalidation of Specification Invariant (27)