You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: Provisioners are a tool of last resort and should be avoided where possible. Provisioner behavior cannot be mapped by Terraform as part of a plan, and execute arbitrary shell commands by design.
29508
+
metadata:
29509
+
category: security
29510
+
confidence: HIGH
29511
+
cwe:
29512
+
- 'CWE-77: Improper Neutralization of Special Elements used in a Command (''Command Injection'')'
29513
+
- 'CWE-94: Improper Control of Generation of Code (''Code Injection'')'
message: Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of $X, and semgrep will ignore it. If what you need is an array, consider using a proper bash array.
message: Provisioners are a tool of last resort and should be avoided where possible. Provisioner behavior cannot be mapped by Terraform as part of a plan, and execute arbitrary shell commands by design.
29508
+
metadata:
29509
+
category: security
29510
+
confidence: HIGH
29511
+
cwe:
29512
+
- 'CWE-77: Improper Neutralization of Special Elements used in a Command (''Command Injection'')'
29513
+
- 'CWE-94: Improper Control of Generation of Code (''Code Injection'')'
0 commit comments