目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
PyPI active

dev-helper-bg

MAL-2026-10992
2026-08-04 22:32:08
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in dev-helper-bg (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIdev-helper-bg0.1.3
PyPIdev-helper-bg0.1.4
PyPIdev-helper-bg0.1.6
PyPIdev-helper-bg0.1.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10992","published":"2026-07-22T10:24:34Z","modified":"2026-08-04T22:32:07.816268262Z","summary":"Malicious code in dev-helper-bg (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ce930400319131adb4adf9f442340165a52a3ebd8320c497d1de05a3f896cac3)\nOn `import dev_helper`, `dev_helper/__init__.py` calls `start_decryptor()` at module top level, which spawns a daemon thread running `decrypt_and_run()`. That function fetches an AES-GCM key from the hardcoded endpoint https://key-2qfm.vercel.app/api/key, uses SHA-256 of the fetched value as the key, reads the shipped `dev_helper/encrypted.bin` (nonce||ciphertext, 16897 bytes), decrypts it with AES-GCM, and passes the plaintext to `exec()`. The executed code is not present in cleartext in the package and can be rotated by whoever controls the Vercel endpoint or the shipped blob, giving arbitrary code execution on any host that imports the package. A separate `bot.py` also auto-starts a Telegram bot with a hardcoded token in a daemon thread on import, providing an out-of-band channel to the author. The encrypted-blob-plus-remote-key pattern serves only to hide the code that actually runs on the installer.\n\n## Source: kam193 (9466ff28252daa546dc9a75b6b255e94dc6a6409d69197b40b573d05d002d340)\nThe package embeds encrypted code that, during import, is decrypted using an externally sourced password. The recovered code is executed and starts a bot capable of exfiltrating local files.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-make-helper\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - obfuscation\n\n\n - uses-telegram-bot\n","affected":[{"package":{"name":"dev-helper-bg","ecosystem":"PyPI"},"versions":["0.1.3","0.1.4","0.1.6","0.1.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dev_helper/decryptor.py","sha256":"a365d4019e38d1dd2395e387726db17ecff43ee95029fa294be3c6b8808ba139","tlsh":"2731658a2d997422e282c5dc4539c48153277e177a4aa53cfecc13496fe617088b51de"},{"path":"dev_helper/__init__.py","sha256":"8a875b902e751a528a8b56feb9337c4a0e1e4d1a6ed5b4a7931f48da1ed7ecca","tlsh":"f441bc968e6028038383da68e576c6e54e231c9f278d1bb8f6de13b10fc4174cad19b9"},{"path":"dev_helper/bot.py","sha256":"4b656e4a3a49d3ae6e5d5cc63ffd3572037646254453b1a7f87992705598d499","tlsh":"aa211521c41b441153f390e2f432b6a11632a74f5902f1f2b56cb3a81bcd13a8aa778c"}],"package_integrity":[{"filename":"dev_helper_bg-0.1.6-py3-none-any.whl","hashes":{"blake2b_256":"4b32788ca97917665057386bde66d3bee0babc99461d52f9ca223d8ca743b3bf","md5":"aea6b9fbf6233c986c2b11145bdb35de","sha256":"4ed22049f39a50e1c2b680375645bdd1bada6b03ec542a9847be180ee705a349"}},{"filename":"dev_helper_bg-0.1.6.tar.gz","hashes":{"blake2b_256":"0aefd2e705293ec5a9e0425e8ce141f5e91a27b236a105a830d209c8b0f3bb86","md5":"8f9fd8032ac935973323a75e06ccf26c","sha256":"5203ece948d2c28a8752e9e65920c0621d0c2b2ab5209196bd6a50598b70cf3b"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/dev-helper-bg"},{"type":"PACKAGE","url":"https://pypi.org/project/dev-helper-bg/0.1.6/"},{"type":"PACKAGE","url":"https://pypi.org/project/dev-helper-bg/0.1.4/"},{"type":"PACKAGE","url":"https://pypi.org/project/dev-helper-bg/0.1.3/"}],"database_specific":{"iocs":{"domains":["key-2qfm.vercel.app"],"urls":["https://key-2qfm.vercel.app/api/key"]},"malicious-packages-origins":[{"id":"pypi/2026-07-make-helper/dev-helper-bg","import_time":"2026-07-22T11:17:40.211735141Z","modified_time":"2026-07-22T10:25:05.295786Z","sha256":"9466ff28252daa546dc9a75b6b255e94dc6a6409d69197b40b573d05d002d340","source":"kam193","versions":["0.1.3","0.1.4","0.1.6","0.1.7"]},{"id":"IN-MAL-2026-010916","import_time":"2026-07-28T14:19:58.982221598Z","modified_time":"2026-07-28T13:35:56Z","sha256":"ce930400319131adb4adf9f442340165a52a3ebd8320c497d1de05a3f896cac3","source":"amazon-inspector","versions":["0.1.6"]},{"id":"IN-MAL-2026-010915","import_time":"2026-07-28T14:19:58.929300311Z","modified_time":"2026-07-28T13:35:47Z","sha256":"615d0b125f0a98d241be6fb873a1562234d511da1f29552dba13fe4f537e45cd","source":"amazon-inspector","versions":["0.1.4"]},{"id":"IN-MAL-2026-011122","import_time":"2026-08-04T22:30:00.329402203Z","modified_time":"2026-08-04T21:35:43Z","sha256":"5ea97b74a63e396067a42c467144da8030967eabe31ef45773ee1f0e814492c6","source":"amazon-inspector","versions":["0.1.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0