Overview
Binaryx is a marketplace of tokenized real estate that bridges the real estate market and the rapidly developing world of DeFi projects. Currently, Binaryx Protocol provides property owners with a system of oracles that allows them to tokenize and retail their property and allows users to invest in tokenized real estate, obtaining fractional ownership.
Task
We were assigned to detect and describe security issues in the smart contract set of the Binaryx protocol.
We needed to check the smart contracts with the following parameters:
- Whether the contract is secure;
- Whether the contract corresponds to the documentation;
- Whether the contract meets best practices regarding the efficient use of gas and code readability.
We have scanned this smart contract for commonly known and more specific vulnerabilities:
- Unsafe type inference;
- Timestamp Dependence;
- Reentrancy;
- Implicit visibility level;
- Gas Limit and Loops;
- Transaction-Ordering Dependence;
- Unchecked external call;
- Unchecked math;
- DoS with Block Gas Limit;
- DoS with (unexpected) Throw;
- Byte array vulnerabilities;
- Malicious libraries;
- Style guide violation;
- ERC20 API violation;
- Uninitialized state/storage/ local variables;
- Compile version not fixed.
In addition, Binaryx protocol was checked against less common vulnerabilities from the internal Blaize.Security knowledge base.