Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Invalid

Centralization Risk for trusted owners

Summary

Contracts have owners with privileged rights to perform admin tasks and need to be trusted to not perform malicious updates or drain funds.

##Vulnerability Detail

  • Found in CredToken.sol

    contract Credibility is ERC20, Ownable {
  • Found in CredToken::setStreetsContract

    function setStreetsContract(address streetsContract) public onlyOwner {
  • Found in OneShot

    contract OneShot is IOneShot, ERC721URIStorage, Ownable {
  • Found in OneShot::setStreetsContract

    function setStreetsContract(address streetsContract) public onlyOwner {

Impact

  • Potential loss of funds

Tools Used

Aderyn

Recommendation

Make RapBattle::oneShotNft and RapBattle::credToken immutables

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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