Either what you pass in to IPC::Run3 or what is in $ENV{PATH} has not been cleaned. The common approach to sanitize $ENV{PATH} is to explicitly set it to (say)
$ENV{PATH} = '/bin:/usr/bin';
In reply to Re: 'Insecure dependency' warning Systemd::Daemon / IPC::Run3
by Corion
in thread 'Insecure dependency' warning Systemd::Daemon / IPC::Run3
by nikmit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |