Public _transferFeesSupportingTaxTokens function without access modifier
Description
The _transferFeesSupportingTaxTokens function is declared as public without any access modifiers, potentially allowing unauthorized access and control.
Examples
Insecure Code
solidity
function _transferFeesSupportingTaxTokens(...) public {... }Secure Code
solidity
function _transferFeesSupportingTaxTokens(...) internal {... }Remediation
Add proper access modifiers to restrict access to the _transferFeesSupportingTaxTokens function.
Rule Details
| Field | Value |
|---|---|
| ID | CODE-0288 |
| Category | AccessControl |
| Severity | HIGH |
| CWE | CWE-284 |
| Confidence | LOW |
| Impact | HIGH |
| Likelihood | HIGH |
| Exploitability | EASY |
| Tags | access control, solidity |
| OWASP | N/A |