{"id":"MAL-2025-47796","summary":"Malicious code in python-amazon-doc-utils (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (17e1f33275376bf6eef8f0ff4a1f42b8a45bada7b53462c827f397b7554bc2b0)\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","modified":"2026-03-19T12:56:03.643907Z","published":"2025-08-20T16:30:57Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-09-26T09:14:28Z","id":"RLMA-2025-04803","sha256":"a345b2d3e36a3a68a9ae30f4a9f1d08bd487ace13a2bad3557d7395d5411e83a","source":"reversing-labs","versions":["0.0.1"],"import_time":"2025-09-26T11:05:35.542788664Z"},{"modified_time":"2025-08-20T16:30:57.484286Z","id":"pypi/GENERIC-standard-pypi-install-pentest/python-amazon-doc-utils","sha256":"16536f8cfa7fc943941a47708e388ade8de3b7a7dea7a50da5b3b771240cc3e2","source":"kam193","versions":["0.0.1"],"import_time":"2025-12-02T22:30:56.335332506Z"},{"modified_time":"2025-08-20T16:30:57.484286Z","id":"pypi/GENERIC-standard-pypi-install-pentest/python-amazon-doc-utils","sha256":"17e1f33275376bf6eef8f0ff4a1f42b8a45bada7b53462c827f397b7554bc2b0","source":"kam193","versions":["0.0.1"],"import_time":"2025-12-02T23:07:19.525002719Z"},{"modified_time":"2026-03-18T12:17:41Z","id":"RLUA-2026-00652","sha256":"260f5cd7a98feb36298919aa08aa16600d2e781ba2966416056b077eda71b175","source":"reversing-labs","import_time":"2026-03-19T12:20:17.317242557Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-amazon-doc-utils"}],"affected":[{"package":{"name":"python-amazon-doc-utils","ecosystem":"PyPI","purl":"pkg:pypi/python-amazon-doc-utils"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-amazon-doc-utils/MAL-2025-47796.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}