The audit of the BridgeToken implementation contract (TokenImplementation) reveals a critical inability to assess upgrade safety due to the unavailability of the TokenState contract source code. This prevents verification of storage layout compatibility, a fundamental requirement for proxy-based systems. The contract otherwise implements standard ERC-20 functionality, including EIP-2612 permit, with appropriate access controls for minting, burning, and metadata updates. Centralized control by the owner for supply management is noted as a medium risk.

On-chain security analysis — is it a scam or legit?
Is LUNA 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 audit of the BridgeToken implementation contract (TokenImplementation) reveals a critical inability to assess upgrade safety due to the unavailability of the TokenState contract source code.
- Ownership not renounced — owner is a contract
- Mintable supply — no cap found, dilution unbounded
- Proxy contract
- Complex proxy pattern
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
Exact factors
- Ownership NOT renounced — owner is a contract (governance/executor, not an EOA)
- Mintable supply — no cap found, dilution unbounded
- Proxy contract (upgradeable — admin can replace logic)
- Complex proxy pattern (BEACON)
- Liquidity not locked, but no owner/deployer address holds LP — market-depth risk, not rug risk
Security Checklist
as of audit · Sep 23Holders
as of audit · Sep 23, 2026- Contractstreasury, vesting, bridge, staking3.0%
- Walletsanonymous holders, free to sell11.2%
- Everyone elsethe rest of the supply85.9%
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 23, 2026
Liquidity
as of audit · Sep 23- Pancakeswap v2USDTAnalysed$94.4K43.5%
- Pancakeswap v2WBNB$69.3K32.0%
- Pancakeswap v2BUSD$18.3K8.5%
- FstswapFIST$13.1K6.0%
- BiswapBUSD$6.4K2.9%
- Pancakeswap v3USDT$5.3K2.5%
Show 4 more pairs
The 20 remaining pairs hold $777 between them and are not listed.
The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0xc7a1…c0a50xcf55…59860x07fd…d22c0xdc65…11af0x5c90…23e90xbd06…e9350x729b…b1f30x103f…6f920xc998…45ae0x8a34…ab8dNo privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumCentralized Control (Owner Privileges)
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 owner address has significant control over the token supply and metadata. The mint, burn, and updateDetails functions are restricted to onlyOwner. While common for bridge tokens, this centralizes trust in a single entity or multisig, posing a medium risk if the owner's private key is compromised or if the owner acts maliciously.
Fix
Implement a robust access control mechanism for the owner, such as a multi-signature wallet (e.g., Gnosis Safe) or a time-locked governance contract, to mitigate the risk of a single point of failure. Clearly document the owner's responsibilities and the process for any changes to these privileges.
Status
Unresolved
MediumUndeterminable Storage Layout for Proxy Upgrades
Not confirmed by static analysis (the model's own reading of the source).M-02
Issue
Not confirmed by static analysis (the model's own reading of the source). The TokenImplementation contract relies on an external TokenState contract for its state variables. Without the source code for TokenState, it is impossible to verify the storage layout, which is a critical component for ensuring upgrade safety in a proxy pattern (especially BeaconProxy). Incorrect storage layout can lead to storage collisions, data corruption, and severe vulnerabilities upon upgrade. This makes a full audit of the upgrade mechanism impossible.
Fix
Provide the source code for the TokenState contract. A thorough review of its storage layout is essential to confirm compatibility with the proxy pattern and prevent storage collisions during upgrades. Ensure that TokenState adheres to proxy-safe storage principles, such as using ERC1967Storage or explicitly defining storage slots to avoid conflicts.
Status
Unresolved
Lowpermit Front-Running Vulnerability
Not confirmed by static analysis (the model's own reading of the source).L-01
permit Front-Running VulnerabilityIssue
Not confirmed by static analysis (the model's own reading of the source). The EIP-2612 permit function is inherently susceptible to front-running attacks. A signed permit message, once broadcast, can be observed by malicious actors who could then submit their own transaction with a higher gas price to front-run the legitimate user's transaction. This could lead to the legitimate user's transaction failing or the approved amount being exploited. This is a known characteristic of permit and not a flaw in the implementation itself, but a risk for users.
Fix
Educate users about the potential for front-running with permit transactions. Advise them to use private transaction relays or to be cautious when broadcasting signed messages publicly. This is typically a user-side mitigation rather than a contract-side fix.
Status
Unresolved
InfoRedundant Ownable Import and Custom Owner Logic
Not confirmed by static analysis (the model's own reading of the source).I-01
Ownable Import and Custom Owner LogicIssue
Not confirmed by static analysis (the model's own reading of the source). The contract imports Ownable.sol but then implements its own owner() function and onlyOwner modifier, relying on _state.owner. This creates redundancy and potential for confusion. If TokenState also inherits from Ownable or defines its own _owner variable, it could lead to storage collisions or unexpected behavior. It is generally better to either fully utilize Ownable's functionality or completely omit its import if custom access control is preferred.
Fix
Choose one approach for ownership: either fully inherit and utilize OpenZeppelin's Ownable contract, or remove the Ownable import and rely solely on the custom _state.owner and associated logic. This improves clarity and reduces potential for storage conflicts.
Status
Unresolved
InfoDynamic _initializePermitStateIfNeeded Calls
Not confirmed by static analysis (the model's own reading of the source).I-02
_initializePermitStateIfNeeded CallsIssue
Not confirmed by static analysis (the model's own reading of the source). The _initializePermitStateIfNeeded function is called within permit and _domainSeparatorV4 if cachedThis or cachedChainId do not match the current context. While this ensures the EIP-712 domain separator is always up-to-date, it introduces a small, recurring gas overhead on permit calls if the cached values are frequently invalidated (e.g., if the contract address or chain ID were to change, which is highly unlikely for a deployed contract).
Fix
This is a minor efficiency consideration. Given the unlikelihood of address(this) or block.chainid changing for a deployed contract, the current implementation is acceptable. No immediate action is required, but it's noted for completeness.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 23The contract provides a robust implementation of the ERC-20 standard, including EIP-2612 permit functionality, leveraging OpenZeppelin libraries for cryptographic operations (7.2 Code Security). Standard transfer, approval, mint, and burn mechanisms are correctly implemented with appropriate checks (7.2 Code Security). However, a critical gap exists as the TokenState contract, which defines the storage layout, was not provided for review (7.1 Architecture). This prevents a comprehensive assessment of storage collision risks, especially vital for a BeaconProxy implementation (7.7 Upgrades).
The token design grants significant centralized control to the owner address (7.3 Access Control). The owner can mint new tokens, burn existing tokens, and updateDetails (metadata) (7.4 Economic). While this level of control is common for bridge tokens, it introduces a medium economic risk as the protocol's integrity heavily relies on the security and trustworthiness of the owner's key (7.5 Governance).
The contract is designed as an implementation for a BeaconProxy, indicating an upgradeable architecture (7.7 Upgrades). However, the TokenState contract, which defines the storage layout for all state variables, was not available for audit. This critically impedes the ability to verify storage slot compatibility, a fundamental requirement for safe upgrades (7.7 Upgrades). Without this, there is a high risk of storage collisions and data corruption during future upgrades, making a full assessment of upgrade safety impossible.
Prioritize obtaining and auditing the TokenState contract to ensure storage layout compatibility and prevent critical vulnerabilities during upgrades.
Implement robust security measures for the owner's private key, such as a multi-signature wallet, given the extensive control over token supply and metadata. Consider documenting the known front-running risks associated with the EIP-2612 permit function for users. Review the Ownable import and custom owner logic for clarity and to avoid potential future conflicts.
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 23, 202635Medium
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of LUNA?
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