/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/node/child_process_shell_escape/main.out
27 строк
982 B
Bartek Iwańczuk
fix(ext/node): child_process improvements (internalMessage, argv0, DEP0190) (#32885)
23 мар 2026, 10:08
Не верифицирован
23 мар 2026, 10:08
f5014bb
Код
Авторство
О чём код?
Test 1: Newline injection in args PASS: Newline injection blocked Test 2: Semicolon injection in args PASS: Semicolon injection blocked Test 3: Pipe injection in args PASS: Pipe injection blocked Test 4: Backtick injection in args PASS: Backtick injection blocked Test 5: $() injection in args PASS: $() injection blocked Test 6: Normal args work correctly PASS: Normal args work Test 7: Args with spaces preserved PASS: Args with spaces work Test 8: Shell features work with string command PASS: Shell features work Test 9: Async spawn escapes args [WILDCARD]PASS: Async spawn injection blocked Test 10: Backtick + $VAR injection in args PASS: Backtick + $VAR injection blocked Test 11: $() + $VAR injection in args PASS: $() + $VAR injection blocked Test 12: Backslash-quote breakout + $VAR injection in args PASS: Backslash-quote breakout injection blocked Test 13: Backslash-quote breakout + pipe injection in args PASS: Backslash-quote pipe injection blocked All tests passed!