{"id":"MAL-2026-15938","summary":"Malicious code in dac-tools (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\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","modified":"2026-09-07T05:30:05.570846932Z","published":"2026-09-06T16:35:33Z","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"]},{"sha256":"fced1eb56b721b98d444549899dd7cd86f36478adc0ed132c99b601155c6331f","source":"ossf-package-analysis","versions":["999.0.0"],"import_time":"2026-09-07T05:19:17.943444908Z","modified_time":"2026-09-06T16:40:52Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/dac-tools"}],"affected":[{"package":{"name":"dac-tools","ecosystem":"PyPI","purl":"pkg:pypi/dac-tools"},"versions":["999.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/dac-tools/MAL-2026-15938.json"}}],"schema_version":"1.9.0","credits":[{"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"}]}