The install-artifact-from-github package versions prior to 1.7.0 download native addon binaries over the network without any cryptographic integrity verification. The download mirror URL can be fully controlled via an environment variable, allowing an attacker to redirect the download to a malicious host. The downloaded file is written directly to disk and then loaded as a native module, enabling arbitrary code execution if the artifact is tampered with. Additionally, the package allows plaintext HTTP downloads and silent downgrades from HTTPS to HTTP via redirects, increasing the risk of man-in-the-middle attacks. Post-download verification steps do not prevent malicious code execution as they run after the binary is loaded. A fix is available in version 1.7.0 that addresses these issues.