36.md

September 28, 2022 ยท View on GitHub

Right-To-Left-Override control character (U+202E)

Description:

Malicious actors can use the Right-To-Left-Override unicode character to force RTL text rendering and confuse users as to the real intent of a contract.

Remediation:

There are very few legitimate uses of the U+202E character. It should not appear in the source code of a smart contract.

References:

https://swcregistry.io/docs/SWC-130

Contents

  1. 1Right-To-Left-Override control character (U+202E)
  2. 1.1Description:
  3. 1.2Remediation:
  4. 1.3References: