Audit · firm’s term: audit
QuillAudits reviewed W Chain (W Coin Migration Audit) on 25 Dec 2024: 5 findings, 0 critical; 4 marked fixed, 1 open.
Report hosted on quillaudits.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 1 |
| Low | 1 | 0 | 3 |
The addSigner function contains a potential Denial of Service (DOS) vulnerability due to an unbounded array of signers. The function performs a linear search through the _signersarray to check for duplicates before adding a new signer. As the number of signers grows, the gas cost of this operation increases linearly, potentially making the function unusable if the array becomes too large.The issue is present in two locations:1. The addSigner function's duplicate check loop 2. The removeSigner function's search loop This could lead to: - Excessive gas consumption for signer management operations - Function calls potentially exceeding the block gas limit- Contract becoming unusable if too many signers are added
The claim function violates the Checks-Effects-Interactions (CEI) pattern by performing an external call (transfer) before updating the contract's state variables. This creates a potential reentrancy vulnerability where an attacker could re-enter the contract before state changes are applied.
Using an immutable chainId in the contract poses a risk during network hard forks. When a network undergoes a hard fork, it can result in two separate chains with different chainIds. If the contract's chainId is immutable (hardcoded), the contract will continue to operate with the original chainId.
The claim function uses the deprecated transfer() method to send ETH to users. Thetransfer() function forwards a fixed gas stipend of 2300 gas, which can cause the transaction to fail if the recipient is a smart contract with complex logic in its receive/fallback functions.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (1)
350 projects reviewed · 459 reports · latest Apr 2025
See QuillAudits’s auditsSomething 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