{"id":"MAL-2025-47758","summary":"Malicious code in django-aerospike-sessions (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (feba434f8a55ca606e9301308486d6d3d6f518430157438198d692432c18da23)\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:37.813182Z","published":"2025-08-21T10:49:03Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-04759","import_time":"2025-09-26T11:05:32.257524821Z","sha256":"dd9da9e3bf4087f7d7655332607cbcbad0bf8ac254780cdbd8c21b2157a8f0a8","modified_time":"2025-09-26T09:13:53Z","versions":["5.0.0"],"source":"reversing-labs"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/django-aerospike-sessions","import_time":"2025-12-02T22:30:55.998560927Z","sha256":"2ef43f7435924f20235385d6ffb4ad88a2a131ae650dbb4dcc0327124e463515","modified_time":"2025-08-21T10:49:03.80628Z","versions":["5.0.0"],"source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/django-aerospike-sessions","import_time":"2025-12-02T23:07:19.193456748Z","sha256":"feba434f8a55ca606e9301308486d6d3d6f518430157438198d692432c18da23","modified_time":"2025-08-21T10:49:03.80628Z","versions":["5.0.0"],"source":"kam193"},{"id":"RLUA-2026-00277","import_time":"2026-03-19T12:19:41.25742032Z","sha256":"147bfdfda49ee96b1717becab3b105781484193b532d254dd2a050d2b0848ef6","modified_time":"2026-03-18T12:13:22Z","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/django-aerospike-sessions"}],"affected":[{"package":{"name":"django-aerospike-sessions","ecosystem":"PyPI","purl":"pkg:pypi/django-aerospike-sessions"},"versions":["5.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/django-aerospike-sessions/MAL-2025-47758.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"}]}