Malicious code in yc-depconf-test-807dff (PyPI)
The PyPI package yc-depconf-test-807dff contains malicious code that exfiltrates basic host information (IP address, username) upon installation or module import. The package overrides the install command in setup.py to execute the malicious payload during installation.
- Disclosed
- Last updated
- Blast radius
- Users who installed yc-depconf-test-807dff from PyPI
- Ecosystems
- Attack vectors
- Affected entities
- yc-depconf-test-807dffPyPI package containing malicious code
The package yc-depconf-test-807dff was published to PyPI with embedded malicious code designed to exfiltrate basic system information from the host upon installation or when the module is imported. The attack is implemented by overriding the install command in setup.py to execute the malicious code during the package installation process.\n\nAccording to the OpenSSF malicious packages database, this package was categorized as a typical pentest/testing package with limited harm potential, though it does successfully extract sensitive host data such as IP addresses and usernames.\n\nThe package appears to have been identified and cataloged by the OpenSSF malicious packages project, which tracks known malicious packages across package repositories.
Indicators of compromise
- Packages
- yc-depconf-test-807dff
Remediation
- Remove yc-depconf-test-807dff from all systems where it was installed
- Audit systems that installed this package for signs of data exfiltration or unauthorized access
- Review network logs for suspicious outbound connections from affected hosts
- Update package management tools to block or warn on installation of known malicious packages from the OpenSSF malicious packages database
- Implement package verification and scanning in CI/CD pipelines to detect malicious packages before installation
Sources
- GitHub Advisory GHSA-w656-r5g3-qmwv · GitHub Advisory Database
Cite this entry
"Malicious code in yc-depconf-test-807dff (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-yc-depconf-test-807dff-pypi-2czuz7
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in afrit-name (PyPI)
Malicious code was discovered in the afrit-name package on PyPI. The incident was identified and documented by the OpenSSF malicious packages project.
PyPICompromised package - resolvedcritical
Malicious code in adv2099m7 (PyPI)
Malicious code was discovered in the adv2099m7 package on PyPI. The package was identified and cataloged by the OpenSSF malicious packages project.
PyPICompromised package - resolvedcritical
Malicious code in adrandom (PyPI)
The adrandom package on PyPI contained malicious code that executed spyware and information-stealing malware. It was part of a campaign by the EsqueleSquad group that published nearly 6,000 malicious packages across PyPI and NPM.
EsquelesquadPyPICompromised package - resolvedcritical
Malicious code in ziphash (PyPI)
The ziphash package on PyPI contained malicious code that downloads and executes multi-stage malware during archive-support class initialization. The malware exhibits obfuscation and remote code execution capabilities, classified as part of the 2025-11-uzip campaign.
2025 11 UzipPyPICompromised package