Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedhigh

Malicious code in accesspdp (PyPI)

The accesspdp package version 2.0.1 on PyPI contained malicious code that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious payload.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system that installed or imported the accesspdp package version 2.0.1
Ecosystems
Attack vectors
Affected entities
  • accesspdp · 2.0.1

The accesspdp package version 2.0.1 published on PyPI was identified as malicious by both the kam193 security researcher and the OpenSSF Package Analysis project. The package contains code designed to exfiltrate basic system information including IP address and username upon installation or module import.\n\nThe malicious behavior is implemented by overriding the install command in setup.py, causing the payload to execute during the package installation process. This is a direct supply chain compromise where the malicious code is embedded in the package itself.\n\nThe OpenSSF Package Analysis project formally classified the package as malicious and documented it in their malicious-packages repository. The incident was categorized as a typical pentest-style package with limited but real harm potential due to the data exfiltration capability.\n\nThe package has been identified and removed from active distribution, with the incident now resolved through detection and public disclosure.

Indicators of compromise

Packages
  • accesspdp==2.0.1

Remediation

  • Identify and remove any installations of accesspdp version 2.0.1 from affected systems
  • Audit systems that installed or imported accesspdp for signs of compromise or data exfiltration
  • Review network logs for suspicious outbound connections from affected systems during the installation period
  • Regenerate credentials and SSH keys on any affected systems
  • Monitor for any secondary compromise indicators on systems that had the package installed

Sources

  1. GitHub Advisory GHSA-wmwq-p9mp-rh6w · GitHub Advisory Database

Cite this entry

"Malicious code in accesspdp (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-accesspdp-pypi-1cqezt

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. 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
  2. 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
  3. 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
  4. 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