Advisories for Npm/Portprocesses package

2021

Command Injection

If (attacker-controlled) user input is given to the killProcess function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec` function without input sanitization.