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

目标: 1000 元 · 已筹: 1359 元

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

dac-tools

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

Summary

Malicious code in dac-tools (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
999.0.0unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
PyPIdac-tools999.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-15938","published":"2026-09-06T16:35:33Z","modified":"2026-09-08T19:16:54.957012526Z","summary":"Malicious code in dac-tools (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (203490886d6928aee2c8d681d282f53d8513907b30be5e5e20fe1effb5fd21d2)\nOn import of dac_tools, the top-level __init__.py executes `whoami` and `hostname` via subprocess, concatenates the results into a DNS label, and triggers socket.getaddrinfo against `<label>.depconf-dac.dac2vlrk5gm3aemg9ptgq3kye1ky9kd4e.p.0xy.us`, causing the installer's OS username and hostname to be transmitted to an attacker-controlled authoritative DNS server on every import. A second beacon in CDHApiClient.get_project_credentials_with_client_credentials performs a DNS lookup to `cdh-intercept.depconf-dac.dac2vlrk5gm3aemg9ptgq3kye1ky9kd4e.p.0xy.us` and returns fabricated AWS credentials, mimicking an internal `cdh_api_client` API surface so that any caller invoking the shim signals the attacker. The package name shadows an internal dependency and is published at version 999.0.0 to win resolution against the internal package - the canonical dependency-confusion shape.\n\n## Source: kam193 (21c38f5fc2ee894120161023d576dd3d54bb373ab89baa04b1d1ed8c54b7a1c3)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n## Source: ossf-package-analysis (fced1eb56b721b98d444549899dd7cd86f36478adc0ed132c99b601155c6331f)\nThe OpenSSF Package Analysis project identified 'dac-tools' @ 999.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"name":"dac-tools","ecosystem":"PyPI"},"versions":["999.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":"src/dac_tools/__init__.py","sha256":"0f870b89189c823033302e49601ba3667ad35678a91e3bbb22cf4750d6f9895a","tlsh":"e3f0e145c2398dcbf6d008e0242e2a96b6b55113f3b35c7476b69fe01f0f4764653538"},{"path":"src/dac_tools/cdh_api_client/__init__.py","sha256":"36b4a948407bdb707ffd4b2f9fde966f4f6dac230848b714a7c53b29fb675812","tlsh":"5ef09e41e9f1ac57f6cb4a66f4bbd400303625236fc234b4f59c8f194f494d2aada601"}],"package_integrity":[{"filename":"dac_tools-999.0.0-py3-none-any.whl","hashes":{"blake2b_256":"d4b4e4380324294e268f8dec68b8a3dddf46f27bd5dad7fde4beaeb1693ca9fd","md5":"6725ff671cf3669ba0d7d47a82f54818","sha256":"0ba58449fce918327c3507479a69d8dabdc97680e5f38c9e443e6f1e74a1c7dc"}},{"filename":"dac_tools-999.0.0.tar.gz","hashes":{"blake2b_256":"5be4f607909f4435fb6f9fbd95228b3c73c1b8d0030911338509f4d8fd66760f","md5":"657f9897222e5f4c902fa7de0f1de275","sha256":"bda50f023f8e6793ef921ba99b8b5335266c0a8788d40aeb805acbeb451cf574"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/dac-tools"},{"type":"PACKAGE","url":"https://pypi.org/project/dac-tools/999.0.0/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/dac-tools","import_time":"2026-09-06T17:13:38.234132543Z","modified_time":"2026-09-06T16:35:33.995894Z","sha256":"21c38f5fc2ee894120161023d576dd3d54bb373ab89baa04b1d1ed8c54b7a1c3","source":"kam193","versions":["999.0.0"]},{"import_time":"2026-09-07T05:19:17.943444908Z","modified_time":"2026-09-06T16:40:52Z","sha256":"fced1eb56b721b98d444549899dd7cd86f36478adc0ed132c99b601155c6331f","source":"ossf-package-analysis","versions":["999.0.0"]},{"id":"IN-MAL-2026-019663","import_time":"2026-09-08T19:15:03.504427989Z","modified_time":"2026-09-08T19:05:37Z","sha256":"203490886d6928aee2c8d681d282f53d8513907b30be5e5e20fe1effb5fd21d2","source":"amazon-inspector","versions":["999.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":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}

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