This audit report covers the provided source code for the AgentToken contract, which serves as the implementation for a proxy. A critical limitation of this audit is that the provided source code is truncated, missing essential ERC-20 transfer functions and the entire tax/auto-swap logic. This prevents a comprehensive assessment of the token's core functionality, economic model, and potential vulnerabilities. While the available code demonstrates good practices for upgradeability and access control, the absence of critical components means the overall security posture cannot be fully determined.
On-chain security analysis — is it a scam or legit?
Is 717ai by Virtuals 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 →This audit report covers the provided source code for the AgentToken contract, which serves as the implementation for a proxy.
Read the full analysis- Ownership not renounced — owner is an EOA
- Top-10 concentration > 20%
- 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 — owner is an EOA (single private key)
- Top-10 concentration > 20% (27.2% total → 21.1% effective; 17.0% in EOAs, 10.2% in contracts — mild)
- 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 = 98% of DEX liquidity)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk, pool = 98% of DEX liquidity)
Security Checklist
as of audit · Sep 19Holders
as of audit · Sep 19, 2026- Contractstreasury, vesting, bridge, staking10.2%
- Walletsanonymous holders, free to sell17.0%
- Everyone elsethe rest of the supply72.8%
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 19, 2026
Liquidity
as of audit · Sep 19The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0x492e…a66dNo privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumInconsistent maxSupply Type Check
Not confirmed by static analysis (the model's own reading of the source).M-01
maxSupply Type CheckIssue
Not confirmed by static analysis (the model's own reading of the source). In the _processSupplyParams function, there is a check erc20SupplyParameters_.maxSupply > type(uint128).max. However, the contract's _totalSupply variable is declared as uint256. This check is either redundant if _totalSupply is truly intended to be uint256 without an effective uint128 limit, or it indicates a potential design inconsistency where the initial supply is limited to uint128.max but the total supply can theoretically exceed it, leading to confusion or unexpected behavior if not properly managed.
Fix
Clarify the intended maximum supply limit. If _totalSupply is meant to be limited to uint128.max, consider changing its type to uint128 or explicitly document why the check is present for a uint256 variable. If no uint128 limit is intended for _totalSupply, remove the misleading check.
Status
Unresolved
MediumIncomplete Code for Critical Functionality
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 provided source code for the AgentToken contract is truncated, missing essential ERC-20 functions such as transfer, transferFrom, and approve, as well as the entire implementation of the tax calculation and auto-swap logic. This prevents a comprehensive security audit of the token's primary functionality and economic model, leaving critical attack vectors unexamined. Without these core components, it is impossible to assess potential reentrancy vulnerabilities, integer overflows in transfer amounts, or flaws in the tax collection and liquidity provision mechanisms.
Fix
Provide the complete and untruncated source code for the AgentToken contract, including all ERC-20 standard functions and the full implementation of the tax and auto-swap logic. A full audit cannot be performed without these critical components.
Status
Unresolved
LowUnclear _autoSwapInProgress State Management
Not confirmed by static analysis (the model's own reading of the source).L-01
_autoSwapInProgress State ManagementIssue
Not confirmed by static analysis (the model's own reading of the source). The _autoSwapInProgress flag is initialized to true in the initialize function and then set to false in _addInitialLiquidity. While this sequence appears intentional for initial setup, the full logic for how this flag is used, reset, or prevented from being manipulated in the missing _transfer or _swapAndLiquify functions is crucial. Improper management or lack of clear state transitions for this flag could lead to tax collection failures, unexpected swap behavior, or denial of service for the auto-swap mechanism.
Fix
Ensure that the full implementation of the tax and auto-swap logic clearly defines and securely manages the state transitions of the _autoSwapInProgress flag. Implement robust checks to prevent unauthorized or unintended manipulation of this flag, and document its lifecycle thoroughly.
Status
Unresolved
InfovalidCallerCodeHashes Mechanism Brittleness
Not confirmed by static analysis (the model's own reading of the source).I-01
validCallerCodeHashes Mechanism BrittlenessIssue
Not confirmed by static analysis (the model's own reading of the source). The contract includes a mechanism to add and remove bytes32 code hashes for 'valid callers'. While this provides a form of granular access control, it can be brittle. If a valid caller contract undergoes an upgrade, its code hash will change, requiring manual updates to the _validCallerCodeHashes set. This also relies on the hash calculation being robust and consistent across different deployment environments and compiler versions.
Fix
Consider the operational overhead and potential for errors when managing validCallerCodeHashes. If possible, explore alternative, more flexible access control mechanisms for contracts that are expected to be upgradeable. If this mechanism is critical, ensure clear documentation and operational procedures for updating hashes upon contract upgrades.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 19The contract utilizes OpenZeppelin's upgradeable patterns, SafeERC20 for secure external token interactions, and EnumerableSet for managing dynamic lists, indicating a solid architectural foundation (7.1 Architecture). The onlyOwnerOrFactory modifier provides robust dual-admin control for sensitive functions (7.3 Access Control). However, the provided code is incomplete, missing critical ERC-20 transfer logic and the entire tax/auto-swap mechanism (7.2 Code Security). This truncation prevents a full assessment of reentrancy, integer overflows, or other vulnerabilities in the token's core operations. A minor inconsistency exists where maxSupply is checked against type(uint128).max while _totalSupply is uint256 (7.2 Code Security).
The contract defines clear parameters for project buy/sell taxes, swap thresholds, and bot protection duration, indicating a structured economic model (7.4 Economic). The onlyOwnerOrFactory modifier ensures that critical economic parameters like projectTaxRecipient and swapThresholdBasisPoints can only be modified by authorized entities (7.5 Governance). However, a comprehensive economic analysis is severely hampered by the truncated code, as the actual tax calculation, collection, and auto-swap logic are entirely absent (7.4 Economic). This prevents evaluation of potential economic exploits, front-running opportunities, or manipulation of the tax mechanism. The interaction of _autoSwapInProgress with the missing tax logic is a key unknown (7.4 Economic).
The contract correctly implements the OpenZeppelin Initializable pattern, including _disableInitializers() in the constructor and the initializer modifier for the setup function. This standard approach minimizes common upgradeability risks like re-initialization or storage collisions with OpenZeppelin's own contracts (7.7 Upgrades). No specific upgradeability issues were identified within the provided code snippet. The custom storage variables are declared after inherited OpenZeppelin contracts, following best practices to avoid storage slot collisions (7.7 Upgrades).
To ensure the security and integrity of the AgentToken contract, it is imperative to provide the complete and untruncated source code for a comprehensive audit.
Without the full implementation of core ERC-20 functions and the tax/auto-swap logic, a thorough security assessment cannot be performed, leaving critical vulnerabilities potentially undiscovered. Once the full code is available, a detailed review of the economic model, external interactions, and state management for flags like _autoSwapInProgress should be prioritized.
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 19, 202638Medium
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of 717ai by Virtuals?
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