Kelp DAO | rsETH - baice'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: 168/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-38
Q-52

External Links

Lines of code

https://github.com/code-423n4/2023-11-kelp/blob/main/src/LRTConfig.sol#L80-#L85

Vulnerability details

Impact

If something unexpected happens to a certain token, the assets need to be dropped and cannot be cancelled.

Proof of Concept

        UtilLib.checkNonZeroAddress(asset);
        if (isSupportedAsset[asset]) {
            revert AssetAlreadySupported();
        }
        isSupportedAsset[asset] = true;
        supportedAssetList.push(asset);
        depositLimitByAsset[asset] = depositLimit;
        emit AddedNewSupportedAsset(asset, depositLimit);
    }

There is no way to set the isSupportedAsset[asset] = false ;

Tools Used

VSCode

add new LRC Manager function to set the supported assets

Assessed type

Access Control

#0 - c4-pre-sort

2023-11-16T19:03:05Z

raymondfam marked the issue as insufficient quality report

#1 - c4-pre-sort

2023-11-16T19:03:20Z

raymondfam marked the issue as primary issue

#2 - c4-pre-sort

2023-11-16T19:05:11Z

raymondfam marked the issue as duplicate of #38

#3 - c4-judge

2023-12-01T17:45:49Z

fatherGoose1 changed the severity to QA (Quality Assurance)

#4 - c4-judge

2023-12-01T17:47:11Z

fatherGoose1 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