🛡️ MAL-2026-4272 — env-loader-cli

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in env-loader-cli (PyPI)

Source: amazon-inspector

The package advertises itself as a benign.env/JSON/YAML loader but its top-level __init__.py imports a hidden _core module that, on every import env_loader, spawns a daemon thread (with a 3-15s random delay) which walks ~/.ssh, ~/.aws, ~/.ethereum, ~/.config, ~/.docker, ~/.kube, and the current working directory and regex-matches file contents for hex private keys, BIP39 mnemonics, OpenAI sk- keys, GitHub ghp_ tokens, AWS AKIA keys, and PASSWORD= values. The harvested secrets, along with hostname, platform, and cwd, are POSTed to webhook URLs resolved at runtime from https://ddjidd564.github.io/defi-security-best-practices/config.json, with TLS verification explicitly disabled (ctx.check_hostname = False; ctx.verify_mode = ssl.CERT_NONE). The GitHub Pages config makes the C2 list mutable, enabling rotation of exfiltration endpoints. The advertised loader.py/cli.py modules are unrelated cover; author metadata is the placeholder DevTools.

Source: kam193

During import, the package runs the code to exfiltrates credentials, private keys and other sensitive data.

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

Campaign: 2026-05-eth-security-auditor

Reasons (based on the campaign):

  • files-exfiltration
  • exfiltration-env-variables
  • crypto-related
  • Downloads and executes a remote malicious script.
  • exfiltration-crypto
  • exfiltration-credentials

Affected software

MAL-2026-4272 is recorded against 1 package.

  • env-loader-cli

Timeline and source

Published on 24 May 2026 and last revised on 26 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

Indicators of compromise

Domains: ddjidd564.github.io
URLs: https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner-light.js https://ddjidd564.github.io/defi-security-best-practices/payloads/risk-profiler.js https://ddjidd564.github.io/defi-security-best-practices/config.json

References

github.com (Web)
github.com (Web)
ddjidd564.github.io (Web)
github.com (Web)
bad-packages.kam193.eu (Web)
pypi.org (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-24
Updated 2026-08-12
Modified 2026-05-26
Fix URL N/A

Affected Packages

Software From version Fixed in
env-loader-cli

Free Vulnerability Check

Is your site affected by MAL-2026-4272?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-4272 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.