FEI and TRIBE Redemption contest - yixxas'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: 28/101

Findings: 1

Award: $33.81

🌟 Selected for report: 0

🚀 Solo Findings: 0

N-01) No check on _claim() and _redeem() for correct cToken address input. While it does not seem to cause any security issues here, it would be a good precaution to take. Recommended: Check merkleRoot[cToken] != address(0)

N-02) Function redeem() loops through the list of token address and do a safeTransfer. In the event if any of the tokens fail to transfer to the receiving address for whatever reasons, it will revert for all tokens. Recommended: Do a normal transfer instead in case of unexpected transfer failure of a single token that cannot be addressed.

N-03) Likewise, in function previewRedeem(), there is a check of require(balance != 0, "ZERO_BALANCE") for all of the token, and if one token balance is 0, it will cause a revert for all. Recommended: Remove this check as it is unnecessary. Instead, in redeem(), we can do the token transfer only if amountsOut[i] != 0.

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