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

目标: 1000 元 · 已筹: 1359 元

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

d4rktg

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

Summary

Malicious code in d4rktg (PyPI)

远程访问后门
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPId4rktg1.2.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-13T05:33:46Z","published":"2026-05-13T05:33:46Z","schema_version":"1.7.4","id":"MAL-2026-3688","summary":"Malicious code in d4rktg (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3348d9f4bb35442b1de902c35ca46292f9336a8f83ac8deb7e870b2cd6af9019)\nThe library's sole authorization primitive, CustomFilters.authorize() in d4rk/Utils/_filters.py, OR's the installer-supplied owner_id and sudo_users list with a hardcoded Telegram user ID 7859877609 (lines 48-53). Any developer who installs this package to build a Telegram bot and uses the library's advertised authorize() filter to gate owner/admin commands silently grants Telegram account 7859877609 the same privileges as the bot's declared owner — including whatever privileged actions the bot exposes (admin commands, sudo commands, shell-style handlers common in Telegram bot frameworks). The bypass is not documented, cannot be disabled through configuration, and is reachable through normal use of the library's public API. This is a hidden persistent-access backdoor against the installer's deployed bot, not author self-harm: the harm flows from the installer to an account under the package author's (or a third party's) control.\n","affected":[{"package":{"ecosystem":"PyPI","name":"d4rktg"},"versions":["1.2.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"d4rk/Utils/_filters.py","sha256":"e114c93fbfdd3c549ba56d08e2c98d90479875eacf8248a7e5256f8abeceb4e7","tlsh":"bb51bc029d8e703109728eceecaaa013f63c4647699e1125fdbc42797f754e8c7b4a69"}],"package_integrity":[{"filename":"d4rktg-1.2.7-py3-none-any.whl","hashes":{"blake2b_256":"210c03bc7fddc03bce10cc68b537751ec29a46f6f4585e2f3623abedac9c48ee","md5":"303a194bd545221a822538ff5d414222","sha256":"ef1ff0ae0167416aebf4b7dde819f6e2b84c07b8140c25f4921fe98adcea4118"}},{"filename":"d4rktg-1.2.7.tar.gz","hashes":{"blake2b_256":"4bdfcb2242c503d0759d52f727a03aff56e77fd3c5f31d02738d5ba5da983d3e","md5":"fae35a3462d752a9923bda99f738becc","sha256":"6b2752bd41042cebf83f206ef8403685fbe9362376a4f668a8834fb235c41294"}}]}}}],"references":[{"type":"PACKAGE","url":"https://pypi.org/project/d4rktg/1.2.7/"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-002624","import_time":"2026-05-13T20:11:02.997258114Z","modified_time":"2026-05-13T05:33:46Z","sha256":"3348d9f4bb35442b1de902c35ca46292f9336a8f83ac8deb7e870b2cd6af9019","source":"amazon-inspector","versions":["1.2.7"]}]}}

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