Web3AITool

Web3AITool Smart Contract Audit Report

Share
Share
BSCBSC
ERC 20 Token Contract
BSCBSC
ERC 20 Token Contract

QuillAudits audited the Web3AITool smart contracts on BSC between Mar 30, 2023 and Apr 5, 2023. The audit found 14 issues: 2 high, 5 medium, 6 low, 1 informational, of which 2 resolved, 11 acknowledged and 1 open.

Project Description

Web3AiTools is an ERC20 upgradable token contract designed to allow the contract owner to mint and distribute the tokens. It also directly mints the percent of the founders and the team advisors for them to claim.

Timeline

S1
Mar 30, 2023
S2
Apr 5, 2023

Scope of Audit

The scope of this audit was to analyze Web3AiTools codebase for quality, security, and correctness. https://drive.google.com/drive/folders/1bI4WHMraHesJkTDNQVT5WlWrsEujlZUQ?usp=sharing

Methodology: the QuillAudits smart contract audit process.

speedometer
0
50%
60%
70%
90%
100%
94.9%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0001
acknowledged1550
partially resolved0000
resolved1010
Web3AITool

Web3AITool

High Severity Issues

Centralization Risk

Acknowledged
arrow-right
Description

The contract owner can adjust the tax to as high as 100% on transactions. The owner account should be taken care to not be mismanaged else the privileges associated with the account can slip into the hands of the hacker. Also, if renouncing ownership is not done appropriately, the current contract owner can renounce ownership, and lose access to owner privileges. Functions like setting tax, and wallet addresses will be uncallable and any updates needed to be made will be inaccessible.

Contract

web3AiTool.sol

Recommendation

Having a variable handle the maxTaxLimit will prevent the contract owner adjusting tax to a high value. Carefully manage the owner account by using a multi-signature wallet or implementing community governance to ensure that updates to the project happen by some form of consensus. A timelock can be implemented between changes as well.
The renounceOwnership() and transferOwnership() can be set up for 2-step verification to prevent mistaken privilege transfer or renouncing.

Founder and Team tokens - possible early unlocks

Resolved
arrow-right
Description

This issue deals with how the contract can lose 10% of its supply if the owner gets compromised.
Scenario 1: Via early token unlock
The releaseTime is checked to confirm it’s not zero but does not check to see if releaseTime is greater than contractCreatedTime.This means the claim function can be manipulated to dispense tokens much earlier than expected if the owner forgets to set releaseTime or uses a value too little.For small values of releaseTime (which could be zero before initialization) less than (contractCreatedTime + one quarter), quartersPassed can get greater than 10 and as such would make claimableQuarters to be equal to 10, thus allowing to withdraw all tokens allocated (10% of total supply) in the very first quarter.

Scenario 2: Malicious/Compromised owner
The erc20 withdraw function in the contract allows any address to be passed in, including the token’s contract address. If that happens, withdraw() would check for the ether balance of the contract (another low severity issue described below) and then transfer the available balance of the contract - 10% of the totalSupply - to the owner which could have been compromised. The tokens can then be sold on the open market without any restrictions.

Contract

web3AiTool.sol

Recommendation

Remediation - 
• releaseTime can be set in the initializer. 
• Ensure that all arithmetic checks are not easily manipulated to avoid privileged users gaming the system. 
• Include a check for the Web3AiTools address in the withdraw function
• Implement the remediation specified below for centralization risks.

Medium Severity Issues

Low Severity Issues

Informational Issues

Appendix

Disclaimer

Web3AITool

Web3AITool

High Severity Issues
Medium Severity Issues
Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC