From a7d67e3a7a6b2c66f366dd3448b82cbc297a4e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 17 Sep 2024 23:32:52 +0100 Subject: feat: update warning message for --allow-run with no list (#25693) Ref https://github.com/denoland/deno/pull/25215#discussion_r1762064605 --- tests/specs/permission/deny_run_binary_absolute_path/main.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/specs/permission/deny_run_binary_absolute_path') 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" -- cgit v1.2.3