From dac6efbaff9a711074edeef9968dc29bad1324eb Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 17 Sep 2023 13:35:17 +0200 Subject: fix(dockerfile): bash injection on run instructions --- .../query/injections/dockerfile/bash-on-run-instructions.dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/query/injections/dockerfile/bash-on-run-instructions.dockerfile (limited to 'tests') diff --git a/tests/query/injections/dockerfile/bash-on-run-instructions.dockerfile b/tests/query/injections/dockerfile/bash-on-run-instructions.dockerfile new file mode 100644 index 000000000..d25020494 --- /dev/null +++ b/tests/query/injections/dockerfile/bash-on-run-instructions.dockerfile @@ -0,0 +1,6 @@ +FROM foo +RUN bar +# ^ bash +RUN \ + baz +# ^ bash -- cgit v1.2.3-70-g09d2