github / github/codeql

False positive: Python - Deserialization of user-controlled data

Abierto
#14,685 0 comentarios 0 reacciones 0 asignados Ver en GitHub
false-positive Python
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

**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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.