Skip to content
supplychainattack.orgSupply chain attack incident catalog
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.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on adoption of affected versions
Ecosystems
Attack vectors
Affected entities
  • afrit-namePyPI package

The afrit-name package on PyPI was found to contain malicious code. This incident was identified and credited to the OpenSSF (Open Source Security Foundation) malicious packages project, which maintains a catalog of known malicious packages in open source ecosystems.\n\nThe malicious package was documented under identifier MAL-2024-11513 in the OpenSSF's malicious packages repository. The package appears to have been removed or remediated following discovery.\n\nUsers who installed afrit-name from PyPI should verify they are using a clean version or remove the package if no longer needed.

Indicators of compromise

Packages
  • afrit-name

Remediation

  • Remove or uninstall the afrit-name package from affected systems
  • Review system logs and process execution history for any suspicious activity following installation of afrit-name
  • If the package was used in production, audit systems for unauthorized access or data exfiltration
  • Monitor PyPI for any updated or replacement versions of afrit-name before reinstalling

Sources

  1. GitHub Advisory GHSA-7r7g-ch6c-8m66 · GitHub Advisory Database

Cite this entry

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

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

    Malicious code in adv2099m6 (PyPI)

    Malicious code was discovered in the adv2099m6 package on PyPI. The package contained intentional malicious functionality and has been flagged by the OpenSSF malicious packages database.

    PyPICompromised package