-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Proposal
The use of exec
can be dangerous potentially allowing execution of python code on a system.
Motivation
The codebase should more strictly follow Python convention to hopefully improve maintainability.
Details
Since this is the setup.py
script, it may not need to be addressed as we assume this is something that will be deployed by the user and does not pose an immediate risk to the operation of the tool. This could/should be mitigated at some point to not use exec. The specific code is mentioned below:
Line 29 in 46073ff
exec(f.read(), pkg_vars) # nosec # pylint: disable=exec-used |
Metadata
Metadata
Assignees
Labels
No labels