Superpower Squad has 1 public audit report from CertiK; dated 9 Dec 2022; no critical findings reported.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Statuses are the security firms’ own
13 findings are still open or acknowledged in the firms’ reports: 1 high, 12 low (12 open, 1 acknowledged).
Centralization Related Risks
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Inconsistency Risk with `_tokenIdCounter`
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Logical Issue with Freezing Feature
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Missing Emit Events
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Missing Error Messages
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Out of Scope Dependencies
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Potential Overflow
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Redundant Code Components
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Unnecessary Use of SafeMath
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Unsafe Type Cast
Superpower Squad - New Deal · CertiK · 9 Dec 2022 · Report ↗
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Superpower Squad - New Deal | Security firm: CertiK | Date: | Scope: Files listed | None open | Findings: 1 high · 15 low 3 fixed · 1 acknowledged · 12 open | skynet.certik.com ↗ |
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 12 | 0 | 3 |
In the contract `HERC721IMLogic.sol`, the variable `_tokenIdCounter` is used when minting a token with the zero id, to set automatically the right number as the id of the token minted. \ However, this only works if `tokenId == 0`, if not then `tokenId` can be set freely, and the `_tokenIdCounter` will not be updated. Moreover, the function `setTokenIdCounter()` allows a privileged address to completely change the counter. This could create inconsistencies about the count of tokens, and unexpected mistakes when minting a token.
Open the reportThe `HERC721IMLogic.sol` allows freezing tokens using the functions `_freezeNormal()` and `_freezeSudo()`. \ Both functions allow freezing a `tokenId` multiple times. In addition to that, `_freezeSudo()` allows freezing a non-yet minted `tokenId`. ----- Also, the freezing functions will lock a token and store the address of an `unlocker`. However, the purpose of this parameter is unclear and seems to never be used outside of the freeze/thaw functions.
Open the reportThere should always be events emitted in sensitive functions that are controlled by centralization roles.
Open the reportThe `revert()` statements should provide a description of the condition not met. The `require()` statements can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.
Open the reportMany contracts are importing or inheriting files outside of the audit scope. The scope of the audit treats these entities as black boxes and assumes their functional correctness. However, in the real world, these contracts could be compromised and this may lead to lost or stolen assets.
Open the reportIn the contract `HERC20IMLogic.sol`, the function `_beforeTokenTransfer()` updates the `uint _transferAmounts` variable as follow: ```solidity=140 unchecked{_transferAmounts = _transferAmounts + amount;} ``` Since this operation takes place inside an `unchecked{}` block, an overflow could happen.
Open the reportThe linked statements do not affect the functionality of the codebase and appear to be either leftovers from test code or older functionality.
Open the reportThe `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow.
Open the report```solidity=375 return address(uint160(uint256(_fixedAttribute[attributeName][tokenId]))); ``` - The type conversion `uint160(uint256(_fixedAttribute[attributeName][tokenId]))` from larger type uint256 to smaller type uint160 may truncate data. --- ```solidity=381 ret[i] = address(uint160(uint256(_fixedAttribute[attributeName[i]][tokenId]))); ``` - The type conversion `uint160(uint256(_fixedAttribute[attributeName[i]][tokenId]))` from larger type uint256 to smaller type uint160 may truncate data. --- ```solidity=48 return address(uint160(uint256(delegatesSlot.sysUniqueIndexMapGetValue(index)))); ``` - The type conversion `uint160(uint256(delegatesSlot.sysUniqueIndexMapGetValue(index)))` from larger type uint256 to smaller type uint160 may truncate data. --- ```solidity=95 return address(uint160(uint256(adminSlot.sysLoadSlotData()))); ``` - The type conversion `uint160(uint256(adminSlot.sysLoadSlotData()))` from larger type uint256 to smaller type uint160 may truncate data.
Open the reportThe return value of an external call is not stored in a local or state variable.
Open the reportLibrary `EnhancedMap` does not appear to be used within any of the audited files. This library contains functions which update files on a low-level, and, depending on how they are used, can present vulnerabilities within a contract with which it is used.
Open the reportIn the library `SlotData.sol`, the function `sysSaveSlotData()` allows the registration of any data in any slot number. \ If this function is not restricted enough it could present vulnerabilities as using EVM assembly is extremely error-prone.
Open the reportThe reports name a repository or files. Open a report to see its scope.
Trustblock holds 1 public audit report for Superpower Squad, dated 9 Dec 2022. The latest is by CertiK (“Superpower Squad - New Deal”).
CertiK wrote the report Trustblock holds for Superpower Squad.
13 findings are still open or acknowledged in the firms’ reports: 1 high, 12 low (12 open, 1 acknowledged). No critical finding is reported. Statuses are the security firms’ own.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="superpower-squad"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
Something 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