Skip to content

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

FieldValue
IDCODE-0288
CategoryAccessControl
SeverityHIGH
CWECWE-284
ConfidenceLOW
ImpactHIGH
LikelihoodHIGH
ExploitabilityEASY
Tagsaccess control, solidity
OWASPN/A

References