diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-17 23:32:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 00:32:52 +0200 |
commit | a7d67e3a7a6b2c66f366dd3448b82cbc297a4e77 (patch) | |
tree | 40ae66b68afdc4aa2dc255d6d3c334193408d646 /tests/specs | |
parent | 97b8c9be3897f2a17439b217d1cd9884c39c087f (diff) |
feat: update warning message for --allow-run with no list (#25693)
Ref https://github.com/denoland/deno/pull/25215#discussion_r1762064605
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/permission/deny_run_binary_absolute_path/main.out | 2 | ||||
-rw-r--r-- | tests/specs/run/allow_run_insecure_warnings/no_allow_list.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/specs/permission/deny_run_binary_absolute_path/main.out b/tests/specs/permission/deny_run_binary_absolute_path/main.out index 7f11e7880..fef29eae7 100644 --- a/tests/specs/permission/deny_run_binary_absolute_path/main.out +++ b/tests/specs/permission/deny_run_binary_absolute_path/main.out @@ -1,4 +1,4 @@ -Warning --allow-run can be trivially exploited. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses) +Warning --allow-run without an allow list is susceptible to exploits. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses) NotCapable: Requires run access to "deno", run again with the --allow-run flag at [WILDCARD] { name: "NotCapable" diff --git a/tests/specs/run/allow_run_insecure_warnings/no_allow_list.out b/tests/specs/run/allow_run_insecure_warnings/no_allow_list.out index 277d0036c..293b4446a 100644 --- a/tests/specs/run/allow_run_insecure_warnings/no_allow_list.out +++ b/tests/specs/run/allow_run_insecure_warnings/no_allow_list.out @@ -1 +1 @@ -Warning --allow-run can be trivially exploited. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses) +Warning --allow-run without an allow list is susceptible to exploits. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses) |