FEI and TRIBE Redemption contest - 0xSky's results

A new DeFi primitive that allows any token to become productive and provide FEI liquidity at no cost to the markets that need it most.

General Information

Platform: Code4rena

Start Date: 09/09/2022

Pot Size: $42,000 USDC

Total HM: 2

Participants: 101

Period: 3 days

Judge: hickuphh3

Total Solo HM: 2

Id: 161

League: ETH

Tribe

Findings Distribution

Researcher Performance

Rank: 33/101

Findings: 1

Award: $33.67

🌟 Selected for report: 0

🚀 Solo Findings: 0

cToken validation is missing

In _redeem of RariMerkleRedeemer.sol, cToken validation is missing. But _multiRedeem correctly validates ctoken addresses here. The impact is not high, but I recommend to use the same validation in _redeem.

validation is missing in the constructor of TribeRedeemer

In the constructor of TribeRedeemer, there are three parameters and there is no validation about them.

https://github.com/code-423n4/2022-09-tribe/blob/769b0586b4975270b669d7d1581aa5672d6999d5/contracts/shutdown/redeem/TribeRedeemer.sol#L27-L35

If _redeemBase = 0, previewRedeem and redeem will revert. And if _redeemedToken = address(0), previewRedeem is okay, but redeem will revert. So I recommend to validate those inputs.

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