Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn on filenames with non ASCII characters #1090

Closed
chavacava opened this issue Oct 30, 2024 · 0 comments · Fixed by #1092
Closed

Warn on filenames with non ASCII characters #1090

chavacava opened this issue Oct 30, 2024 · 0 comments · Fixed by #1092
Assignees

Comments

@chavacava
Copy link
Collaborator

As described here, source files with names containing non-ASCII characters can be used to compromise a code base.
Enforcing ASCII-only filenames helps preventing these kind of attacks. revive is the perfect place to implement such enforcement.

There is already a banned-characters rule that helps mitigating some security risks, it seems a good candidate where to implement the checks on filenames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant