CertiK reviewed Swipe (Swipe Governance) on 2 Sep 2020: 10 findings, 0 critical; 1 marked fixed, 9 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 | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 9 | 0 | 1 |
Both the Governance and GovernanceTimelock contracts has duplicate functions related to assuming guardianship.
Both the Governance and GovernanceTimelock contracts has multiple duplicate instances of the same requirement related to access restriction that the message sender should be the guardian account and the authorizedNewGuardian account.
The Governance contract has multiple duplicate instances of the same requirement that a proposal identifer is valid.
The Governance.getProposal function makes insufficient use of gas by copying Proposal field values from a storage pointer, which has a higher gas cost than copying the Proposal structure into memory.
Different Solidity compiler version requirements were used throughout the provided smart contracts: File Version Governance.sol ^0.5.16 GovernanceEvent.sol ^0.5.16 GovernanceProxy.sol ^0.5.0 GovernanceStorage.sol ^0.5.16 GovernanceTimelock.sol ^0.5.16 GovernanceTimelockEvent.sol ^0.5.16 GovernanceTimelockProxy.sol ^0.5.0 GovernanceTimelockStorage.sol ^0.5.16 IGovernanceTimelock.sol ^0.5.0 IStaking.sol ^0.5.0
The Governance.execute function has a loop over the queued proposal's actions in which a call is made to the GovernanceTimelock.executeTransaction function for each proposal action and ignores the data returned from the call to each target.
The Governance.executeAuthorizeGuardianshipTransfer function makes a call to the _timelock state variable's GovernanceTimelock.executeTransaction function and ignores the returned transaction hash bytes.
The Governance.internalQueueOrRevert function makes a call to the _timelock state variable's GovernanceTimelock.queueTransaction function and ignores the returned transaction hash bytes.
The Governance.queueAuthorizeGuardianshipTransfer function makes a call to the _timelock state variable's GovernanceTimelock.queueTransaction function and ignores the returned transaction hash bytes
The report names a repository or files. Open the report to see its scope.
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