MELD audit reports

Avalanche, Ethereummeld.comXGitHub

MELD has 2 public audit reports from CertiK; the latest is CertiK, 9 Jun 2023; no critical findings reported. It also holds 2 deployed contracts on 2 chains.

Critical and high findings
No open critical findings; 1 high acknowledged in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits2

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
MeldDAOSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 1 high · 3 medium · 11 low
9 fixed · 2 acknowledged · 4 open
skynet.certik.com ↗
MELD - ERC20 AuditSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 2 medium · 3 low
4 fixed · 1 acknowledged
skynet.certik.com ↗

Findings20

20 findings in 2 reports: 13 fixed, 3 acknowledged (the team chose not to change the code), 4 open.

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium023
Low4010

Not fixed (7)

HighAcknowledgedCentralization Related RisksMeldDAO · CertiK · 9 Jun 2023

In the contract `MeldDaoERC721` the role `DEFAULT_ADMIN_ROLE` has authority over the functions shown in the diagram below. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6815ffee8a624d5aab7865c06822fcad/diagrams/centralization_MeldDaoERC721-MeldDaoERC721-DEFAULT_ADMIN_ROLE.svg) Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and: - function setNftPrice(), to change the value of `nftPrice` which is the `MeldToken` amount to buy the voting NFT. - function setRedemptionFee(), to change the `redemptionFee` which is the fee amount when redeeming the voting NFT back to the `MeldToken`. - function setFeeAddress(), to change the addresses `feeAddress` to receive the redemption fee. - function setDaoAddress(), to change the address `daoAddress` which can call the function `updateRedeemableTimestamp()` to change the redeemable timestamp. - function setURI(), to change the NFT uri. - function withdrawMeldTokens(), to withdraw the Meld tokens that were wrongfully locked in this contract. - function rescueERC20(), to transfer ERC20 tokens except for MeldToken in the contract to any address - function rescueERC721(), to transfer any type of ERC721 tokens in the contract to any address - function rescueERC1155(), to transfer any type of ERC1155 tokens in the contract to any address In the contract `MeldDaoERC721` the role `daoAddress` has authority over the functions shown in the diagram below. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6815ffee8a624d5aab7865c06822fcad/diagrams/centralization_MeldDaoERC721-MeldDaoERC721-daoAddress.svg) Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and: - function `updateRedeemableTimestamp()`, to change the redeemable timestamp. In the contract `MeldVotingContract`, the role `adminRolePerDao[dao]` has authority over the following functions: - function setMaxDelegatesPerNft(), to set the maximum number of delegates per NFT. Also, the role `registered adapters` has authority over the following functions: - function configureDao(), to configure the `MeldVotingContract` setting the associated `MeldDaoERC721` address, admin roles and `maxDelegatesPerNft`. - function startNewVotingForProposal(), to start a new voting proposal considering the block time and number. In the contract `MeldProposalInitializerContract`, the role `adminRolePerDao[dao]` has authority over the following functions: - function setCanAnyonePropose(), to change the flag that allows anyone to propose. - function setMinVotingPeriod(), to set the minimum voting period. - function setMaxVotingPeriod(), to set the maximum voting period. Also, the role `registered adapters` has authority over the following functions: - function configureDao(), to configure the `MeldProposalInitializerContract` setting the associated `dao` address, admin and proposal creator roles, `minVotingPeriod`, and `maxVotingPeriod`. The contracts `DaoFactory` and `DaoRegistry` allow several initial members like the contract deployer, specific `creator`, and `payer` to set up the DAO configurations and take complete control over the DAO. For example: - function addAdapters(), to add adapters and sets their ACL flag to grant specific operation privileges. - function configureExtension(), to configure the extension to set the ACL flag. - function updateAdapter(), to replace an adapter with a new one. - function replaceAdapter(), to replace an adapter with a new one. - function finalizeDao(), to set the state of the DAO to READY. - function setConfiguration(), to change the `mainConfiguration` value. - function setAddressConfiguration(), to change the `addressConfiguration` value. - function addExtension(), to add a new extension to the DAO registry. - function removeExtension(), to remove an adapter from the registry. - function setAclToExtensionForAdapter(), to set the ACL flags to an adapter to make it possible to access specific functions of an Extension. - function submitProposal(), to submit proposals to the DAO registry. - function sponsorProposal(), to sponsor proposals submitted to the DAO registry. - function jailMember(), to mark a member as jailed. - function unjailMember(), to mark a member as not jailed. - function potentialNewMember(), to register a member address in the DAO. - function updateDelegateKey(), to update the delegate key of a member. Once the function `finalizeDao()` is called, only registered adapters and extensions with the specific ACL flag can call the privileged functions. According to the feedback from the development team, some of the functionalities are not used in the current project and the actual usages may be different.

Report ↗
MediumAcknowledgedLack of Minimum Voting Number(Quorum) RestrictionMeldDAO · CertiK · 9 Jun 2023

In the function `voteResult()`, the voting result is only based on the number of YES and NO votes without considering the total amount of votes, namely the quorum. As a result, a malicious user could potentially submit a proposal with a random proposal ID and minimum voting period, and other users may not notice this. And this vote may pass because only the malicious user participate and voted yes.

Report ↗
MediumAcknowledgedUnknow Trusted Forwarder ImplementationMELD - ERC20 Audit · CertiK · 15 May 2023

The variable `_trustedForwarder` serves as a 3rd party forwarder to help the `ERC2771Recipient` identify the address of the transaction signer. `BaseToken` and `MeldToken` inherit `ERC2771Recipient`, which decodes the `msg.sender` from `msg.data` when called from the forwarder by overriding the `_msgSender()` function. A malicious forwarder may forge the value of _msgSender() and effectively send transactions from any address. The scope of the audit treats these 3rd party forwarders as black boxes and assumes their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of 3rd parties can possibly create severe impacts. Reference: [EIP-2771](https://eips.ethereum.org/EIPS/eip-2771)

Report ↗
LowOpenLack of reasonable boundaryMeldDAO · CertiK · 9 Jun 2023

There are no reasonable boundaries for the variable `redemptionFee`. It is possible to set the total fee rate up to any arbitrary amount.

Report ↗
LowOpenUnsafe Integer CastMeldDAO · CertiK · 9 Jun 2023

--- ```solidity=116 return (flags >> uint8(flag)) % 2 == 1; ``` - The type conversion `uint8(flag)` from larger type uint256 to smaller type uint8 may truncate data.

Report ↗
LowOpenUser-Defined GettersMeldDAO · CertiK · 9 Jun 2023

The linked functions are equivalent to the compiler-generated getter functions for the respective variables. For example: `DaoRegistry.getConfiguration()`, `DaoRegistry.getAddressConfiguration()`, `MeldVotingContract.getAdapterName()`.

Report ↗
LowOpenVariables That Could Be Declared as ImmutableMeldDAO · CertiK · 9 Jun 2023

The linked variable `identityAddress` assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.

Report ↗

Contracts2

AddressChainSource code
0x333000333b26ee30214b4af6419d9ab07a450400Chain: EthereumSource code: Verified source
0x333000333b26ee30214b4af6419d9ab07a450400Chain: AvalancheSource code: Verified source

All 2 addresses and the files the reports name

MELD: questions

Is MELD audited?

Trustblock holds 2 public audit reports for MELD, dated 15 May 2023 to 9 Jun 2023. The latest is by CertiK (“MeldDAO”).

Who audited MELD?

CertiK wrote the 2 reports Trustblock holds for MELD.

Are there open findings in MELD’s audits?

7 findings are still open or acknowledged in the firms’ reports: 1 high, 2 medium, 4 low (4 open, 3 acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us