The IrysOFT contract, an upgradeable LayerZero Omnichain Fungible Token, was audited for security vulnerabilities. A critical vulnerability was identified in the initialize function, which would cause the contract's deployment to revert due to a double initialization of the Ownable component. This prevents the contract from being properly set up. Other findings include minor optimizations and best practice recommendations. The contract leverages well-audited OpenZeppelin and LayerZero libraries, and features a robust access control model with a multisig owner.

On-chain security analysis — is it a scam or legit?
Is Irys Safe?
Not verified
This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →The IrysOFT contract, an upgradeable LayerZero Omnichain Fungible Token, was audited for security vulnerabilities.
Read the full analysis- Ownership not renounced — Multisig
- Proxy contract
- Top-10 concentration > 50%
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0%
- LP top3 unlocked holders = 100.0%
Exact factors
- Ownership NOT renounced — Multisig (2-of-4)
- Proxy contract (upgradeable — admin can replace logic)
- Top-10 concentration > 50% (90.5% total → 51.9% effective; 26.1% in EOAs, 64.3% in contracts — heavy)
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
- LP top1 unlocked holder = 100.0% (independent LP — depth risk, pool = 99% of DEX liquidity)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk, pool = 99% of DEX liquidity)
Security Checklist
as of audit · Sep 28Holders
as of audit · Sep 28, 2026- Contractstreasury, vesting, bridge, staking64.3%
- Walletsanonymous holders, free to sell26.1%
- Everyone elsethe rest of the supply9.5%
How holder types affect the score
Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.
Holder balances as recorded by the audit of Sep 28, 2026
Liquidity
as of audit · Sep 28The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0x2947…d9340x6458…2df5No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumInitialization Revert Due to Double Ownable Initialization
Not confirmed by static analysis (the model's own reading of the source).M-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The initialize function calls __Ownable_init(_delegate) directly, and then subsequently calls __OFT_init(_name, _symbol, _delegate). The __OFT_init function, inherited from OFTUpgradeable, internally calls __Ownable_init as part of its initialization chain. This results in __Ownable_init being called twice within the same initialize transaction. OpenZeppelin's OwnableUpgradeable prevents re-initialization by checking an internal _initialized flag, causing the second call to revert. Consequently, the initialize function will always fail, making the contract undeployable and unusable.
Fix
Remove the direct call to __Ownable_init(_delegate) from the initialize function. The __OFT_init function already handles the proper initialization of the Ownable component, ensuring the owner is set correctly. This will resolve the double initialization issue and allow the contract to be initialized successfully.
Status
Unresolved
LowUnnecessary _totalSupply Check
Not confirmed by static analysis (the model's own reading of the source).L-01
_totalSupply CheckIssue
Not confirmed by static analysis (the model's own reading of the source). The initialize function includes a check if (_totalSupply > type(uint256).max / 2) revert IrysOFT__SupplyTooLarge();. While this check is often used to prevent multiplication overflows (e.g., if _totalSupply were to be doubled), there are no such operations in the current contract that would cause an overflow with _totalSupply itself. This check is overly cautious and not strictly necessary for the current logic.
Fix
Consider removing this check unless a specific future operation is planned that would justify its presence. While harmless, it adds minor complexity without a clear current benefit.
Status
Unresolved
InfoHardcoded String Length Limits
Not confirmed by static analysis (the model's own reading of the source).I-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The initialize function hardcodes maximum length limits for _name (50 characters) and _symbol (20 characters). While these limits are reasonable, hardcoding them makes them inflexible. If future requirements necessitate different lengths, the contract would require an upgrade.
Fix
Consider defining MAX_NAME_LENGTH and MAX_SYMBOL_LENGTH as immutable constants or, if dynamic control is desired, as owner-configurable state variables. This would improve flexibility without compromising security.
Status
Unresolved
InfoMissing Event for acceptOwnership Completion
Not confirmed by static analysis (the model's own reading of the source).I-02
acceptOwnership CompletionIssue
Not confirmed by static analysis (the model's own reading of the source). The contract emits OwnershipTransferStarted and OwnershipTransferCanceled events for the two-step ownership transfer process. However, the acceptOwnership function, which finalizes the transfer, does not emit a specific event to signal its completion. While the underlying _transferOwnership function (from Ownable) emits OwnershipTransferred, a dedicated event for acceptOwnership would provide clearer off-chain visibility into the full lifecycle of the two-step transfer.
Fix
Consider adding a specific event, such as OwnershipAccepted(address indexed newOwner), within the acceptOwnership function after the _transferOwnership call. This would enhance transparency and ease of monitoring for off-chain systems.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 28The contract is built upon established OpenZeppelin and LayerZero libraries, providing a solid foundation for its architecture (7.1). It incorporates standard security features like pausable functionality and a two-step ownership transfer mechanism (7.2, 7.3). However, a critical flaw in the initialize function (C-01) prevents the contract from being deployed and initialized correctly, as it attempts to initialize the Ownable component twice, leading to a revert. This fundamental issue significantly impacts the contract's operational readiness.
The contract's economic model (7.4) is straightforward, with a fixed token supply after initialization and no complex rebase or fee mechanisms. Governance (7.5) is robust, with ownership managed by a 2/4 multisig, which enhances security and decentralization for critical operations like pausing and upgrades. The renounceOwnership function is appropriately disabled, preventing accidental ownership loss.
The contract implements the UUPS upgradeability pattern (7.7), which is a secure and widely adopted standard. The _authorizeUpgrade function is correctly restricted to the onlyOwner modifier, ensuring that only the multisig owner can authorize new implementations. This setup provides a secure pathway for future contract enhancements or bug fixes while maintaining strong access control.
The critical initialization bug (C-01) must be addressed immediately to enable the contract's successful deployment and operation.
It is recommended to remove the redundant __Ownable_init call from the initialize function. Additionally, consider implementing the suggested informational improvements for enhanced clarity and maintainability. A thorough re-test of the initialization process after applying the fix is crucial.
Contract & Record
Free for any token on the record. It links to this page and always shows the current score and the date it was checked.
- Sep 28, 202652Medium
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of Irys?
Our AI-powered scanner gives you a deeper, real-time smart contract analysis — free, with every scoring factor shown.
Get Detailed Audit Is this your token? Add your links and get it Verified