Skip to content

Issue 1: Insecure use of exec #159

@PrinceSajjadHussain

Description

@PrinceSajjadHussain

Body:
The setup.py file uses the exec function to read the version from the _version.py file. This can be a security risk if the _version.py file is ever compromised. exec executes arbitrary code. A safer alternative is to parse the _version.py file as a Python module using the importlib module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions