GitHub Advisory Database
GHSA-qc65-cgvr-93p6
Code injection in kill-process-by-name
Details
This affects all versions of package kill-process-by-name. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | kill-process-by-name | All versions up to and including 1.0.5 |