Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

lack of zero check in

Summary:

Lack of zero check in some places.
The constructor does not check if the _guardian address is zero. This could lead to a scenario where the guardian is unintentionally set to the zero address, which could disable important functionality or security mechanisms.

Vulnerability Details:

src/factory/TadleFactory.sol#L40

src/core/CapitalPool.sol#L24

src/core/TokenManager.sol#L43

Impact:

The impact of not performing zero checks in smart contracts can be significant, leading to potential vulnerabilities and unintended behaviors

Tools Used:

slither

Recommendations:

Implement Zero Checks:

Add require statements to check for zero addresses in constructors and function parameters. This prevents the contract from operating with invalid addresses and ensures that critical operations only occur with valid inputs.

Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.