Space Nation: Space NFT Registration

CertiKFiles named in the report

CertiK reviewed Space Nation Oikos (Space Nation: Space NFT Registration) on 5 Jul 2024: 13 findings, 0 critical; 8 marked fixed, 1 acknowledged, 4 open.

No open critical findings
Open the reportOpen Space Nation Oikos’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings13

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium002
Low406
LowLack of reward for userOpen

In the current implementation, users do not receive any rewards when staking their NFTs into the contract. Without rewards, users have no financial or intrinsic motivation to stake their NFTs, which undermines the purpose of the staking mechanism. This could result in lower user engagement and participation in the staking program, reducing the overall effectiveness and attractiveness of the platform.

LowMiners may be unable to ban user after calling `rOpen

In commit 0bca20747f2b80ab8d126886a7ae41e62afc88d3, the logic in function `reduceBanningDuration` is updated. Specifically, if `remaingts <= timestamp`, instead of deleting the ban info of a user, the expire time of the ban is set to current timestamp. ```solidity=278 if (remaingts <= timestamp) { banInfo[player] = block.timestamp; } ``` However, in function `ban`, there is a require statement `require((banInfo[player] == 0), "The user has been banned");`, which only allow miners to ban players when `banInfo[player]` is 0. Since `banInfo[player]` is no longer set to 0 in function `reduceBanningDuration`, Miners may not be able to ban players after calling `reduceBanningDuration`

LowOut of Scope Dependency UsageOpen

The contract is serving as the underlying entity to interact with one or more out of scope contracts. The scope of the audit treats these contracts as black boxes and assumes their functional correctness. However, in the real world, those contracts can be compromised and this may lead to lost or stolen assets. ```solidity address nft, ``` - The function `stakeShip.stake` interacts with third party contract with `IERC721` interface via `nft`. --- ```solidity function unstake(address nft, uint64 nftId) external { ``` - The function `stakeShip.unstake` interacts with third party contract with `IERC721` interface via `nft`. --- ```solidity address nft, ``` - The function `stakeShip.disassemble` interacts with third party contract with `NFTBurn` interface via `nft`.

LowPurpose of function `disassemble`Open

According to the comments, The purpose of function `disassemble` is "Stakers can burn their NFTs based on a valid signed request." We would like to know why a staker would want their NFT being burned, as there is no apparent benefit doing so.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (3)

  • stakeShip.sol
  • SpaceNFTRegistry.sol
  • contracts/stakeShip.sol

Part of Space Nation Oikos’s security record

Space Nation Oikos
Audits3 audits by 2 firmsLast audit Feb 2025, by Quantstamp.
Critical findingsNo open critical findingsAcross 3 reports.
Open Space Nation Oikos’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

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