BATBToken Smart Contract Whitelist Management Access Control Vulnerability

Vulnerability

A vulnerability has been identified in the BATBToken smart contract on the Binance Smart Chain. The issue arises from improper access control in whitelist management functions, specifically in the setColdWhiteList() and setSpecialAddress() methods inherited from the ERC20 base contract. These functions are public and lack necessary access control modifiers, enabling any user to manipulate transfer restrictions and special address settings. This flaw could disrupt the contract's dividend distribution mechanisms and lead to unauthorized privileges, undermining the intended tokenomics.

Impact

Exploitation of this vulnerability allows unauthorized users to bypass transfer restrictions and manipulate special address settings, potentially disrupting dividend distributions and other contract mechanisms.

Reproduction

To reproduce this vulnerability, call the setColdWhiteList() function to add an address to the cold whitelist, bypassing the intended transfer restrictions. Additionally, the setSpecialAddress() function can be used to manipulate special address settings without authorization.

Remediation

Implement proper access control modifiers, such as onlyOwner, for the affected whitelist management functions.

Added: Oct 6, 2025, 5:30 PM
Updated: Oct 6, 2025, 6:26 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
0.7
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.