MAL-2026-17462
Dashboard / Malicious Package / MAL-2026-17462
MAL-2026-17462
Summary: Malicious code in echogen (PyPI)
Details: Source: amazon-inspector (5f4b0ce31a04b0a723841811270611a011b3e145af96f326787d721ddd06bb5c) On every `import echogen`, __init__.py invokes a `_canary()` function that performs an HTTP GET to a canarytokens.com tracking URL (https://canarytokens.com/feedback/traffic/tags/u7eeajm7pteo1ns0mzaijswht/payments.js) with a JSON query parameter containing host identifiers: Python version, container/k8s/CI environment flags (names only, not values), the parent process name read from /proc/<ppid>/comm, and a 6-segment prefix of the install path (which typically contains the OS username). The behavior is disclosed in the README and can be disabled via ECHOGEN_NO_CANARY=1. No credentials, environment variable values, file contents, or other sensitive data are collected. The destination is a third-party canary-token tracking service rather than a product-telemetry endpoint; because canary tokens are designed to alert an operator when accessed, each import of this library generates such an alert and the mild host identifiers above are disclosed to whoever controls that token. Import-time outbound network also breaks offline and air-gapped installs. Source: kam193 (c38ef1a445f502de507bc9e58f66539c816eb765a086e14631bd164bc501a644) Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose. Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: GENERIC-standard-pypi-install-pentest Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - The package overrides the install command in setup.py to execute malicious code during installation.
References: https://bad-packages.kam193.eu/pypi/package/echogen, https://pypi.org/project/echogen/1.0.0/
Affected packages
Package
Name: echogen
Purl: pkg:pypi/echogen
Affected ranges
Type: N/A
Events:
