Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in ai-cypher (PyPI)

The ai-cypher package on PyPI contained malicious code in a compiled native extension that exfiltrates sensitive Telegram files upon import. The package was identified and cataloged by the OpenSSF malicious-packages project.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on download count and user base of ai-cypher package
Ecosystems
Attack vectors
Threat actor
Affected entities
  • ai-cypherPyPI package containing malicious compiled native extension

The ai-cypher package distributed via PyPI contained malicious code hidden within a compiled native extension. Upon import, the extension exfiltrates sensitive files related to Telegram, indicating credential theft or information stealing intent.

The malicious package was identified and attributed to campaign 2025-12-ai-cypher by the OpenSSF's malicious-packages project. The attack vector involved distributing the compromised package directly on PyPI, where it could be installed by unsuspecting users.

The incident was disclosed on 2026-07-21 and cataloged under OpenSSF's malicious package tracking (MAL-2025-192683). Users who installed affected versions of ai-cypher should assume their Telegram-related files and credentials may have been compromised.

Indicators of compromise

Packages
  • ai-cypher

Remediation

  • Immediately uninstall ai-cypher from all systems
  • Audit systems for unauthorized access or data exfiltration related to Telegram
  • Review Telegram account security and change credentials if necessary
  • Check for any suspicious activity in Telegram accounts
  • Use dependency scanning tools to detect if ai-cypher was installed in your supply chain
  • Review PyPI package dependencies to ensure no other malicious packages are present

Sources

  1. GitHub Advisory GHSA-4p6r-67hj-p2w3 · GitHub Advisory Database

Cite this entry

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

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