Skip to content

Unicode Direction Control Characters Detected

Description

The code must not contain any of Unicode Direction Control Characters, as it can lead to improper enforcement of a single, unique action.

Examples

Insecure Code

solidity
string s = "\u202a";

Secure Code

solidity
string s = "";

Remediation

Remove Unicode Direction Control Characters from the code.

Rule Details

FieldValue
IDCODE-0737
CategoryInsecureConfig
SeverityLOW
CWECWE-837
ConfidenceHIGH
ImpactLOW
LikelihoodLOW
ExploitabilityCOMPLEX
Tagsunicode, direction control characters
OWASPN/A

References