Artificial intelligence robot Rug Pull
What happened
Artificial intelligence robot (AIT) is a BEP20 token on BNB Chain (contract 0xD5B33544…F43EF7), deployed on 2022-07-03 from 0x26b327f9…58cf33. Its verified code gives the owner, who receives the entire supply and is exempt from fees, two levers over every other holder: EnemyAddress can blacklist any address from sending or receiving, and the buy/sell fee percentages have setters with no upper limit. On 2022-11-15 CertiK's Skynet alert reported an exit scam on AIT with a drop of more than 89.3% and about $152K taken by the contract deployer; De.Fi's REKT database lists a rug pull of 152,000 USD and says the deployer removed liquidity from the pair contract and sold a large quantity of tokens, giving 0xae6995d1…2f31c3 as an example sale transaction.
The price fell by roughly 90%. The code does not show whether the blacklist or fee setters were used, and the contract currently reports the zero address as owner.
How it happened
- The constructor mints the full supply to the deployer and exempts it from fees:
excludeFromFees(owner(), true);and_cast(owner(), totalSupply);. The owner can therefore sell without paying fees and is skipped by the fee-swap trigger (from != owner()). - The owner can blacklist any wallet or the pool.
EnemyAddress(address account, bool value) external onlyOwnersets_isEnemy, and_transferstarts withrequire(!_isEnemy[from] && !_isEnemy[to], 'Enemy address');. A flagged holder can neither send nor receive; flagging the pair address would stop every buy and sell. - The owner can raise fees without a cap.
setMarketingFeeandsetLpRewardFeeassign the value directly, andtakeAllFeecomputesuint256 feeAmount = amount.mul(fees).div(100);. - At a total fee of 100 the sender is debited the whole amount:
super._transfer(from, address(this), feeAmount);leavesamountAfterat zero, so the recipient (for a sell, the pair) receives nothing. Above 100 the lineamountAfter = amountAfter.sub(feeAmount);reverts, so every transfer by a non-exempt wallet fails. Fee-exempt addresses (owner, marketing wallet) are unaffected. - The owner can redirect the fee proceeds:
swapAndSendFeepays BNB tomarketingWalletAddress, whichsetMarketingWalletcan change. - What was reported: CertiK recorded an exit scam with a drop of more than 89.3% and about $152K taken by the deployer, and De.Fi's listing describes liquidity removal from the pair and a large sale by the deployer. Neither source opened shows a blacklist or fee-setter call, and removing liquidity is not controlled by this token's code.
Protocol details
Evidence
- report @CertiKAlert incident report twitter.com
- report CertiK Alert tweet on Artificial intelligence robot (AIT) exit scam twitter.com
- transaction bscscan.com transaction 0xae69…31c3 bscscan.com
- address Artificial intelligence robot (AIT) verified source on BscScan bscscan.com
- address bscscan.com address 0x26b3…cf33 bscscan.com
- analysis Sourcify match for QBaseToken on BNB Chain repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.