Skip to content

MALICIOUS (1) package from Python Package Index.

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

neutrl-contracts

Affected versions: (1) 2.0.0, 2.0.1, 2.0.2

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

This package intentionally depends on a malicious package.

This campaign exfiltrates sensitive environment variables, SSH keys, dotenv files and other credentials. The malicious code is hidden in a dependency package (e.g. neutrl-core) in a function disguised as telemetry, and requires activates once the attacker-controlled endpoint delivers the command. While the user can provide their blockchain endpoints, the code makes sure the malicious endpoint is always included in the configuration. In analyzed versions, the dependent packages did not use the malicious code but were clearly prepared for the supply chain attack.

Campaign data

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

Campaign description

This campaign exfiltrates sensitive environment variables, SSH keys, dotenv files and other credentials. The malicious code is hidden in a dependency package (e.g. neutrl-core) in a function disguised as telemetry, and requires activates once the attacker-controlled endpoint delivers the command. While the user can provide their blockchain endpoints, the code makes sure the malicious endpoint is always included in the configuration. In analyzed versions, the dependent packages did not use the malicious code but were clearly prepared for the supply chain attack. The related GitHub account faked the activity by publishing repositories with backdated commits (the account was created after any of the commits).

See more details on the campaign page.

action-hidden-in-lib-usage

The malicious action is hidden in the code and starts when user interacts with it (e.g. during class initialization or by exfiltrating given credentials).

crypto-related

Malicious activity is related to cryptocurrencies or blockchain, e.g. stealing crypto wallets.

exfiltration_credentials

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

exfiltration_crypto

The package attempts to steal sensitive cryptocurrency-related data, like wallet keys.

exfiltration_env_variables

Campaign targets exfiltration_env_variables.

exfiltration_ssh_keys

Campaign targets exfiltration_ssh_keys.

files_exfiltration

Campaign targets files_exfiltration.

remote_commands

The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

through_dependency

The malicious code is intentionally included in a dependency of the 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.