Skip to content

Commit d188086

Browse files
committed
adjust qhelp to focus on the execFile API
1 parent 9c29451 commit d188086

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Security/CWE-078/UnsafeShellCommandConstruction.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<recommendation>
2222

2323
<p>
24-
If possible, use hard-coded string literals to specify the
25-
shell command to run, and provide the dynamic arguments to the shell
26-
command separately to avoid interpretation by the shell.
24+
If possible, provide the dynamic arguments to the shell as an array
25+
using e.g. the <code>child_process.execFile</code> API to avoid
26+
interpretation by the shell.
2727
</p>
2828

2929
<p>

0 commit comments

Comments
 (0)