{"id":"MAL-2025-191720","summary":"Malicious code in djangoframework-test (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (fe24a0d1142970bffbb9b8eba926e7153c78c87083aa7e374c146d9e1608aec4)\nImporting the module exfiltrates basic information using DNS queries. There is no other purpose of the package.\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: 2025-01-just-framework\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 - dependency-confusion\n","modified":"2025-12-12T20:39:22.883774Z","published":"2025-01-10T01:24:54Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:55.999420132Z","modified_time":"2025-01-10T01:24:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"fca9db7649544820f5d4b1fc994fd9f6cf3391e3d34093457f685a159c64c88a","source":"kam193","id":"pypi/2025-01-just-framework/djangoframework-test"},{"modified_time":"2025-01-10T01:24:54Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"fe24a0d1142970bffbb9b8eba926e7153c78c87083aa7e374c146d9e1608aec4","source":"kam193","id":"pypi/2025-01-just-framework/djangoframework-test","import_time":"2025-12-02T23:07:19.19445128Z"},{"source":"kam193","versions":["3.3.3"],"id":"pypi/2025-01-just-framework/djangoframework-test","import_time":"2025-12-10T21:38:58.335109666Z","modified_time":"2025-01-10T01:24:54Z","sha256":"00bd64503c29fcf25720ceaa3bc9ada93327afde72aee656545a31847ffabd76"}],"iocs":{"domains":["dnslog.sbs","sfxeur.com"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/djangoframework-test"}],"affected":[{"package":{"name":"djangoframework-test","ecosystem":"PyPI","purl":"pkg:pypi/djangoframework-test"},"versions":["3.3.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/djangoframework-test/MAL-2025-191720.json"}}],"schema_version":"1.7.3","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"}]}