Nibbl contest - 0x52's results

NFT fractionalization protocol with guaranteed liquidity and price based buyout.

General Information

Platform: Code4rena

Start Date: 21/06/2022

Pot Size: $30,000 USDC

Total HM: 12

Participants: 96

Period: 3 days

Judge: HardlyDifficult

Total Solo HM: 5

Id: 140

League: ETH

Nibbl

Findings Distribution

Researcher Performance

Rank: 77/96

Findings: 1

Award: $28.28

🌟 Selected for report: 0

🚀 Solo Findings: 0

Lines of code

https://github.com/code-423n4/2022-06-nibbl/blob/8c3dbd6adf350f35c58b31723d42117765644110/contracts/NibblVault.sol#L466

Vulnerability details

All other potential airdrops and royalties (ERC20, ERC721, ERC1155) are given to the bidder so it only seems fair that ETH received in this manner should be given to the bidder as well

Impact

ETH accumulated by underlying ERC721 in vault from royalties or airdrops are paid out to fictionalized ERC20 holders on buyout instead of bidder

Proof of Concept

Redeem gives fictionalized ERC20 holders their proportion of the ETH in the contract less the curator fee and unsettle bid amount. This does not account for any ETH received by the NFT such as royalties and airdrops while the NFT is in the contract. This means that any ETH received in this manner will instead be given to fictionalized ERC20 holders on buyout instead of the bidder.

Tools Used

Add a fallback function that counts and stores all ETH received from calls with no data as ETH received by the NFT. Add another function that allows the bidder to withdraw this amount after buyout is successful

#0 - HardlyDifficult

2022-07-03T15:00:31Z

This seems like a consideration aiming to improve the design. It's not clear that this would be the better solution and it does not seem to break the protocol -- so lowering the risk and converting this into a QA report for the warden.

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter