The npm package 'params-valid-js' impersonates the legitimate 'request' package but contains malicious code that executes attacker-controlled Node.js code. Its middleware export spawns a detached child process running a script that fetches remote code and executes it with full module access, enabling remote code execution. This is a supply-chain attack affecting specific versions of the package.