CertiK reviewed AnyDex on 10 Oct 2024: 11 findings, 1 critical; 7 marked fixed, 2 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 | 2 | 0 |
| Medium | 0 | 0 | 1 |
| Low | 2 | 0 | 5 |
A sandwich attack may 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 (executing before the target) a transaction to purchase one of the assets and make profits by backrunning (executing after the target) a transaction to sell the asset. The cited function is 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. ```solidity=360 router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); ```
The 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 IDEXRouter public router; router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); ``` - The contract `Anydex` interacts with third party contract with `IDEXRouter` interface via `router`. --- ```solidity=153 InterfaceLP private pairContract; ``` - The contract `Anydex` interacts with third party contract with `InterfaceLP` interface via `pairContract`.
| Address | Chain | Source code |
|---|---|---|
| 0x8338…0d260x83389cb4e4f0bff39915efa839cb827460e70d26 | Chain: Ethereum | Source code: Verified source |
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