I keep seeing this and wondering if the ESLint default rules against weird characters would catch this? But I can’t figure out how to check.
Claude’s analysis seems solid here based on reading the snippets it tested.
A purpose-built linter could be cross-language, it’s pretty reasonable to blanket ban these characters entirely, or at least allowlist them.