Open howlbot-integration[bot] opened 3 months ago
alex-ppg marked the issue as selected for report
alex-ppg marked the issue as satisfactory
alex-ppg marked the issue as primary issue
Per the original discussions in the validation repository, this finding's set was deemed as a valid medium-risk vulnerability due to being a feature described in the documentation that the Sponsor intends to introduce after the contest.
A medium severity was assessed because the functionality is not imperative to the way the protocol works (i.e. all contracts behave "as expected" without it), and burning functionality can be replicated by f.e. transferring funds to the 0xdeaD...DEaD
address.
alex-ppg changed the severity to 2 (Med Risk)
Vultisig sponsors (paaao and 0xtrips) confirmed via outside Github that the issue was confirmed and implemented.
Lines of code
https://github.com/code-423n4/2024-06-vultisig/blob/cb72b1e9053c02a58d874ff376359a83dc3f0742/hardhat-vultisig/contracts/Vultisig.sol#L1-L25
Vulnerability details
The Vultisig token, as described in its documentation, is expected to include a burnable feature. However, the current implementation of the Vultisig token contract lacks the necessary functions to support token burning. This report identifies the impact of this missing functionality and provides a recommended solution to implement the burn feature. The vultisig stated that they forgot to add this functionality.
Impact
Non-compliance with Documentation: Users and developers relying on the documentation will expect burn functionality, leading to confusion and potential loss of trust when they find it missing.
Proof of concept
As you can see from the code below function for burning is missing, consider adding it to the code.
Recommended Mitigation Steps
To address this issue, the following burn functions should be added to the Vultisig contract:
Burn Function:
Burn From Function:
Here is the modified contract with the added burn functionality: Something like this can be added to the
Vultisig
code:Assessed type
ERC20