Credo v1.4.0 Credo.Check.Warning.UnsafeExec View Source

This check has a base priority of high and works with any version of Elixir.

Explanation

Spawning external commands can lead to command injection vulnerabilities.

Use a safe API where arguments are passed as an explicit list, rather than unsafe APIs that run a shell to parse the arguments from a single string.

Safe APIs include:

Unsafe APIs include:

Configuration parameters

There are no parameters for this check.