You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lint: add linter for unicode directional formatting characters
This PR adds a linter to disallow the use of directional formatting
characters to help prevent them being used to get malicious code past
code review.
Ideally our code-review tool would highlight such characters for us
since such characters might routinely appear in binary artifacts.
See also:
- https://www.trojansource.codes/
- https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html
- golang/go#20209
Release note: None
0 commit comments