Backed Protocol contest - hubble's results

Protocol for peer to peer NFT-Backed Loans.

General Information

Platform: Code4rena

Start Date: 05/04/2022

Pot Size: $30,000 USDC

Total HM: 10

Participants: 47

Period: 3 days

Judge: gzeon

Total Solo HM: 4

Id: 106

League: ETH

Backed Protocol

Findings Distribution

Researcher Performance

Rank: 42/47

Findings: 1

Award: $51.87

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

51.8678 USDC - $51.87

Labels

bug
QA (Quality Assurance)
sponsor acknowledged

External Links

Summary of Findings for Low / Non-Critical issues

Issue#1 : null check for loanAssetContractAddress missing in createLoan

Details Issue#1

Title : null check for loanAssetContractAddress missing in createLoan

The null check for loanAssetContractAddress is done in lend function where it will fail. However it is good if this null check is added in the createLoan function, so that invalid loanInfo storage is not created in the first place.

Proof of Concept

Contract : NFTLoanFacilitator.sol Function : createLoan(...)

Add below require statement in createLoan function

require(loanAssetContractAddress != address(0), "NFTLoanFacilitator: invalid loan");

#0 - wilsoncusack

2022-04-08T13:52:16Z

we will probably move this to createLoan but it also need to check the code.length #46

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