Supply-chain threat intelligence

Incident detail

criticalpypi·crypto miner·osv

Malicious code in yt-api-dlp (PyPI)

yt-api-dlp

Risk score

92

AI summary

Indexed incident for yt-api-dlp (pypi).

Description

During import, this malicious copy of a legitimate package downloads an encrypted data disguise as an image. It contains an archive with a next-stage script that uses the Polygon blockchain (contract 0xC7c9026a3a7e27ec6Ce2D09B19FC1FB4bc978BBb) to get the C2 address. The script then communicates with C2 over an encrypted channel to get further commands and ensures persistence. C2 delivers an executable that is executed by loading it into the memory of another process. During analysis, the encryption key and delivered binary contained test data suggesting the author experiments with building a botnet. The package has been briefly used as dependency of a Github project.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-07-yt-api-dlp

Reasons (based on the campaign):

  • peristence-autorun

  • Downloads and executes a remote malicious script.

  • clones-real-package

  • persistence

  • data-from-blockchain

  • custom-crypto

Technical details

Affected versions

=0.1.0=0.1.1

Indicators

  • affected version=0.1.075%
  • affected version=0.1.175%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents