FIAT DAO veFDT contest - 0xsolstars's results

Unlock liquidity for your DeFi fixed income assets.

General Information

Platform: Code4rena

Start Date: 12/08/2022

Pot Size: $35,000 USDC

Total HM: 10

Participants: 126

Period: 3 days

Judge: Justin Goro

Total Solo HM: 3

Id: 154

League: ETH

FIAT DAO

Findings Distribution

Researcher Performance

Rank: 105/126

Findings: 1

Award: $29.89

🌟 Selected for report: 0

🚀 Solo Findings: 0

Unfortunately, we did quite have the bandwidth to attack this with more detail but this appeared to be a mostly well-written repository!

Issue #1 : It's best practice to not have commented code in production code base. Remove commented code in test case or add relevant uncommented code.

https://github.com/code-423n4/2022-08-fiatdao/blob/fece3bdb79ccacb501099c24b60312cd0b2e4bb2/test/votingEscrowTest.ts#L565-L567

Issue #2: Missing zero address checks in constructor as well as in a number of admin functions. A zero-address check is a best security practice in initializations and contractors. There are several places where a zero address check is missing. Here are a few examples:

https://github.com/code-423n4/2022-08-fiatdao/blob/fece3bdb79ccacb501099c24b60312cd0b2e4bb2/contracts/features/Blocklist.sol#L15-L16 https://github.com/code-423n4/2022-08-fiatdao/blob/fece3bdb79ccacb501099c24b60312cd0b2e4bb2/contracts/VotingEscrow.sol#L120-L121 https://github.com/code-423n4/2022-08-fiatdao/blob/fece3bdb79ccacb501099c24b60312cd0b2e4bb2/contracts/VotingEscrow.sol#L107

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