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.
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.
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.
Manual review, code analysis.
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.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.