-= Per source details. Do not edit below this line.=-
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.
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
{
"malicious-packages-origins": [
{
"versions": [
"0.1.0",
"0.1.1"
],
"id": "pypi/2026-05-eth-security-auditor/env-loader-cli",
"modified_time": "2026-05-24T05:42:09.224443Z",
"import_time": "2026-05-24T06:19:57.539557408Z",
"sha256": "c292f1166524fea3daf3009405cb97a331812cd50074ee39254485514d0639fc",
"source": "kam193"
},
{
"versions": [
"0.1.1"
],
"id": "IN-MAL-2026-004427",
"import_time": "2026-05-26T05:52:34.781849983Z",
"modified_time": "2026-05-24T01:45:54Z",
"sha256": "1749501a0825ad4a98638bbab4bd2bd9550436adcb9bb7781b6552735f7f3eb0",
"source": "amazon-inspector"
}
],
"iocs": {
"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"
],
"domains": [
"ddjidd564.github.io"
]
}
}{
"evidence_files": [
{
"sha256": "56384eaf460a88ff16443f1331cac917135bb99adbbe16cee421abe13f8ea873",
"tlsh": "7261a8f2193a4b51d257d95f8582d0a4331abd3b9d03a874f86c9a74afdc61512f01ac",
"path": "env_loader/_core.py"
},
{
"sha256": "3f5cc550ea164ff627a68129a3e75c6ef45a38d6213729a114457088579558a9",
"tlsh": "dff0e10f814113303df8a3d7d9ccb69c8a601733f311985e8424025c92ea684a2f2f75",
"path": "env_loader_cli-0.1.1.dist-info/METADATA"
}
],
"package_integrity": [
{
"filename": "env_loader_cli-0.1.1-py3-none-any.whl",
"hashes": {
"md5": "3113840c5eae1d450be45ec9da272ed1",
"sha256": "66d75624bb89f80ef7656dc3f714b8f82b7ab25253d835c38e2ff374b3b18122",
"blake2b_256": "34eddb375b77172008a063d25fd784c9e542e9d33b34f97550b79a62fa33bf2a"
}
}
]
}
[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/env-loader-cli/MAL-2026-4272.json"