Snyk has a published code exploit for 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 spam
package.
spam is a malicious package. The project on PyPI was taken over via a phishing attack and included a specific malicious release, which contained a malicious code that collects environment variables and downloads malware at install time.
Note: The malicious versions were removed from PyPI.