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

目标: 1000 元 · 已筹: 1359 元

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

yt-api-dlp

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

Summary

Malicious code in yt-api-dlp (PyPI)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIyt-api-dlp0.1.0
PyPIyt-api-dlp0.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T20:34:47Z","published":"2026-07-04T12:24:12Z","schema_version":"1.7.4","id":"MAL-2026-6754","summary":"Malicious code in yt-api-dlp (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d4710e1aa4fe025aaed51f4958f3b514a6cb950b40069f424c7a5d9a2f85591c)\nPackage name `yt-api-dlp` is a single-token insertion away from the widely-used `yt-dlp` package, and the tarball contains a near-verbatim copy of the yt-dlp source tree (version 2026.06.09, internal ORIGIN='yt-dlp/yt-dlp') republished under a different name with blank project metadata (empty description, empty author, empty readme). No install-time lifecycle hooks are declared, and traced import-time behavior mirrors upstream yt-dlp aside from an added `print(\"The Unlicense\")` in __init__.py; the auto-updater still points at the genuine yt-dlp GitHub releases with SHA256 verification. No exfiltration, dropper, credential theft, silent-relay, or backdoor is present. Installer harm is limited to running an unattributed, potentially stale copy of yt-dlp under a confusable name — a name-confusion concern that warrants human review to confirm intent (typo-lure vs. benign fork) before publishing an advisory.\n\n## Source: kam193 (c3b9ca286cef4b241ded9603c192ce5b13e155cad9b017ee3f89b98674065374)\nDuring import, this malicious copy of a legitimate package downloads an encrypted data disguise as an image. It contains an archive with a next-stage script that uses the Polygon blockchain (contract 0xC7c9026a3a7e27ec6Ce2D09B19FC1FB4bc978BBb) to get the C2 address. The script then communicates with C2 over an encrypted channel to get further commands and ensures persistence. C2 delivers an executable that is executed by loading it into the memory of another process. During analysis, the encryption key and delivered binary contained test data suggesting the author experiments with building a botnet. The package has been briefly used as dependency of a Github project.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-yt-api-dlp\n\n\nReasons (based on the campaign):\n\n\n - peristence-autorun\n\n\n - Downloads and executes a remote malicious script.\n\n\n - clones-real-package\n\n\n - persistence\n\n\n - data-from-blockchain\n\n\n - custom-crypto\n","affected":[{"package":{"ecosystem":"PyPI","name":"yt-api-dlp"},"versions":["0.1.0","0.1.1"],"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"}],"indicators":{"evidence_files":[{"path":"yt_api_dlp/__init__.py","sha256":"81775510d9633420307885e39ca7e85ebdb6842b1784bfaac5fefd90dc642303","tlsh":"8a23b71d4862ea12bf93759f5cdac8421f56b607cc443a20bd9c82442fc9b6cf1b667e"},{"path":"pyproject.toml","sha256":"e45eec5627ff70cd475ef870f251ad7f91ac3b9161f094dcf8dd22f0593798e3","tlsh":"8fd02b7747d6fd51a85130c04529d650db7350181941409c5ecbd1cc25ce5d5dbedd34"}],"package_integrity":[{"filename":"yt_api_dlp-0.1.1-py3-none-any.whl","hashes":{"blake2b_256":"1308c11cfba76e11bc8b70205d6e32e0d5748e2ff761bdffdbd583e69d9e0cf8","md5":"ac999515c1c9f5a2efa3510a763f461e","sha256":"23edcafb843154279939a8cc5eee74b325c8184a8ab49cd1e5fb55d35d4ce88f"}},{"filename":"yt_api_dlp-0.1.1.tar.gz","hashes":{"blake2b_256":"46771f2cb02b27b094ad89ab72dec90089fe2952f78dfab3989122c64b918ba8","md5":"6677573503c1d7da1057d688bab4c368","sha256":"90a4251b1517b98c55aab20ad2497d56727eb4aab5a80d76caddc52e75119490"}}]}}}],"references":[{"type":"WEB","url":"https://polygonscan.com/address/0xc7c9026a3a7e27ec6ce2d09b19fc1fb4bc978bbb#readContract#F1"},{"type":"WEB","url":"https://github.com/DreyCode2/youtube-downloader/commit/7ca76c756d5a95f755a8d98cba253704991287b7"},{"type":"WEB","url":"https://www.virustotal.com/gui/file-analysis/YTUzMzk1ZjUzNDMxNjc2MmVhZGY4NDdiOTdmNDVlNzA6MTc4MzE2NzE4Mw=="},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/yt-api-dlp"},{"type":"PACKAGE","url":"https://pypi.org/project/yt-api-dlp/0.1.1/"},{"type":"PACKAGE","url":"https://pypi.org/project/yt-api-dlp/0.1.0/"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"iocs":{"ips":["159.223.5.148"],"urls":["https://raw.githubusercontent.com/DreyCode2/assets/refs/heads/main/asset.png","http://159.223.5.148/api.php"]},"malicious-packages-origins":[{"source":"kam193","sha256":"c3b9ca286cef4b241ded9603c192ce5b13e155cad9b017ee3f89b98674065374","import_time":"2026-07-04T12:56:48.731454313Z","id":"pypi/2026-07-yt-api-dlp/yt-api-dlp","modified_time":"2026-07-04T12:24:13.05687Z","versions":["0.1.0","0.1.1"]},{"source":"kam193","sha256":"3e8d052ba4cb590ddd1e1c9c825efa8122dfcfd47721152ed5f6f3463405f05a","import_time":"2026-07-04T20:23:45.607150938Z","id":"pypi/2026-07-yt-api-dlp/yt-api-dlp","modified_time":"2026-07-04T12:24:13.05687Z","versions":["0.1.0","0.1.1"]},{"source":"kam193","sha256":"28b796adc83b95db4c9d9043209c4f9a8fcb45efe8b27cc00229f0e92e4bc207","import_time":"2026-07-08T13:03:33.992488184Z","id":"pypi/2026-07-yt-api-dlp/yt-api-dlp","modified_time":"2026-07-04T12:24:13.05687Z","versions":["0.1.0","0.1.1"]},{"source":"amazon-inspector","sha256":"d8d5276afe5ae7c5371a96db3d1229dd954924b5b8994d04f23fe411e6556194","import_time":"2026-07-08T19:33:49.676815627Z","id":"IN-MAL-2026-008251","modified_time":"2026-07-08T19:30:04Z","versions":["0.1.1"]},{"source":"amazon-inspector","sha256":"d4710e1aa4fe025aaed51f4958f3b514a6cb950b40069f424c7a5d9a2f85591c","import_time":"2026-07-08T20:32:09.035786776Z","id":"IN-MAL-2026-008284","modified_time":"2026-07-08T19:34:59Z","versions":["0.1.0"]}]}}

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