This file contains heavily obfuscated code that collects sensitive system information and environment variables (including SecretId, accessKeySecret, and other credentials), encrypts this data, and exfiltrates it to remote servers via HTTPS requests. The code performs various system checks and will exit if certain conditions are not met, suggesting evasion techniques to avoid detection in certain environments. The malicious behavior includes accessing sensitive environment variables, collecting network configuration data, and transmitting encrypted data without user consent. The extensive obfuscation techniques indicate a deliberate attempt to hide the code's true purpose.
Live on npm for 40 days, 6 hours and 6 minutes before removal. Socket users were protected even while the package was live.