mkdocs_gallery/utils.py
2
S603:
subprocess call - check for execution of untrusted input.
104
subprocess
.
check_call
(
117
subprocess
.
check_call
([
"optipng"
,
"--version"
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
1
S303:
Use of insecure MD2, MD4, MD5, or SHA1 hash function.
167
return
hashlib
.
md5
(
src_content
)
.
hexdigest
()
1
S404:
Consider possible security implications associated with the subprocess module.
19
import
subprocess
1
S607:
Starting a process with a partial executable path
117
subprocess
.
check_call
([
"optipng"
,
"--version"
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)