Closed
Description
Note
Severity: Low
target: v5.0.0 - Commit: cde785fbd2dad71608d53f8524e0ef8c8f8178af
Ref: OKP4 CosmWasm Audit Report v1.0 - 02-05-2024 - BlockApex
Description
The instantiation process in the Objectarium contract lacks comprehensive input validation, specifically for the parameters associated with bucket configuration and limits. This deficiency may lead to configurations that render the contract functionally ineffective or vulnerable to misuse. The try_new
method in the Bucket class currently only checks for an empty bucket name, overlooking critical validations on the numerical limits set for the bucket.
Recommendation
Enhance the validation logic within the Bucket::try_new
method to include checks on all parameters.
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done