CertiK reviewed PassPay on 27 Jan 2023: 4 findings, 0 critical; all acknowledged, none fixed.
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 | 0 | 2 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 0 | 2 | 0 |
In the contract **Jpyw.sol**, the role **MINTER_ROLE** has authority over the following functions: - function `mint()` The role **BURNER_ROLE** has authority over the following functions: - function `burn()` The role **BLOCK_LIST_ROLE** has authority over the following functions: - function `addToBlockList()` - function `removeFromBlockList()` Any compromise to the privileged accounts may allow a hacker to take advantage of this authority and update the sensitive settings and execute sensitive functions of the project.
`Jpyw.sol` are upgradeable contracts, 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.
One or more logic contracts do not protect their initializers. An attacker can call the initializer and assume ownership of the logic contract, whereby she can perform privileged operations that trick unsuspecting users into believing that she is the owner of the upgradeable contract. ```solidity=8 contract Jpyw is ERC20Upgradeable, AccessControlEnumerableUpgradeable { ``` - `Jpyw` is an upgradeable contract that does not protect its initializer. ```solidity=20 function initialize() external initializer { ``` - `initialize` is an unprotected initializer function.
The return value of an external call is not stored in a local or state variable. ```solidity=48 blockList.add(_account); ``` --- ```solidity=56 blockList.remove(_account); ``` In the `EnumerableSetUpgradeable.sol` in https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/contracts/utils/structs/EnumerableSetUpgradeable.sol, add() and remove() will return boolean type of value.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (3)
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