Advisories for Npm/Treekill package

2020

Command Injection in treekill

All versions of treekill are vulnerable to Command Injection. The package fails to sanitize values passed to the kill function. If this value is user-controlled it may allow attackers to run arbitrary commands in the server. The issue only affects Windows systems. Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

2019

Code Injection

A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.