bad-file-permissions (S103)
Derived from the flake8-bandit linter.
What it does
Checks for files with overly permissive permissions.
Why is this bad?
Overly permissive file permissions may allow unintended access and arbitrary code execution.
Example
Use instead: