Sturdy contest - tintin's results

The first protocol for interest-free borrowing and high yield lending.

General Information

Platform: Code4rena

Start Date: 13/05/2022

Pot Size: $30,000 USDC

Total HM: 8

Participants: 65

Period: 3 days

Judge: hickuphh3

Total Solo HM: 1

Id: 125

League: ETH

Sturdy

Findings Distribution

Researcher Performance

Rank: 46/65

Findings: 1

Award: $44.77

🌟 Selected for report: 0

🚀 Solo Findings: 0

Low & QA report

Low#1 No 0x address check for newly added collateral tokens in CollateralAdapter

In the function addCollateralAsset():

        _assetToVaults[_externalAsset] = _acceptVault;
        _collateralAssets[_externalAsset] = _internalAsset;

there are no checks that the admin provided _externalAsset nor _internalAsset is not 0x0. If this is accidentally whitelisted then subsequent require checks against the 0 address will revert and functions like liquidationCall() will fail.

QA#1 No events emitted for newly added collateral tokens in CollateralAdapter

It would increase transparency if events were emitted when new collateral pairs are added

QA#2 Add events for configuring vaults with curve LP tokens and pool addresses

In ConvexCurveLPVault's setConfiguration() it is possible for admins to reassign addresses for curve and the pool, emitting an event would be helpful in letting users know.

#0 - HickupHH3

2022-06-06T07:08:36Z

both are NC

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