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

False positive: Python - Deserialization of user-controlled data #14685

Open
jorgectf opened this issue Nov 5, 2023 · 0 comments
Open

False positive: Python - Deserialization of user-controlled data #14685

jorgectf opened this issue Nov 5, 2023 · 0 comments

Comments

@jorgectf
Copy link
Contributor

jorgectf commented Nov 5, 2023

Description of the false positive

The py/unsafe-deserialization alerts on PyYaml's yaml.load when the provided Loader inherits from a safe loader (yaml.loader.SafeLoader).

Code samples or links to source code

https://github.com/blakeblackshear/frigate/blob/14c89c9b638bed90ef02e31beb20e84ab61dba8d/frigate/util/builtin.py#L87-L112

URL to the alert on GitHub code scanning (optional)

https://github.com/blakeblackshear/frigate/security/code-scanning/26

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

No branches or pull requests

2 participants