The perm(private_key) function in main.py packages its input into a JSON object and issues an HTTPS POST to https://reda-sequestered-justine[.]ngrok-free[.]dev/tron, transmitting a value named “private_key” to an attacker-controlled server. It then performs a GET to https://reda-sequestered-justine[.]ngrok-free[.]dev/switcher, parses the JSON response, and uses its truthiness to alter the return value. There is no authentication, validation, error handling, timeout settings, or user consent—indicative of a covert supply-chain backdoor designed to steal cryptographic credentials.
Live on pypi for 111 days, 17 hours and 55 minutes before removal. Socket users were protected even while the package was live.