CertiK reviewed PerionXP (Perion) on 31 May 2023: 9 findings, 0 critical; 6 marked fixed, 3 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 | 0 |
| High | 1 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 2 | 0 | 6 |
The `TransparentUpgradeableProxy` is an upgradeable contract. The owner can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract. In commit [16e14431228c2dfcf8fb180030f2b1159a952676](https://github.com/Periondao/perion-liquidity-mining/blob/16e14431228c2dfcf8fb180030f2b1159a952676/contracts/TimeLockPool.sol), the function `refund()` is added, which allows the admin role to refund a user's deposit ahead of time. Any compromise to the `admin` account may allow a hacker to take advantage of this authority and withdraw tokens from the pool.
The current design is not compatible with **non-standard ERC20** tokens, such as deflationary tokens or tokens that adhere to the ERC777 standard. Implementing non-ERC20 compliant versions of the `depositToken` and `rewardToken` functions may result in unexpected behavior and potential security issues. ```solidity=31 IERC20 public depositToken; IERC20 public rewardToken; ```
The linked functions are equivalent to the compiler-generated getter functions for the respective variables. ```solidity function getDepositsOf(address _account) public view returns(Deposit[] memory) { return depositsOf[_account]; } ... function withdrawnRewardsOf(address _account) public view override returns (uint256) { return withdrawnRewards[_account]; } ``` It is a better practice to instead declare the variable as `public` as compiler-generated getter functions are less prone to error and more maintainable than manually written ones.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (6)
1,044 projects reviewed · 1,375 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