The npm package webservices.rest-utils versions 1.0.5, 1.0.7, and 1.0.8 contains malicious code that exfiltrates sensitive data from infected systems. It uses preinstall and postinstall hooks to run a script that collects environment variables, configuration files, and cloud metadata tokens, sending them to a Cloudflare Worker endpoint. The package also hijacks common development tool commands to repeatedly trigger data exfiltration while masking its activity.