First Flight #12: Kitty Connect

First Flight #12: Kitty Connect
Beginner FriendlyFoundryNFTGameFi
100 EXP
View results
Submission Details
Severity: low
Invalid

No ability to remove shop partner in the KittyConnect

Summary

The KittyConnect contract enables the addition of multiple shop partners. However, it lacks functionality to remove shop partners. Consequently, if a business decides not to collaborate with a specific shop, there is no mechanism to remove it, allowing the said shop to continue minting tokens for its users.

Vulnerability Details

The absence of a function to remove shop partners within the KittyConnect contract constitutes a vulnerability. Without the ability to revoke access, unwanted shop partners retain the capability to mint tokens, compromising the integrity of the system.

Impact

The inability to remove shop partners poses a significant operational risk. If a business no longer wishes to engage with a particular shop, it has no recourse to prevent the shop from minting tokens, potentially leading to unauthorized token issuance and misuse.

Tools Used

Manual review, code analysis.

Recommendations

Implementing a blacklist functionality within the KittyConnect contract would be advisable. This feature would enable the addition of unwanted shop partners to a blacklist, effectively revoking their ability to mint tokens. By incorporating this blacklist mechanism, businesses gain enhanced control over their partnerships, thereby mitigating the risks associated with unauthorized token issuance.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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