Omniscia 0xPhase Audit
Balancer Implementation Security Audit
Audit Revisions
Commit Hash | Date | Revision Hash |
---|---|---|
6c81b5f401 | May 11th 2023 | 5350709c16 |
3dd3d7bf0c | May 25th 2023 | 52fb0f5ce3 |
Audit Overview
We were tasked with performing an audit of the 0xPhase codebase and in particular their balancer module meant to re-distribute funds across multiple yield sources.
Over the course of the audit, we identified a potential capital inefficiency in the way incoming deposits are handled that we advise the 0xPhase team to alleviate.
We advise the 0xPhase team to closely evaluate all minor-and-above findings identified in the report and promptly remediate them as well as consider all optimizational exhibits identified in the report.
Post-Audit Conclusion
The 0xPhase team iterated through all findings within the report and provided us with a revised commit hash to evaluate all exhibits on.
We evaluated all alleviations performed by 0xPhase and have identified that all exhibits have been adequately dealt with no outstanding issues remaining in the report.
Contracts Assessed
Files in Scope | Repository | Commit(s) |
---|---|---|
BalancerBase.sol (BBE) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerConstants.sol (BCS) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerInitializer.sol (BIR) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerGettersFacet.sol (BGF) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerSettersFacet.sol (BSF) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerAccountingFacet.sol (BAF) | contracts | 6c81b5f401, 3dd3d7bf0c |
BalancerCalculationsFacet.sol (BCF) | contracts | 6c81b5f401, 3dd3d7bf0c |
Audit Synopsis
Severity | Identified | Alleviated | Partially Alleviated | Acknowledged |
---|---|---|---|---|
0 | 0 | 0 | 0 | |
6 | 6 | 0 | 0 | |
3 | 3 | 0 | 0 | |
0 | 0 | 0 | 0 | |
0 | 0 | 0 | 0 |
During the audit, we filtered and validated a total of 2 findings utilizing static analysis tools as well as identified a total of 7 findings during the manual review of the codebase. We strongly recommend that any minor severity or higher findings are dealt with promptly prior to the project's launch as they can introduce potential misbehaviours of the system as well as exploits.
The list below covers each segment of the audit in depth and links to the respective chapter of the report: