cvelo
P2 · HighMalware

Malicious code in demo-pingtest-xyz (PyPI)

  • GHSA-7r7f-5mcw-j79p

Description

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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5eed901d621225c72ab1f6b54780adc62a6d2e78/osv/malicious/pypi/demo-pingtest-xyz/MAL-2026-19935.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • demo-pingtest-xyzPyPI

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.