0x91f1d3c7ddb8d5e290e71f893bad45f16e8bd7ba
As of 21 Nov 2026, Trustblock’s record holds 0x91f1d3c7ddb8d5e290e71f893bad45f16e8bd7ba on BNB Chain as a contract of BurnsDeFi. 1 audit report on Trustblock lists this address: CertiK, 29 Feb 2024. 13 findings in it are recorded as open or acknowledged.
Each report’s scope as stored on Trustblock names this address on BNB Chain.
| Audit | Security firm | Date | Commit named in the report | Report |
|---|---|---|---|---|
| Burns-Audit | CertiK | Not recorded (see the report) | On Trustblock |
4 Medium, 9 Low. In the firm’s own words; statuses are the firm’s, from each report.
The implementation of the `isContract` check can not cover all scenarios. The check can be bypassed if the call is from the constructor of a smart contract or when the contract is destroyed. Because, in that case, the code size will also be zero. The comments mention that "it's unsafe to rely on the check and it can be bypassed".
The audit on TrustblockIf the `msg.value` does not strictly equal to 0.002 or the `burnedfi` has already launched, BNBs sent to the airdrop contract will be locked forever since the function won't revert. ```solidity=43 function _drop() internal { if ( msg.value == _value && !_burnedFi.launch() && _msgSender() != address(this) ) { require(_msgSender() == tx.origin, "Only EOA"); if (_countBlock < 20) { ++_countBlock; ++totalDroped; ++threshold; if (totalDroped == 1 || totalDroped % 300 == 0) { _deployLiquidity(); } require( _burnedFi.balanceOf(address(this)) >= _singleAmount, "Droped out" ); _burnedFi.transfer(_msgSender(), _singleAmount); ++_userCount[_msgSender()]; require(_userCount[_msgSender()] <= 100, "Limit 100 num!"); emit Droped(_msgSender(), totalDroped); } else if (_block != block.number) { _block = block.number; _countBlock = 0; } if (totalDroped >= 150000) { _burnedFi.setLaunch(true); uint256 amount = payable(address(this)).balance; payable(address(_burnedFi)).transfer(amount); } } }
The audit on TrustblockThe contract's reliance on a single Dex pair for price feeds in the `Stats` function exposes it to flashloan attack risks. An attacker can use a flashloan as the initial funds for an exploit to enlarge the profit or manipulate the `FIXME` token price in decentralized exchanges. The `burnToHolder()` function relies on price calculations that are based on-chain, meaning they are susceptible to flash-loan attacks by manipulating the price of given pairs to the attacker's benefit. In this case, the attacker could pump the `burnfi` token price to get more `burnbuild` tokens as returns in this function call.
The audit on TrustblockThe native token is transferred to the `to` in line 627 before the state variables are updated in lines 636-637 (effects), which deviates from the checks-effects-interaction pattern. This could lead to potential re-entrancy risks. Sending native tokens will trigger the `receive()` functions in the receiver contract. An attacker can make a recursive call back to the original function. During such a reentrant call, the state variables are not yet updated (the caller still holds `burnfi` token), enabling the attacker to re-enter the original contract and claim rewards multiple times. However, the `to.transfer()` call has a strict gas limit of 2300, which is typically insufficient for any significant computations or state changes in the called contract. This restriction constrains the actions an attacker can perform in the receiver's contract, thereby reducing the potential impact of the reentrancy attack, but the risk still exists. ```solidity=619 function receiveRewards(address payable to) external { address addr = msg.sender; uint256 balance = balanceOf(addr); uint256 amount = balance.sub(burnAmount[addr]); //.sub(Rewards[addr]); require(amount > 0 ); Rewards[addr] = Rewards[addr].add(amount); historyRewards[addr] = historyRewards[addr].add(amount); to.transfer(amount.mul(10**9)); _transfer(addr, address(this), balance); burnAmount[addr]=0; totalReceive = totalReceive.add(amount); emit ReceiveReward(addr, amount, totalReceive); } ```
The audit on TrustblockA sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by backrunning (after the transaction being attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `swapExactTokensForETHSupportingFeeOnTransferTokens()` - `swapExactTokensForTokensSupportingFeeOnTransferTokens()` - `addLiquidityETH()`
The audit on TrustblockThe project will share exceeded rewards of the user to the project. The user might not be aware of the exceeded rewards and doesn't call function `burnToHolder` to increase maximum rewards in advance.
The audit on Trustblock```solidity=56 if (totalDroped == 1 || totalDroped % 300 == 0) { _deployLiquidity(); } ``` Users have to pay for the gas of adding liquidity if the condition `totalDroped % 300 == 0` is met. If the user fails to set enough gas limit for this transaction, calls to the `_drop()` will revert and therefore block the airdrop process.
The audit on TrustblockState variables that never change should be declared as `constant` to save gas. ```solidity=121 uint256 public burnFee = 2; ``` - `burnFee` should be declared `constant`. --- ```solidity=122 uint256 public taxFee = 10; ``` - `taxFee` should be declared `constant`.
The audit on TrustblockThe contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. --- ```solidity=29 IUniswapV2Router02 public uniswapRouter; ``` - The contract `BurnsAirdrop` interacts with third party contract with `IUniswapV2Router02` interface via `uniswapRouter`. --- ```solidity=119 IUniswapV2Router02 public uniswapRouter; ``` - The contract `BurnsDeFi` interacts with third party contract with `IUniswapV2Router02` interface via `uniswapRouter`. --- ```solidity=123 burnsRewardHold public burnsHolder; ``` - The contract `BurnsDeFi` interacts with third party contract with `burnsRewardHold` interface via `burnsHolder`.
The audit on TrustblockThe `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow. ```solidity=16 library SafeMath { ``` - An implementation of `SafeMath` library is found. --- ```solidity=17 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `BurnsAirdrop` contract. ```solidity=83 uint256 _amount = _deployAmount.mul(threshold); ``` - `SafeMath.mul` is called in `_deployLiquidity` function of `BurnsAirdrop` contract. *Note: Only a sample of 2 `SafeMath` library usage in this contract (out of 4) are shown above.* --- ```solidity=118 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `BurnsDeFi` contract. ```solidity=229 uint256 _burnFees = amount.mul(burnFee).div(1000); ``` - `SafeMath.mul` is called in `_transfer` function of `BurnsDeFi` contract. *Note: Only a sample of 2 `SafeMath` library usage in this contract (out of 7) are shown above.*
The audit on TrustblockThe smart contract does not check or store the return value of an external call in a local or state variable, which may introduce vulnerabilities due to the unhandled outcome. ```solidity=95 token.approve(address(uniswapRouter), tokenAmount); ``` --- ```solidity=97 uniswapRouter.addLiquidityETH{value: ethAmount}( address(_burnedFi), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); ```
The audit on TrustblockIt is not recommended to use Solidity's `transfer()` and `send()` functions for transferring native tokens, since some contracts may not be able to receive the funds. Those functions forward only a fixed amount of gas (2300 specifically) and the receiving contracts may run out of gas before finishing the transfer. Also, EVM instructions' gas costs may increase in the future. Thus, some contracts that can receive now may stop working in the future due to the gas limitation. ```solidity=77 payable(address(_burnedFi)).transfer(amount); ``` - `BurnsAirdrop._drop` uses `transfer()`. --- ```solidity=315 payable(address(burnsHolder)).transfer(balance); ``` - `BurnsDeFi.burnToholder` uses `transfer()`.
The audit on TrustblockThe linked functions are equivalent to the compiler-generated getter functions for the respective variables.
The audit on TrustblockThe BurnsDeFi security record · Every BurnsDeFi address · This address on the explorer