NFTBooks

CertiKFiles named in the report

CertiK reviewed NFTBOOKS on 27 Feb 2023: 22 findings, 0 critical; 16 marked fixed, 3 acknowledged, 3 open.

No open critical findings
Open the reportOpen NFTBOOKS’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings22

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

SeverityOpenAcknowledgedFixed
Critical000
High031
Medium101
Low2014
MediumInitial Token DistributionOpen

All of the `NFTBS` tokens are sent to the contract deployer when deploying the contract. This could be a centralization risk, as the deployer can distribute tokens without obtaining the consensus of the community. Due to the privilege of the deployer, it is possible to be maliciously manipulated by hackers if the account of the deployer is compromised.

LowPotential Sandwich AttacksOpen

A sandwich attack may happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (executing before the target) a transaction to purchase one of the assets and make profits by backrunning (executing after the target) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens()` - `uniswapV2Router.addLiquidityETH()`

LowUsing ERC-721 Token For BooksOpen

The contract `BookContract` inherited from the `NFTBookBase` contract is an ERC721 token, which in general should be distinguishable and the ownership can be easily tracked. However, the books can have several identical copies, especially the E-Books can be easily copied and the ownership is hard to tell.

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 (35)

  • nftbs-marketplace-master/contracts/BookContract.sol
  • nftbs-marketplace-master/contracts/mixins/NFTMarketPrivateSale.sol
  • nftbs-upgradable-token-master/contracts/NFTBSBscTreasury.sol
  • nftbs-marketplace-master/contracts/interfaces/EIPS/IERC4907.sol
  • nftbs-upgradable-token-master/contracts/interfaces/IWMATIC.sol
  • nftbs-marketplace-master/contracts/interfaces/IConfig.sol
  • nftbs-marketplace-master/contracts/mixins/roles/TranslatorRole.sol
  • nftbs-marketplace-master/contracts/mixins/Constants.sol
  • nftbs-marketplace-master/contracts/NFTBSBookFactory.sol
  • nftbs-marketplace-master/contracts/NFTBSTreasury.sol
  • nftbs-marketplace-master/contracts/libraries/SharedTypes.sol
  • nftbs-marketplace-master/contracts/mixins/NFTMarketFees.sol
  • nftbs-upgradable-token-master/contracts/NFTBooks.sol
  • nftbs-marketplace-master/contracts/NFTBSContractRegistry.sol
  • nftbs-marketplace-master/contracts/mixins/NFTBookMetadata.sol
  • nftbs-marketplace-master/contracts/mixins/NFTMarketPreorder.sol
  • nftbs-marketplace-master/contracts/mixins/roles/AuthorRole.sol
  • nftbs-marketplace-master/contracts/mixins/roles/AccessControlUpgradeable.sol
  • nftbs-marketplace-master/contracts/mixins/NFTMarketRental.sol
  • nftbs-marketplace-master/contracts/mixins/NFTBookCIDStorage.sol
  • nftbs-upgradable-token-master/contracts/NFTBSRewards.sol
  • nftbs-marketplace-master/contracts/interfaces/IBookContractInitializer.sol
  • nftbs-marketplace-master/contracts/interfaces/IRoles.sol
  • nftbs-marketplace-master/contracts/mixins/roles/PublisherRole.sol
  • nftbs-marketplace-master/contracts/mixins/roles/AdminRole.sol
  • nftbs-marketplace-master/contracts/NFTBSRolesContract.sol
  • nftbs-upgradable-token-master/contracts/interfaces/INFTBooks.sol
  • nftbs-marketplace-master/contracts/mixins/roles/OperatorRole.sol
  • nftbs-marketplace-master/contracts/mixins/NFTMarketCore.sol
  • nftbs-marketplace-master/contracts/interfaces/IBookContract.sol
  • nftbs-marketplace-master/contracts/NFTBSConfig.sol
  • nftbs-marketplace-master/contracts/NFTBSMarket.sol
  • nftbs-marketplace-master/contracts/interfaces/IContractRegistry.sol
  • nftbs-marketplace-master/contracts/interfaces/IBookFactory.sol
  • nftbs-marketplace-master/contracts/mixins/NFTBookBase.sol

Part of NFTBOOKS’s security record

NFTBOOKS
Audits1 audit by 1 firmLast audit Feb 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open NFTBOOKS’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 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