demo-pingtest-xyz
Affected
- Versions:
0.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in demo-pingtest-xyz (PyPI)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (ac5f1e73e5038ae7d26af2daaf68855c65aa60f1e0e25da5b0b4827332d6037c)
The sdist's setup.py executes a pingback routine at install time that collects installer identity and host details via subprocess calls to whoami, id, hostname, and cat /etc/hosts, together with the current working directory and a timestamp, and POSTs them as JSON to the hardcoded URL https://pingback.zsdsh.xyz/depconf/demo-pingtest-xyz/. The behavior runs automatically when the sdist is built on install (the package ships no wheel, so a default pip install builds the sdist on Linux glibc/musl, macOS arm64/x86_64, and Windows x86_64). The /depconf/ path and the package naming are consistent with a dependency-confusion reconnaissance beacon designed to identify internal build hosts that resolve this name from the public index.
Source: kam193 (d2ce56d3cbce6034dcebd88520ffec19a094c0888b7e797f66c46bc69e8d2eac)
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):
Source: ossf-package-analysis (6a6aaba095baebff3c4b93c01f23c6a4a41a25f0dd1f9d542a2a7455518ae9b7)
The OpenSSF Package Analysis project identified 'demo-pingtest-xyz' @ 0.0.1 (pypi) as malicious.
It is considered malicious because:
Not rated by the source.
0.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0