CertiK reviewed ONFA (ONFA - Audit) on 30 Dec 2024: 3 findings, 0 critical; 1 marked fixed, 1 acknowledged, 1 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 | 1 |
| Medium | 0 | 0 | 0 |
| Low | 0 | 1 | 0 |
A reentrancy attack can occur when the contract creates a function that makes an external call to another untrusted contract before resolving any effects. If the attacker can control the untrusted contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects. *This finding is considered minor because the state variable is only incremented or decremented. So, the effect of out-of-order increments may be unobservable after transaction. However, the reentrancy vulnerability may still cause other issues in the middle of transaction.* ### External call(s) ```solidity=1551 _safeMint(to, tokenId); ``` * This function call executes the following external call(s). * In `ERC721._checkOnERC721Received`, * `retval = IERC721Receiver(to).onERC721Received(_msgSender(),from,tokenId,_data)` ### State variables written after the call(s) ```solidity=1552 _setTokenURI(tokenId, uri); ``` * This function call executes the following assignment(s). * In `ERC721URIStorage._setTokenURI`, * `_tokenURIs[tokenId] = _tokenURI` --- ### External call(s) ```solidity=1575 _safeMint(to[i], tokenId[i]); ``` * This function call executes the following external call(s). * In `ERC721._checkOnERC721Received`, * `retval = IERC721Receiver(to).onERC721Received(_msgSender(),from,tokenId,_data)` ### State variables written after the call(s) ```solidity=1576 _setTokenURI(tokenId[i], uri[i]); ``` * This function call executes the following assignment(s). * In `ERC721URIStorage._setTokenURI`, * `_tokenURIs[tokenId] = _tokenURI`
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (5)
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