Fractional v2 contest - David_'s results

A collective ownership platform for NFTs on Ethereum.

General Information

Platform: Code4rena

Start Date: 07/07/2022

Pot Size: $75,000 USDC

Total HM: 32

Participants: 141

Period: 7 days

Judge: HardlyDifficult

Total Solo HM: 4

Id: 144

League: ETH

Fractional

Findings Distribution

Researcher Performance

Rank: 105/141

Findings: 1

Award: $61.94

🌟 Selected for report: 0

πŸš€ Solo Findings: 0

impact

Missing zero address validation

Contracts Affected -

https://github.com/code-423n4/2022-07-fractional/blob/8f2697ae727c60c93ea47276f8fa128369abfe51/src/VaultRegistry.sol#L127 https://github.com/code-423n4/2022-07-fractional/blob/8f2697ae727c60c93ea47276f8fa128369abfe51/src/VaultRegistry.sol#L165

Description -

functions in this contracts that are missing zero address validation. Adding a zero address check is necessary because, in Ethereum, a zero address is something to which if any funds or tokens are transferred, it can not be retrieved back. In this case, there won’t be any loss of token but if the amount or address is zero it would be a wastage of gas and might cause some other issues. Hence, it is recommended to add a check for zero addresses.

Remediation -

Consider adding a require statement that validates input against zero address to mitigate the same.

#0 - HardlyDifficult

2022-08-07T15:38:58Z

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