Open zlsecure3 opened 1 year ago
submission_id:1469205089
review_type:GRADING
result: TBD-yes,no
rating: TBD-123
comment: TBD-Rejected,Accepted by Secure3.
severity: TBD-Critical,Medium,Low,Informational
category:
description:
submission_id:1469205089
review_type:CLIENT_FEEDBACK
result: TBD-yes,no
severity: TBD-Critical,Medium,Low,Informational
comment:
submission_id:1469205089
review_type:CLIENT_FEEDBACK_DECISION
result: TBD-yes,no,yes-honored,no-honored
severity: TBD-Critical,Medium,Low,Informational
comment:
subject
Wrong main_uri append
description
In the StarNameService module, the main_uri will be spliced in the create_name_script function to complete the casting of SNS NFT. But it mistakenly spliced domain_name to name repeatedly, resulting in the lack of domain_name in the link of main_uri. And the token_mutate_config parameter of SNS is set to be unchangeable. So once the casting of SNS NFT is completed, the wrong main_uri will not be able to be modified.
The main_uri in the airdrop_mint function also has this issue.
The following is the setting of the
token_mutate_config
parameter in theStarNameService::create_name_script_nft
function:recommendation
The following code is recommended for fix.
locations
severity
Critical
damage
exploitability
category
Logical
system_generated: auditor:Kong7ych3 submission_id:1469205089