Lines of code
<https://github.com/code-423n4/2022-03-lifinance/blob/699c2305fcfb6fe8862b75b26d1d8a2f46a551e6/src/Facets/OwnershipFacet.sol#L8-L15>
Risk of centralization
Diamond owner has too many roles on setting the functions, initiating payable functions.
If the Owner account is compromised, the assets may be drained in this trustless system.
#Proof of Concept
<https://github.com/code-423n4/2022-03-lifinance/blob/699c2305fcfb6fe8862b75b26d1d8a2f46a551e6/src/Facets/OwnershipFacet.sol#L8-L15>
Static testing
Team can consider building the owner account in DAO or multisig.
The text was updated successfully, but these errors were encountered:
All reactions