CertiK reviewed Big Crypto Game (Big Crypto Game - DUELS) on 4 Nov 2022: 17 findings, 1 critical; 11 marked fixed, 4 acknowledged, 2 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 1 |
| High | 0 | 4 | 0 |
| Medium | 0 | 0 | 3 |
| Low | 2 | 0 | 7 |
Addresses should be checked before assignment or external call to make sure they are not zero addresses. ```solidity=691 duel = _addr; ``` - `_addr` is not zero-checked before being used. --- ```solidity=159 duel = _duel; ``` - `_duel` is not zero-checked before being used.
File: DuelSystem.sol The price of `BLST` simply equals the amount of `BUSD` tokens swapped out from DEX by using one `BLST`. The swapped-out amount is determined by the reserves of `BLST` and `BUSD` in the `DEX` pair. The change of reserves would impact the swapped-out amount of `BUSD`, the price of `BLST`. As an example, in the following scenario, the attacker can win the duel by manipulating the price of `BLST`. Let's assume that the price of `BLST` is `$0.02` now in pancake dex. 1. Alice creates a duel and set the `price1` to `$0.05`. 2. The attacker joins the duel created at step 1 and set the `price2` to `$0.1`. 3. When the duel ends, the attacker can use `Flash Loan` to gain a large amount of `BUSD` and raise the price of `BLST` in the `DEX` to be greater than `$10`, then call the `finishDuel()` function. 4. In this case, the attacker surely wins the duel and increases his/her legion's attacker power. 5. At the end, the `resultPrice` is set to the manipulated price. During the above process, the attacker needs to pay for the fees of the flash loan, the swap from `BUSD` to `BLST`, and the swap from `BLST` to `BUSD`.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (5)
1,045 projects reviewed · 1,376 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us