{"id":"MAL-2026-502","summary":"Malicious code in test-poc-package-for-session (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (9f768feb5a11add4d0ac64d8f24777461d3586e719a57d4432711ee6aae4f112)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\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-simple-tests\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-01-25T10:50:41.820357Z","published":"2026-01-25T10:08:47Z","database_specific":{"malicious-packages-origins":[{"versions":["0.0.1"],"modified_time":"2026-01-25T10:08:47.598425Z","import_time":"2026-01-25T10:40:49.930029781Z","source":"kam193","sha256":"9f768feb5a11add4d0ac64d8f24777461d3586e719a57d4432711ee6aae4f112","id":"pypi/GENERIC-simple-tests/test-poc-package-for-session"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/test-poc-package-for-session"}],"affected":[{"package":{"name":"test-poc-package-for-session","ecosystem":"PyPI","purl":"pkg:pypi/test-poc-package-for-session"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/test-poc-package-for-session/MAL-2026-502.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}