{"id":"MAL-2025-1970","summary":"Malicious code in deepseeek (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c082504cf7395cf145005cfa91f4c01eb9a8e1deb7b75d61f0b85b8e529ebde4)\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:52:27.448370Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-01210","import_time":"2025-03-03T15:07:14.554368172Z","modified_time":"2025-03-03T13:44:48Z","sha256":"14047b7b8891a0511b1468e68a832cc31d9dc05e95da0fb862ec3839b721d4b7","source":"reversing-labs","versions":["0.0.8"]},{"modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"ce0683c4a79abcceb6385efa2395ea55b96ff5a96dd9ed020629b795947707bb","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/deepseeek","import_time":"2025-12-02T22:30:55.982736124Z"},{"import_time":"2025-12-02T23:07:19.176798115Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c082504cf7395cf145005cfa91f4c01eb9a8e1deb7b75d61f0b85b8e529ebde4","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/deepseeek"},{"sha256":"c813b7d53c3105fccd9a5e9fd73e19858b4d602fa7ddffd3dd3059d91e9ea674","source":"kam193","versions":["0.0.8"],"id":"pypi/GENERIC-standard-pypi-install-pentest/deepseeek","import_time":"2025-12-10T21:38:58.317344844Z","modified_time":"2024-07-26T16:53:30Z"},{"source":"reversing-labs","id":"RLUA-2026-00254","import_time":"2026-03-19T12:19:38.896700593Z","modified_time":"2026-03-18T12:13:07Z","sha256":"22f020f61ab85e6cec0588108f14e7c872973b593680cde2c177b8c835c75511"}]},"references":[{"type":"WEB","url":"https://hackread.com/hackers-hide-malware-fake-deepseek-pypi-packages"},{"type":"WEB","url":"https://global.ptsecurity.com/analytics/pt-esc-threat-intelligence/malicious-packages-deepseeek-and-deepseekai-published-in-python-package-index"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/deepseeek"}],"affected":[{"package":{"name":"deepseeek","ecosystem":"PyPI","purl":"pkg:pypi/deepseeek"},"versions":["0.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/deepseeek/MAL-2025-1970.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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}