Skip to main content
Menu
Advisories

Malicious code in vinted-mocked-apis (PyPI)

GHSA-JGRW-W3X3-W5CPPublished Updated GitHubMalware

Description

Source: kam193 (c71ab868e2ac254cfa135aa73c1ed19a3ddb1c82793efa3ff8466c3c5aa44b02)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.

---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
  • The package overrides the install command in setup.py to execute malicious code during installation.

Source: ossf-package-analysis (55332d91b2afbf62923f1d853c6df3a5c8f768797a3176effdecba07b91d4fbf)

The OpenSSF Package Analysis project identified 'vinted-mocked-apis' @ 99.0.0 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

---

Credit: OpenSSF (source)

Affected versions

References

bad-packages.kam193.eu

GitHub · ossf/malicious-packages

GitHub Advisory Database