The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Tokens may be minted to the zero address

Summary

Tokens may be minted to the zero address

Vulnerability Details

The target address is not checked in the mint function.

Impact

File: contracts/SmartVaultV3.sol
/// @audit _to
160: function mint(address _to, uint256 _amount) external onlyOwner ifNotLiquidated {
161: uint256 fee = _amount * ISmartVaultManagerV3(manager).mintFeeRate() / ISmartVaultManagerV3(manager).HUNDRED_PC();
162: require(fullyCollateralised(_amount + fee), UNDER_COLL);
163: minted = minted + _amount + fee;
164: EUROs.mint(_to, _amount);
165: EUROs.mint(ISmartVaultManagerV3(manager).protocol(), fee);
166: emit EUROsMinted(_to, _amount, fee);
167: }

160-167

Tools Used

Recommendations

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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