Internet Money Swap Router - BNB Smart Chain (BSC)

CertiKFiles named in the report

CertiK reviewed Internet Money (Internet Money Swap Router - BNB Smart Chain (BSC)) on 24 Mar 2023: 4 findings, 0 critical; 1 marked fixed, 3 open.

No open critical findings
Open the reportOpen Internet Money’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings4

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium100
Low101
HighCentralization Related RisksOpen

In the contract `InternetMoneySwapRouter` the role `_owner` has authority over the functions shown in the following functions: - addDex() - disableDex() - updateTokenFee() Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and add/disable DEX supported, or change sensitive contract state data.

MediumPotential Flashloan AttackOpen

Flash loans are a way to borrow large amounts of money for a certain fee. The requirement is that the loans need to be returned within the same transaction in a block. If not, the transaction will be reverted. An attacker can use the borrowed money as the initial funds for an exploit to enlarge the profit or manipulate the token price in decentralized exchanges. The `checkPairForValidPrice` function relies on price calculations that are based on-chain, meaning they are susceptible to flash-loan attacks by manipulating the price of given (targetToken, _wNative) pairs to the attacker's benefit.

LowThird Party DependencyOpen

The contract is serving as the underlying entity to interact with one or more third-party DEX protocols. The scope of the audit treats third-party DEX protocols 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=33 Dex[] public dexInfo; ``` - The contract `InternetMoneySwapRouter` interacts with third-party contract with `IUniswapV2Router02` interface via `dexInfo`. --- ```solidity=54 function amountOutFrom(address factory, address tokenIn, address tokenOut, uint256 amountIn) public view returns(uint256) { ``` - The function `OracleReader.amountOutFrom` interacts with third-party contract with `IUniswapV2Factory` interface via `factory`. --- ```solidity=90 function checkPairForValidPrice(address factory, address token) public view returns(uint256 tokenReserve, uint256 wethReserve) { ``` - The function `OracleReader.checkPairForValidPrice` interacts with third-party contract with `IUniswapV2Pair` interface via `factory`.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (2)

  • wallet-contracts/contracts/OracleReader.sol
  • wallet-contracts/contracts/InternetMoneySwapRouter.sol

Part of Internet Money’s security record

Internet Money
Audits9 audits by 1 firmLast audit Jun 2023, by CertiK.
Critical findingsNo open critical findingsAcross 9 reports.
Open Internet Money’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

Something 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