Skip to content

[BUG]: Implement a maximum minting cap or require multi-signature approval for bulk mints. #35

@aniket866

Description

@aniket866

Bug Description

  • Where: TNT.sol ->issueToken function

  • Issue: There is no limit on token minting. A compromised MINTER_ROLE can infinitely mint tokens.

  • Fix: Implement a maximum minting cap or require multi-signature approval for bulk mints.

  • Why: It creates a severe security risk if minter credentials are breached, allowing attackers to spam or dilute the token namespace.

Steps to Reproduce

N/A

Logs and Screenshots

No response

Environment Details

No response

Impact

Medium - Feature works but has issues

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions