TrustNet Score

The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.

62.18
Poor Excellent

Real-Time Threat Detection

Real-time threat detection, powered by Cyvers.io, is currently not activated for this project.

This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks. For more information, click here.

Security Assessments

Select the audit
Static Analysis Dynamic Analysis Symbolic Execution SWC Check Manual Review
Contract address
0xC005...ADe3
Network
Ethereum - Mainnet
License MIT
Compiler v0.8.22+commit.4fc1097e
Type Token Migration (UUPS Upgradeable)
Language Solidity
Onboard date 2026/11/23
Revision date 2026/11/23

Summary and Final Words

No crucial issues found

The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.

Contract owner cannot mint

It is not possible to mint new tokens.

Contract owner can blacklist addresses

It is possible to lock user funds by blacklisting addresses.

Contract owner cannot set high fees

The fees, if applicable, can be a maximum of 25% or lower. The contract can therefore not be locked. Please take a look in the comment section for more details.

Token transfer can be locked

Owner can lock user funds with owner functions.

Token cannot be burned

There is no burning within the contract without any allowances

Ownership is not renounced

The owner retains significant control, which could potentially be used to modify key contract parameters.

Contract is upgradeable

The contract uses a proxy pattern or similar mechanism, enabling future upgrades. This can introduce risks if the upgrade mechanism is not securely managed.

Scope of Work

This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.

The auditing process consists of the following systematic steps:

  1. Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
  2. Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
  3. Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
  4. Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
  5. Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
  6. Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
  7. Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.

A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.

Final Words

The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.


Smart Contract Analysis Statement

Contract Analysis

The Migration contract implements a one-way CULT to zkFOL migration behind an upgradeable proxy: users deposit CULT, are credited the full amount that left their wallet, and claim the same amount of zkFOL from an inventory funded by the project once five blocks have passed. Deposited CULT is not refundable.

Ownership Privileges

The contract has a single owner, set to the account that deploys the proxy. The contract is deployed on Ethereum behind the proxy 0xC0056CcA2cd8A9891D411457c4Cf8Aa14931ADe3, and the verified source of its implementation matches the audited file; at block 26477566 the owner is a single externally owned account (0x254D9Ba168D7DeAE34C0007B2A148E1b4bC4F1F5). The owner retains the following privileges:

  • The owner can upgrade the contract logic at any time and without a delay, which gives full control over all credit and all tokens held by the contract.
  • The owner can withdraw any token held by the contract, including the zkFOL inventory that depositors are owed and the deposited CULT.
  • The owner can pause deposits and claims or close either side without a time limit, and renouncing ownership in that state would make it permanent.
  • The owner can block individual addresses from depositing and claiming.
  • The owner of the zkFOL token can stop all claims before zkFOL trading starts and can cap large claims through the zkFOL wallet limit. Until the zkFOL owner enables trading, claimed zkFOL cannot be sold or transferred except to addresses that the zkFOL owner has exempted from fees, and renouncing zkFOL ownership or transferring it to an address nobody controls before that would make this permanent.
  • The owner cannot change the five-block claim delay or the one-to-one credit rate without an upgrade.
  • The owner cannot move tokens out of users' wallets.

Security Features

The contract implements the following positive security features:

  • The implementation disables its initializers, and the proxy is initialized in the same transaction that deploys it.
  • A deposit is credited only for CULT that verifiably left the depositor's wallet, and a claim succeeds only if exactly the claimed amount of zkFOL arrives.
  • A five-block delay separates deposits from claims, which prevents flash-loan migrations within one transaction.
  • Deposit, claim and withdrawal are protected against reentrancy, including reentrancy through the CULT treasury callback.
  • Upgrades are restricted to the owner and can only be executed through the proxy.

Note - This Audit report consists of a security analysis of the Migration smart contract. This analysis did not include economic analysis of the contract's tokenomics. Moreover, this statement covers only the Migration contract; the zkFOL and CULT contracts of the project are covered by their own statements, and other contracts associated with the project were not audited by our team. We recommend investors do their own research before investing.

Files and details

Findings and Audit result

medium Issues | 4 findings

Acknowledged

#1 medium Issue
Owner can replace the migration logic at any time
Migration.sol
L270
Description

The migration runs behind an ERC-1967 proxy and authorizes upgrades in _authorizeUpgrade with onlyOwner only. The owner can call upgradeToAndCall at any time, without delay or announcement, and the new code runs immediately with full access to the stored credit, the deposited CULT and the zkFOL inventory. A local test upgraded the proxy in one transaction to an implementation that erased a depositor's credit and moved the whole inventory to the owner. At block 26477566 the owner of the deployed migration is a single externally owned account.

Acknowledged

#2 medium Issue
Owner can withdraw the zkFOL inventory that depositors are owed
Migration.sol
L165-174
Description

withdraw lets the owner transfer any token held by the migration, including the zkFOL inventory that backs all outstanding credit and the deposited CULT. It is not limited by zkFolOwed(), it is not blocked by pause or by the open switches, and it has no delay. After a withdrawal the credit and zkFolOwed stay unchanged but every claim reverts with InsufficientZkFol, and depositors cannot recover their CULT because no refund function exists. A local test withdrew the full inventory after a matured deposit. At block 26477566 the owner is a single externally owned account.

Acknowledged

#3 medium Issue
Claims can be stopped indefinitely by the migration owner and by the zkFOL owner
Migration.sol
L177-193
Description

The owner can stop every claim with pause or setClaimsOpen(false) without a time limit, and renounceOwnership in that state makes the stop permanent. The zkFOL owner can stop claims as well: before enableTrading a claim by an ordinary account passes only because the migration is fee-exempt, so excludeFromFees(migration, false) makes those claims revert, and removing the max-wallet exemption caps each claimer at the zkFOL wallet limit. After enableTrading the zkFOL owner can no longer stop claims below that limit. Deposited CULT is not refundable, so stopped claims leave depositors with nothing. Local tests reproduced each case.

Acknowledged

#4 medium Issue
Owner can freeze individual depositors
Migration.sol
L195-199
Description

updateBlacklistUser lets the owner block any address from depositing and claiming, with no time limit and no recourse for the affected account. The frozen credit stays counted in zkFolOwed, while the zkFOL that backs it can still be withdrawn by the owner, so a frozen depositor may never be paid. A local test froze one depositor for five million blocks while another depositor claimed normally. At block 26477566 the owner of the deployed migration is a single externally owned account.

low Issues | 2 findings

Acknowledged

#1 low Issue
Deposits are irreversible and accepted without zkFOL backing
Migration.sol
L201-230
Description

Deposits open as soon as initialize returns and _deposit accepts CULT whether or not the migration holds enough zkFOL to pay the new credit. The inventory is shared and not reserved per deposit, so when it falls short of zkFolOwed the first claimers are paid and later ones are not, while their CULT cannot be refunded because no refund function exists. The documented script funds 10,000 zkFOL only after deployment. Local tests showed a deposit accepted with no inventory at all and a second depositor left with 2,000 zkFOL of unpayable credit.

Acknowledged

#2 low Issue
Storage-gap NatSpec leads to a layout shift when a small variable is added
Migration.sol
L68-72
Description

depositsOpen and claimsOpen share slot 10 and use 2 of its 32 bytes, and the uint256[43] gap starts at slot 11. The comment above the gap says to append new variables ahead of it and shrink it by the same number of slots. A new variable of 30 bytes or less, such as a bool, an address or a uint64, packs into slot 10 and takes no new slot, so shrinking the gap by one moves every variable declared after the gap one slot down. A later implementation that inherits the migration, like the repository's MigrationUpgradeTest, then reads its state from the wrong slot. A local test showed a stored value read back as zero after such an upgrade.

optimization Issues | 1 findings

Acknowledged

#1 optimization Issue
Repeated storage reads on the claim and deposit paths
Migration.sol
L145-148
Description

claimAll computes claimable(msg.sender) and _claim computes it again, and _lock reads locked and unlockBlock through _activeLock right before writing both, so claim and deposit load the same storage slots more than once. Caching the values in local variables saves a few hundred gas per call, and keeping locked and unlockBlock in one packed struct (uint192 and uint64) saves one storage slot per depositor. This only matters for a future version and has no security effect.

informational Issues | 3 findings

Acknowledged

#1 informational Issue
Credit is not bounded by the CULT that arrives
Migration.sol
L214-229
Description

Deposits credit the gross amount and only check that the sender lost exactly that amount and that the migration received no more than it, so any receipt down to zero is accepted. While CULT has an owner, as in the documented test deployment, that owner can set the CULT tax to 100 percent and point the tax at a treasury that hands the tokens back, creating zkFOL credit without a net CULT cost and draining the inventory. A local test claimed the whole inventory this way. The same owner can also block all deposits.

Acknowledged

#2 informational Issue
Ownership transfer is single-step and can be renounced
Migration.sol
L24-30
Description

The migration inherits OpenZeppelin OwnableUpgradeable, where transferOwnership takes effect immediately and renounceOwnership removes the owner for good. A mistyped address loses every owner function, including unpause, withdraw and upgrade, and renouncing freezes whatever pause or switch state exists at that moment, together with the zkFOL inventory. Local tests confirmed the immediate transfer and the permanent pause after renouncing.

Acknowledged

#3 informational Issue
Specification statements contradicted by the code and the deployment record
Migration.sol
L274
Description

AUDIT.md says the uint256[43] storage gap sits after locked and unlockBlock, but it is declared last and occupies slots 11 to 53, after claimsOpen. AUDIT.md also lists 0xf5425D92f76Eb664f5ede1402F35AC9731109f19 as the Sepolia migration implementation, while deployments/sepolia.json records that address as the previous implementation and 0x6464FDe5C8c679A0ce7913f88b1aEfF6746086BB, written by the upgrade script, as the current one. It further says the CULT treasury cannot deposit, but setTreasuryAddress whitelists the treasury and whitelisted senders transfer without tax, so the treasury can deposit and is credited in full, as a local test with the real token showed. None of these statements changes the logic, but readers rely on them.