The XPINToken contract is a standard ERC20 token implementation, inheriting from the well-regarded Solmate library. The contract includes EIP-2612 permit functionality. The audit found the codebase to be simple, well-structured, and generally secure, with no critical or high-severity vulnerabilities identified. Minor considerations include the initial token distribution and the use of unchecked arithmetic blocks.

On-chain security analysis — is it a scam or legit?
Is XPIN Token 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 XPINToken contract is a standard ERC20 token implementation, inheriting from the well-regarded Solmate library.
Read the full analysis- Ownership status UNKNOWN
- Top-10 concentration > 30%
- 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 status UNKNOWN (owner could not be resolved)
- Top-10 concentration > 30% (81.6% total → 38.7% effective; 10.1% in EOAs, 71.4% in contracts — moderate)
- 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)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk)
Security Checklist
as of audit · Sep 4Holders
as of audit · Sep 4, 2026- Contractstreasury, vesting, bridge, staking71.4%
- Walletsanonymous holders, free to sell10.1%
- Everyone elsethe rest of the supply18.4%
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 4, 2026
Liquidity
as of audit · Sep 4The LP tokens of the analysed pool are not locked or burned, so whoever holds them can withdraw that liquidity.
0xad7d…72d1No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
LowCentralized Initial Supply Distribution
Not confirmed by static analysis (the model's own reading of the source). The XPINToken constructor mints the entire initialSupply to msg.sender. This design choice centralizes the initial distribution of tokens, giving the deployer significant control over the token's early supply and potential market impact. While common for new tokens, it's a point of centralization.L-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The XPINToken constructor mints the entire initialSupply to msg.sender. This design choice centralizes the initial distribution of tokens, giving the deployer significant control over the token's early supply and potential market impact. While common for new tokens, it's a point of centralization.
Fix
Ensure that the deployer's private keys are secured with best practices (e.g., hardware wallet, multi-signature setup). Consider a transparent and decentralized distribution strategy for the initial supply if the project aims for broader community ownership.
Status
Unresolved
LowReliance on ecrecover for permit Functionality
Not confirmed by static analysis (the model's own reading of the source). The permit function relies on the ecrecover precompile for signature verification. While Solmate's implementation correctly uses EIP-712 domain separators and nonces to mitigate common issues like replay attacks and signature malleability, ecrecover itself is a complex cryptographic primitive. Incorrect usage or subtle flaws in the signing process could lead to vulnerabilities.L-02
ecrecover for permit FunctionalityIssue
Not confirmed by static analysis (the model's own reading of the source). The permit function relies on the ecrecover precompile for signature verification. While Solmate's implementation correctly uses EIP-712 domain separators and nonces to mitigate common issues like replay attacks and signature malleability, ecrecover itself is a complex cryptographic primitive. Incorrect usage or subtle flaws in the signing process could lead to vulnerabilities.
Fix
Maintain vigilance regarding best practices for off-chain signature generation and verification. Educate users about the implications of signing permit messages and the importance of verifying the message content and deadline. Ensure any off-chain services interacting with permit are robustly implemented.
Status
Unresolved
InfoJustified Use of unchecked Blocks
Not confirmed by static analysis (the model's own reading of the source). The ERC20 contract utilizes unchecked blocks for arithmetic operations within transfer, transferFrom, _mint, and _burn functions. Specifically, balanceOf[to] += amount and totalSupply -= amount are placed in unchecked blocks. The accompanying comments justify this by stating that ERC20 invariants (e.g., sum of balances cannot exceed totalSupply, user balance cannot exceed totalSupply) prevent overflows/underflows. This design choice optimizes gas costs by skipping Solidity's default overflow/underflow checks.I-01
unchecked BlocksIssue
Not confirmed by static analysis (the model's own reading of the source). The ERC20 contract utilizes unchecked blocks for arithmetic operations within transfer, transferFrom, _mint, and _burn functions. Specifically, balanceOf[to] += amount and totalSupply -= amount are placed in unchecked blocks. The accompanying comments justify this by stating that ERC20 invariants (e.g., sum of balances cannot exceed totalSupply, user balance cannot exceed totalSupply) prevent overflows/underflows. This design choice optimizes gas costs by skipping Solidity's default overflow/underflow checks.
Fix
No direct action is required as the usage is justified by the contract's invariants and is a common pattern in gas-optimized libraries like Solmate. However, it is crucial for any future modifications or inherited contracts to strictly maintain these invariants to prevent potential arithmetic vulnerabilities.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 4The technical architecture (7.1) is robust, leveraging Solmate's battle-tested ERC20 implementation, which is known for its gas efficiency and security. Code security (7.2) is high, with careful use of unchecked blocks justified by ERC20 invariants, and correct implementation of EIP-2612 permit functionality. Access control (7.3) is standard for an ERC20, with no additional privileged roles beyond the initial deployer for minting. External dependencies (7.6) are minimal, primarily ecrecover for signature verification, which is a standard precompile. Operational aspects (7.8) are straightforward, involving basic token transfers and approvals.
The economic model (7.4) is that of a simple ERC20 token, with no complex internal economic mechanisms like staking, lending, or rebase. The initial supply is minted entirely to the deployer, granting them full control over the initial distribution. There are no explicit governance mechanisms (7.5) implemented within the contract, meaning control over the token's future evolution (e.g., upgrades, parameter changes) is not decentralized.
The contract is not designed as an upgradeable proxy (7.7). It is a standard, non-upgradeable implementation, which eliminates risks associated with upgrade mechanisms such as proxy initialization, storage collisions, or faulty upgrade logic. Any future changes would require deploying a new contract and migrating liquidity.
The XPINToken contract is a solid implementation of the ERC20 standard using the Solmate library.
Projects should ensure robust key management practices for the deployer address, especially given its control over the initial token supply. While the permit function is well-implemented, users should be educated on the risks associated with signing off-chain messages. For future iterations, consider implementing a multi-signature wallet for critical administrative actions if any privileged roles are introduced.
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.
- Jul 23, 202630Low
- Jul 22, 202649Medium
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of XPIN Token?
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