Omniscia 0xPhase Audit

Balancer Implementation Security Audit

Audit Revisions

Commit HashDateRevision Hash
6c81b5f401May 11th 20235350709c16
3dd3d7bf0cMay 25th 202352fb0f5ce3

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 ScopeRepositoryCommit(s)
BalancerBase.sol (BBE)contracts6c81b5f401,
3dd3d7bf0c
BalancerConstants.sol (BCS)contracts6c81b5f401,
3dd3d7bf0c
BalancerInitializer.sol (BIR)contracts6c81b5f401,
3dd3d7bf0c
BalancerGettersFacet.sol (BGF)contracts6c81b5f401,
3dd3d7bf0c
BalancerSettersFacet.sol (BSF)contracts6c81b5f401,
3dd3d7bf0c
BalancerAccountingFacet.sol (BAF)contracts6c81b5f401,
3dd3d7bf0c
BalancerCalculationsFacet.sol (BCF)contracts6c81b5f401,
3dd3d7bf0c

Audit Synopsis

SeverityIdentifiedAlleviatedPartially AlleviatedAcknowledged
0000
6600
3300
0000
0000

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: