Omniscia Arcade XYZ Audit

Manual Review

Manual Review

A thorough line-by-line review was conducted on the codebase to identify potential malfunctions and vulnerabilities in the P2P NFT-backed borrowing and lending protocol of Arcade XYZ.

As the project at hand implements an NFT collateralized lending and borrowing protocol, intricate care was put into ensuring that the flow of funds & assets 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 multiple avenues via which collateral within an AssetVault could be compromised which could have had severe ramifications to its overall operation; we urge the Arcade XYZ team to promptly evaluate & remediate findings that relate to the AssetVault contract.

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 extensive in-line documentation as well as a comprehensive README.md file both of which were utilized when validating the project's specification.

A total of 48 findings were identified over the course of the manual review of which 21 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
AIV-01MIncorrect Assumption of Function
ABV-01MImproper Enforcement of Check
ABV-02MIncorrect Assumption of Function
AVT-01MImproper Dependency Utilization
CBT-01MInexistent Flexibility of Blacklist
CBT-02MPotentially Weak Restriction List
CWA-01MInsecure Whitelist Potential
CWO-01MUnsafe Casting Operation
ERC-01MPotential Deviation of Standard
OCR-01MOn-Chain Race Condition of Loan Consumptions
OCR-02MRestrictive Minimum Loan Principal
OCR-03MImproper Validation of Loan Amounts
OCR-04MInsufficient Validation of Loan Rollover
OCR-05MInvalidation of Predicates
OER-01MInexistent Validation of Ownership Existence
PNE-01MMisleading Documentation of Contract
PNE-02MMisleading Token ID Counter
PVR-01MPotentially Unwarranted Predicate Case
PVR-02MIncorrect Assumption of Function
RCR-01MImproper Imposition of Claim Fee
RCR-02MInexistent Validation of Loan Expiry