CertiK reviewed STA (STA Token) on 7 Feb 2023: 10 findings, 0 critical; 2 acknowledged, 8 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 | 2 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 8 | 0 | 0 |
The approval function of the ERC20 standard possesses a well-known vulnerability whereby two consecutive approvals can be exploited to instead “reset” the approval by consuming the approval that is meant to be replaced with a new one.
The following functions are declared as `public`, contain array function arguments, and are not invoked in any of the contracts contained within the project's scope. Functions that are never called internally within the contract should have `external` visibility.
It is highly recommended NOT to include OpenZeppelin library code directly in source code, but import the original library to minimize risk because even slight changes to the library code may lead to critical/major vulnerabilities/bugs. For Solidity version 0.6.x, the latest OpenZeppelin version 3.4.2 should be used.
The change of `_owner` by function `transferOwnership()` overrides the previously set `_owner` with the new one without guaranteeing the new `owner` has the ability to actuate transactions on-chain.
The linked statements do not affect the functionality of the codebase and appear to be either leftovers from test code or older functionality.
Solidity frequently releases new compiler versions. Using an old version prevents access to new Solidity security features. Also, recent versions may be too early to be trusted. The Solidity version in use is `0.5.16`.
Literals with many digits are difficult to read and review.
Variables `_decimals`, `_symbol` and `_name` could be declared as `constant` since these state variables are never to be changed.
| Address | Chain | Source code |
|---|---|---|
| 0x4d1e…f53c0x4d1e90ab966ae26c778b2f9f365aa40abb13f53c | Chain: BNB Chain | 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