diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-17 00:08:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 23:08:02 +0000 |
commit | b0525edd6fb2fa414407ec73c981051d692d1c26 (patch) | |
tree | 0e21ef4b2667f6882d6c52f24d27cc26d3696403 /tests/testdata | |
parent | f7ddea3af7a9f4dfef23aa544f05348dabbad20d (diff) |
feat: warn when using `--allow-run` with no allow list (#25215)
Diffstat (limited to 'tests/testdata')
-rw-r--r-- | tests/testdata/run/deny_some_permission_args.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdata/run/deny_some_permission_args.out b/tests/testdata/run/deny_some_permission_args.out index abb5274ee..fe3e57d69 100644 --- a/tests/testdata/run/deny_some_permission_args.out +++ b/tests/testdata/run/deny_some_permission_args.out @@ -1,3 +1,4 @@ +Warning --allow-run can be trivially exploited. Prefer specifying an allow list (https://docs.deno.com/runtime/fundamentals/security/#running-subprocesses) PermissionStatus { state: "granted", onchange: null, partial: true } PermissionStatus { state: "denied", onchange: null } PermissionStatus { state: "granted", onchange: null } |