Skip to content

MAL-2026-15828 Malicious code in env-validator-tool (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (dd6cff735ec80019a9009add49ea47ae4b34ec0c29c1e287511d765c24300964)

The package ships no source module (only egg-info metadata) despite declaring a console_script entrypoint 'env-validator=env_validator.cli:main' that references a non-existent env_validator/ directory. Its setup.py install_requires declares 'telemetry-helper' — an unpinned, generically-named PyPI dependency — with an inline author comment reading 'Legitimate dependency with payload'. Because the package itself contains no code, the sole effect of pip install env-validator-tool is resolving and installing whatever code is published under the 'telemetry-helper' name, which then executes on the installer's machine during install. The self-labeled 'payload' comment combined with the missing implementation, unpinned generic dependency name, and stub entrypoint indicates the package is a lure whose only purpose is to pull in the sibling drop package.

Source: kam193 (6154c04795237a4ea3c9a29df7ef65a739056eeb3f20a198890bab3eb416f9ff)

In this campaign, one package contains malicious code exfiltrating environment variables during import (telemetry-helper), and another one intentionally installs it as a dependency.


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

Campaign: 2026-09-telemetry-helper

Reasons (based on the campaign):

  • exfiltration-env-variables

  • The malicious code is intentionally included in a dependency of the package

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi env-validator-tool(PyPI) = 1.0.0; = 1.0.1; = 1.0.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi env-validator-tool(PyPI) = 1.0.0 No fix listed
pypi env-validator-tool(PyPI) = 1.0.1 No fix listed
pypi env-validator-tool(PyPI) = 1.0.2 No fix listed

References