Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in 3m-promo-gen-api (PyPI)

Malicious code was discovered in the 3m-promo-gen-api package on PyPI. The package contained intentional malicious functionality and has been flagged by the OpenSSF malicious packages database.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Unknown; depends on adoption of affected versions
Ecosystems
Attack vectors
Affected entities
  • 3m-promo-gen-api

The 3m-promo-gen-api package published on PyPI was found to contain malicious code. This incident was identified and documented by the OpenSSF's malicious packages project, which maintains a curated database of known malicious software supply chain incidents.\n\nThe malicious package was cataloged under identifier MAL-2024-4725 in the OpenSSF malicious packages repository. The discovery was published on July 21, 2026, via a GitHub Security Advisory.\n\nUsers who installed this package should immediately remove it and audit their systems for any unauthorized activity or data exfiltration.

Indicators of compromise

Packages
  • 3m-promo-gen-api

Remediation

  • Remove the 3m-promo-gen-api package from all affected environments
  • Audit systems for signs of compromise or unauthorized access
  • Review logs for any suspicious activity following installation of the package
  • Use dependency scanning tools to identify if this package was transitively included in other projects
  • Monitor for any data exfiltration or unauthorized network connections that may have occurred

Sources

  1. GitHub Advisory GHSA-cg23-2m3j-mrff · GitHub Advisory Database

Cite this entry

"Malicious code in 3m-promo-gen-api (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-3m-promo-gen-api-pypi-ybw7q7

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 vtranalytic (PyPI)

    The vtranalytic package on PyPI contained malicious code implementing a Telegram-bot-driven remote administration tool that provides full system control to an attacker holding the configured bot token. The package exfiltrates credentials, SSH keys, and arbitrary files via Telegram API, and executes arbitrary shell commands through a documented `run` command.

    PyPICompromised packageMalicious maintainer
  2. containedcritical

    Malicious code in govapkg (PyPI)

    govapkg, a malicious PyPI package, downloads and executes a hidden binary on first use, establishing persistence via a systemd desktop autostart entry. The package obfuscates its malicious behavior through base64-encoded URLs and downloads from unverified external sources.

    PyPICompromised packageMalicious commit
  3. containedcritical

    Malicious code in dev-helper-bg (PyPI)

    The PyPI package dev-helper-bg contained malicious code that executed arbitrary commands on import. The package decrypted and executed remotely-controlled code fetched from an external endpoint, and spawned a Telegram bot for command and control.

    2026 07 Make HelperPyPICompromised packageMalicious commit
  4. containedcritical

    Malicious code in karpatkit (PyPI)

    The karpatkit package on PyPI contained malicious code that exfiltrated sensitive credentials and secrets on import. The package spawned a daemon thread collecting environment variables, cloud credentials, SSH keys, Kubernetes tokens, cryptocurrency wallets, and shell histories, then transmitted them via HTTP to hardcoded IP addresses.

    PyPICompromised packageMalicious commit