Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in 3web-py (PyPI)

The PyPI package 3web-py contained malicious code designed to function as an infostealer. The package was part of the funcaptcha-ru campaign and has been identified and cataloged by the OpenSSF malicious packages project.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on installation count and user exposure to malicious code execution.
Ecosystems
Attack vectors
Threat actor
Affected entities
  • 3web-pyPyPI package containing malicious code

The PyPI package 3web-py was found to contain malicious code with clear intent to steal information from affected systems. The malicious payload was identified as part of the funcaptcha-ru campaign, which targets users through compromised or malicious packages.\n\nThe package was analyzed and documented by the OpenSSF's malicious packages project (MAL-2024-9934), which tracks known malicious software distributions across package ecosystems. The malicious code functions as an infostealer, designed to exfiltrate sensitive data from compromised environments.\n\nThis incident represents a direct compromise of the PyPI package repository through the distribution of intentionally malicious code under a legitimate-appearing package name.

Indicators of compromise

Packages
  • 3web-py

Remediation

  • Remove 3web-py from all environments immediately
  • Audit systems that installed 3web-py for signs of data exfiltration or unauthorized access
  • Review access logs and network traffic from affected systems for suspicious activity
  • Change credentials and secrets on any system that may have executed the malicious package
  • Monitor for indicators of compromise related to the funcaptcha-ru campaign

Sources

  1. GitHub Advisory GHSA-pvmj-whr6-4hhj · GitHub Advisory Database

Cite this entry

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

Suggest a correction

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

  1. resolvedhigh

    Malicious code in cubesat-upstream-driver (PyPI)

    Malicious code was published to PyPI in the cubesat-upstream-driver package, capable of collecting environment variables. The package was detected as part of a CTF-like exercise or pentest campaign and does not appear to exfiltrate data autonomously.

    PyPICompromised packageDependency confusion
  2. resolvedhigh

    Malicious code in riakcs (PyPI)

    The riakcs package 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 when installed.

    PyPICompromised package
  3. containedcritical

    Malicious code in fastapii (PyPI)

    The fastapii package on PyPI is a typosquatting attack imitating the popular FastAPI library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    2026 08 FlasqPyPITyposquattingCompromised package
  4. containedcritical

    Malicious code in idnna (PyPI)

    A malicious package named idnna was published to PyPI, imitating a legitimate library. During installation, the package executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.

    PyPITyposquattingCompromised package