-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π‘οΈ Lack of Storage Address Validation in Law-Stone Instantiation #557
Comments
@amimart Absolutely, the verification is indeed indirectly handled when the instantiate function attempts to store the object. Therefore, an additional check might not be necessary. Otherwise, regarding the |
@bdeneux From what I see from: https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Addr.html
|
I would also be in favour of closing this one for all the reasons already mentioned. |
If we all agree, let's close this one :) |
Note
Severity: Low
target: v5.0.0 - Commit: cde785fbd2dad71608d53f8524e0ef8c8f8178af
Ref: OKP4 CosmWasm Audit Report v1.0 - 02-05-2024 - BlockApex
Description
The instantiation process of the law-Stone does not include validation for the
storage_address
provided in theInstantiateMsg
.This will result in a transaction failure.Recommendation
Implement proper validation checks in the instantiate function to ensure the
storage_address
is well-formed and authorized for the intended operational context.The text was updated successfully, but these errors were encountered: