The audit of the provided ERC20 token contract revealed critical vulnerabilities related to unchecked arithmetic operations within core token transfer and minting functions. These issues could lead to severe consequences, including token supply manipulation, incorrect user balances, and a broken token invariant. While the contract attempts to use OpenZeppelin's Ownable, the custom ERC20 implementation introduces significant risks.

On-chain security analysis — is it a scam or legit?
Is Book of Ethereum 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 provided ERC20 token contract revealed critical vulnerabilities related to unchecked arithmetic operations within core token transfer and minting functions.
Read the full analysis- Top-10 concentration > 20%
Exact factors
- Top-10 concentration > 20% (35.4% total → 24.8% effective; 17.6% in EOAs, 17.8% in contracts — mild)
Security Checklist
as of audit · Sep 22Holders
as of audit · Sep 22, 2026- Contractstreasury, vesting, bridge, staking17.8%
- Walletsanonymous holders, free to sell17.6%
- Everyone elsethe rest of the supply64.6%
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 22, 2026
Liquidity
as of audit · Sep 22The LP tokens of the analysed pool are locked or burned.
0x51e6…aca40xf385…5f850x825b…19d30x225f…b3740x1f2f…f387No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumRedundant SafeMath Library
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 SafeMath library is included in the contract, but the ERC20 implementation directly uses native arithmetic operators, often within unchecked blocks, rather than calling SafeMath functions. In Solidity 0.8+, arithmetic operations automatically revert on overflow/underflow unless explicitly placed in an unchecked block. The presence of SafeMath without its use suggests a potential misunderstanding of Solidity's arithmetic safety features or an incomplete refactor, leading to unnecessary bytecode and potential confusion for future developers.
Fix
Either fully integrate SafeMath for all arithmetic operations (if targeting older Solidity versions or specific unchecked behavior is not desired) or remove the SafeMath library entirely if relying on Solidity 0.8+'s default overflow checks and unchecked blocks where appropriate. For Solidity 0.8+, it's generally recommended to rely on the default checks and only use unchecked for specific, proven-safe operations.
Status
Unresolved
MediumUnchecked Arithmetic in Token Transfers and Minting
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 _transfer function uses unchecked blocks for _balances[to] += amount; and the _mint function uses unchecked for _balances[account] += amount;. This means that if _balances[to] or _balances[account] plus amount exceeds type(uint256).max, the value will wrap around to a small number instead of reverting. This can lead to incorrect user balances, token supply manipulation, and potential loss of funds for users or arbitrary token creation by an attacker if they can control the amount or to address in specific scenarios. This directly violates the integrity of the token's accounting.
Fix
Remove the unchecked blocks from addition operations in _transfer and _mint functions. Solidity 0.8+ by default checks for overflow/underflow, so removing unchecked will ensure these operations revert on overflow, maintaining token integrity. Alternatively, implement explicit overflow checks before the addition if unchecked is desired for gas optimization in other contexts.
Status
Unresolved
MediumInconsistent Unchecked Arithmetic for Total Supply
Not confirmed by static analysis (the model's own reading of the source).M-03
Issue
Not confirmed by static analysis (the model's own reading of the source). In the _mint function, _totalSupply += amount; is *not* within an unchecked block, meaning it will revert on overflow. However, _balances[account] += amount; *is* within an unchecked block, meaning it will wrap around on overflow. This inconsistency can lead to a state where _totalSupply does not accurately reflect the sum of all token balances, breaking a fundamental invariant of ERC20 tokens. If _balances[account] overflows and wraps around while _totalSupply reverts, the token's accounting becomes corrupted, potentially leading to denial of service for minting or incorrect total supply reporting.
Fix
Ensure consistent arithmetic handling for _totalSupply and individual _balances. If unchecked is used for _balances additions, it should also be used for _totalSupply additions, or vice-versa. The safest approach is to remove unchecked for all additions, allowing Solidity's default overflow checks to protect both _totalSupply and _balances.
Status
Unresolved
InfoMissing Context Contract Definition
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 ERC20 contract inherits from Context, which provides the _msgSender() function. However, the source code for the Context contract was not provided in the audit scope. While it is highly probable that this refers to the standard OpenZeppelin Context contract, its absence means a full verification of its implementation and security cannot be performed.
Fix
For a complete audit, ensure all dependent contract source codes are provided. If using OpenZeppelin contracts, explicitly state the version used.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 22The technical architecture is a custom ERC20 implementation, which deviates from battle-tested OpenZeppelin standards, introducing significant risk (7.1 Architecture). Critical code security flaws exist, specifically unchecked arithmetic in _mint and _transfer functions, allowing for balance overflows and underflows (7.2 Code Security). The contract also exhibits inconsistent use of unchecked blocks, leading to potential discrepancies between _totalSupply and individual balances. While Ownable is imported, the direct access control for _mint and _burn relies on the calling contract, which is not fully provided (7.3 Access Control).
The economic model of the token is a standard ERC20 with minting and burning capabilities. The primary economic risk stems from the critical technical vulnerabilities that could lead to arbitrary token creation or destruction, directly impacting the token's supply and value (7.4 Economic). While Ownable is imported, the specific access control mechanisms for _mint and _burn within the BookOfEth contract (not fully provided) are crucial for mitigating these economic risks (7.5 Governance). Without strong governance over minting/burning, the economic stability is severely compromised.
The provided contract is a standard, non-upgradeable ERC20 token implementation. There are no proxy patterns or upgrade mechanisms implemented, which simplifies the upgrade safety analysis (7.7 Upgrades). Therefore, the risk associated with upgrades is considered low, as no upgrade path exists for this specific contract.
It is strongly recommended to replace the custom ERC20 implementation with a battle-tested and audited standard, such as OpenZeppelin's ERC20, to eliminate critical arithmetic vulnerabilities.
If a custom implementation is necessary, all arithmetic operations must be carefully reviewed to ensure proper overflow/underflow handling, either by relying on Solidity 0.8+ default checks or by explicitly using SafeMath consistently. Additionally, ensure robust access control for minting and burning functions in the BookOfEth contract.
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 22, 20260Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of Book of Ethereum?
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