Kuiper contest - JMukesh's results

Automated portfolio protocol.

General Information

Platform: Code4rena

Start Date: 16/09/2021

Pot Size: $50,000 USDC

Total HM: 26

Participants: 30

Period: 7 days

Judge: GalloDaSballo

Total Solo HM: 17

Id: 36

League: ETH

Kuiper

Findings Distribution

Researcher Performance

Rank: 14/30

Findings: 4

Award: $1,043.18

🌟 Selected for report: 3

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: hack3r-0m

Also found by: JMukesh, itsmeSTYJ, leastwood, shenwilly

Labels

bug
duplicate
2 (Med Risk)
sponsor acknowledged

Awards

131.4735 USDC - $131.47

External Links

Handle

JMukesh

Vulnerability details

Impact

return value from transfer() should be checked because ,it give the indication wether call is successful or not and different type of token handle the error differently so it is safe to use SafeTransfer()

https://consensys.net/diligence/audits/2021/01/fei-protocol/#unchecked-return-value-for-iweth-transfer-call

Proof of Concept

https://github.com/code-423n4/2021-09-defiProtocol/blob/52b74824c42acbcd64248f68c40128fe3a82caf6/contracts/contracts/Auction.sol#L101

https://github.com/code-423n4/2021-09-defiProtocol/blob/52b74824c42acbcd64248f68c40128fe3a82caf6/contracts/contracts/Auction.sol#L146

Tools Used

manual review

use safeTransfer()

#0 - frank-beard

2021-10-19T16:57:48Z

#1 - GalloDaSballo

2021-12-19T22:15:51Z

Duplicate of #196

Findings Information

🌟 Selected for report: 0xalpharush

Also found by: JMukesh, hack3r-0m, johnsterlacci

Labels

bug
duplicate
2 (Med Risk)

Awards

182.6021 USDC - $182.60

External Links

Handle

JMukesh

Vulnerability details

Impact

In burn(), it does not check wether the recipient is EOA or contract addresss and tokens are burned after the pushUnderlying() which transfer the token , this can lead to reentrancy

some tokens allows the token contract to notify senders and recipients when tokens are sent or received from their accounts. This notification is in the form of a callback to the recipient. Therefore, if the recipient of the tokens is a smart contract, the smart contract can choose to react to such events. One possible reaction to such an event is reentering the contract .

Proof of Concept

https://github.com/code-423n4/2021-09-defiProtocol/blob/52b74824c42acbcd64248f68c40128fe3a82caf6/contracts/contracts/Basket.sol#L89

Tools Used

manual review

add reentrancy guard

#0 - frank-beard

2021-09-28T21:28:54Z

#1 - GalloDaSballo

2021-12-19T00:04:42Z

Duplicate of #248

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