The npm package 'sm-cart' versions 99.0.0 and 99.0.1 contain malicious preinstall and postinstall scripts that unconditionally execute curl commands to a hardcoded IP address. This behavior causes the installing host to send information such as the internal package name, the host's public IP, and installation success to an external operator. The package itself has no functional code and uses a high version number to override internal packages with the same name, facilitating dependency confusion attacks.