Skip to content

MALICIOUS (1) package from Python Package Index.

  1. The campaign has clearly malicious intent, like infostealers.

ollamaa

Affected versions: (1) 0.4.2

  1. Version numbers are usually added automatically. In most cases, the packages listed here were created only to distribute malicious code.

Campaign data

Campaign information may not always be 100% accurate for every related package.

Campaign description

Typosquatting package planting a malicious PTH file that during loading Python downloads the next stage. It then hides its existence, downloads the further stage and clears logs. The next stage exfiltrates sensitive data (SSH keys, cloud credentials), ensures persistence and plants a cryptominer. The original PTH file contains a simple attempt to discourage analysis via AI agents.

See more details on the campaign page.

abuses-pth

The package uses .pth files, sitecustomize or usercustomize modules to execute malicious code during Python startup, even without importing the package code manually.

covering-tracks

The package contains code to cover its tracks, e.g. by deleting malicious code after execution.

cryptominer

Campaign targets cryptominer.

exfiltration_credentials

The package attempts to steal credentials, like passwords or API keys.

exfiltration_ssh_keys

Campaign targets exfiltration_ssh_keys.

files_exfiltration

Campaign targets files_exfiltration.

infostealer

Activity is typical for information stealers, i.e. by exfiltrate various sensitive data from the victim's environment.

obfuscation

Code uses obfuscation techniques to hide its true purpose.

persistence

Campaign targets persistence.

remote_script

Downloads and executes a remote malicious script.

typosquatting

The package name is an typosquatting variant of a popular package.

Look up in other services

  1. May not be available. See more in pypi-json-data repository.
  2. Open Source Insights project, provided by Google.
  3. Service from Socket.dev, a cybersecurity company.
  4. Spectra Assure Community, a service from ReversingLabs, a cybersecurity company.
  5. Service from Snyk, a cybersecurity company.