compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Produce errors for trojan source

Open thekid opened this issue 3 years ago • 1 comments

Compilers, interpreters, and build pipelines supporting Unicode should throw errors or warnings for unterminated bidirectional control characters in comments or string literals, and for identifiers with mixed-script confusable characters.

https://trojansource.codes/ https://www.scyon.nl/post/trojans-in-your-source-code

thekid avatar Jun 03 '22 09:06 thekid

Maybe like GitHub does it here or here:

Compare this: image

...to this: image

thekid avatar Jun 03 '22 09:06 thekid