ParaSpace contest - kankodu's results

The First Ever Cross-Margin NFT Financialization Protocol.

General Information

Platform: Code4rena

Start Date: 28/11/2022

Pot Size: $192,500 USDC

Total HM: 33

Participants: 106

Period: 11 days

Judge: LSDan

Total Solo HM: 15

Id: 186

League: ETH

ParaSpace

Findings Distribution

Researcher Performance

Rank: 75/106

Findings: 1

Award: $103.92

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

  • Where: FlashClaimLogic

  • When a user smart contract calls executeFlashClaim the Pool sends them NFTs and then calls executeOperation function on the receiver address.

  • Usually the receiver smart contract has the check on executeOperation to make sure that msg.sender is the pool. Like OnlyPool modifier on the sample implementation done by the team. (see here)

  • This check is not sufficient as anyone can specify the receiver address and make the receiver contract do unexpected things by specifying malicious params.

  • See here to get an idea of what can happen.

Suggestion

  • Pass on the initiator address in executeOperation as well. see ERC3156 for reference.

#0 - c4-judge

2023-01-25T10:38:36Z

dmvt marked the issue as grade-b

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