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

目标: 1000 元 · 已筹: 1359 元

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

marocolor

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

Summary

Malicious code in marocolor (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPImarocolor1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17900","published":"2026-10-16T10:38:53Z","modified":"2026-10-16T15:42:46.385114718Z","summary":"Malicious code in marocolor (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8206a6d3278ef99ffe6f33a695ca3dd6b4ed9856912d79f3066a375d95bcd509)\nOn import of marocolor, a daemon thread recursively walks the user's home directory and uploads every file matching extensions.txt,.pdf,.docx,.jpg,.png,.key,.env,.config, and.sql to a hardcoded Telegram bot endpoint at api.telegram.org/sendDocument (bot id 8534701940, chat id 1785091570) via requests.post with the file attached as a multipart document. The targeted extensions include canonical secret-bearing files (.env,.key,.config,.sql) which commonly hold API keys, database credentials, and private keys. The attacker's Telegram bot token and chat id are embedded in core.py. A second import-time daemon thread executes a fork-bomb-style payload (a function that spawns new threads of itself in an unbounded loop while opening local sockets), exhausting resources on the installer's host. There is no advertised backup, telemetry, or sync functionality that would justify this behavior, and no consent prompt or opt-out.\n\n## Source: kam193 (38b0fa2ee77af46ad9daf78c024a0f599fd0798eef7605cb3eed50d8db65fa22)\nPackage is intended for stealing files to a hardcoded location and performing a DoS on the victim's machine.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-marocolor\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - uses-telegram-bot\n\n\n - destructive-actions\n","affected":[{"package":{"name":"marocolor","ecosystem":"PyPI"},"versions":["1.0.0"],"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":"marocolor/__init__.py","sha256":"5dc342d52afb038eac11ce77af0c65bafc9f0d4b5b767cc0a6cf167d2e3b6671","tlsh":"76d05ec5ba3a44c045818c9ac042b7218a337823d566e869e86aba25268d55f7b4d5b4"},{"path":"marocolor/core.py","sha256":"714e352f3f4344df45d6362ea5d9c683f5249e8a86805d5c1c016908f640b756","tlsh":"ad2120975ce404e0f396c145d622e284c12fbd37d649fc38b2bc82605f1f43106ac5ac"}],"package_integrity":[{"filename":"marocolor-1.0.0-py3-none-any.whl","hashes":{"blake2b_256":"6d710c745ad7d94261f4bc25eebf1169e3d0c97bce8527ef79ed2d80bdf2bce7","md5":"91cce32469ac711dae73e463709f429b","sha256":"575afa75f14b07fd0f183e033e855cf2c159420ddb568202e2b3193b202d5110"}},{"filename":"marocolor-1.0.0.tar.gz","hashes":{"blake2b_256":"dec4e3a756e48a816f0b63ecaa13edf9522410efb2f077bceeee95a98f988496","md5":"1c38f219992021881462ca5825785475","sha256":"3709dd05c82403b06a26e5a0e35257fc44eae3624afac8edb8702ffa6eb00ded"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/marocolor"},{"type":"PACKAGE","url":"https://pypi.org/project/marocolor/1.0.0/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/2026-10-marocolor/marocolor","import_time":"2026-10-16T11:17:07.362058413Z","modified_time":"2026-10-16T10:38:53.40801Z","sha256":"38b0fa2ee77af46ad9daf78c024a0f599fd0798eef7605cb3eed50d8db65fa22","source":"kam193","versions":["1.0.0"]},{"id":"pypi/2026-10-marocolor/marocolor","import_time":"2026-10-16T11:41:03.065386133Z","modified_time":"2026-10-16T10:38:53.40801Z","sha256":"84922797997d30794d088ec8c54962534316449b26815c1fe4001bf2d3232bc2","source":"kam193","versions":["1.0.0"]},{"id":"IN-MAL-2026-021507","import_time":"2026-10-16T15:40:45.925275745Z","modified_time":"2026-10-16T15:25:33Z","sha256":"8206a6d3278ef99ffe6f33a695ca3dd6b4ed9856912d79f3066a375d95bcd509","source":"amazon-inspector","versions":["1.0.0"]}]},"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"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}

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