Backdoor found in PyPI packages
PyPI packages "keep", "pyanxdns", "api-res-py" were found to be containing a backdoor due to the presence of malicious "request" dependency.
Most versions of the "keep" package use Python module requests for making HTTP requests, "keep" v.1.2 package contains "request" (without -s ) which is malware. A malicious "request" dependency has also been found in some versions of the PyPI packages "pyanxdns" and "api-res-py".
The following vulnerabilities have been identified:
The developer of the "pyanxdns" package, Marky Egebäck, reuploaded a new version to PyPI and deleted the version referencing the malicious "request" dependency.
Source: securitylab.ru
15 June 2022