Affected script: "install-scripts:preinstall"
The code is designed to collect sensitive information from the system running it and send the data to a remote server. It collects the package name, directory, user's home directory, hostname, username, DNS servers, and other package information, then encodes it and sends it via HTTPS POST request to a potentially malicious hostname, indicated by the use of a suspicious domain that suggests it is intended for capturing data (OAST - Out of Band Application Security Testing). This action can leak sensitive information and compromise system and user privacy.