Kelp DAO | rsETH - stackachu's results

A collective DAO designed to unlock liquidity, DeFi and higher rewards for restaked assets through liquid restaking.

General Information

Platform: Code4rena

Start Date: 10/11/2023

Pot Size: $28,000 USDC

Total HM: 5

Participants: 185

Period: 5 days

Judge: 0xDjango

Id: 305

League: ETH

Kelp DAO

Findings Distribution

Researcher Performance

Rank: 151/185

Findings: 1

Award: $2.76

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

2.7592 USDC - $2.76

Labels

bug
downgraded by judge
grade-b
insufficient quality report
QA (Quality Assurance)
duplicate-168
Q-98

External Links

Lines of code

https://github.com/code-423n4/2023-11-kelp/blob/main/src/LRTDepositPool.sol#L141

Vulnerability details

Impact

There is no check in LRTDepositPool.depositAsset() to ensure that the amount of rsETH minted upon deposit is non-zero. The amount could be zero if the price oracle used to determine the price of the deposited asset erroneously returns 0. This would cause the user to effectively lose the deposited asset.

Proof of Concept

Tools Used

Manual review.

  • Check if rsethAmountMinted is zero in depositAsset() and revert if this is the case.

Assessed type

Invalid Validation

#0 - c4-pre-sort

2023-11-16T02:41:52Z

raymondfam marked the issue as insufficient quality report

#1 - c4-pre-sort

2023-11-16T02:42:00Z

raymondfam marked the issue as duplicate of #168

#2 - c4-judge

2023-12-01T16:58:42Z

fatherGoose1 changed the severity to QA (Quality Assurance)

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