Three NPM packages found opening shells on Linux, Windows systems
zdnet.com
zdnet.com
It only becomes a security problem when malicious instructions are passed into that spawned shell or network ports are opened for remote access to a shell. Either way these problems are potentially present in most systems applications and are generally addressed with security policies set in the OS.