{"id":"MAL-2024-11523","summary":"Malicious code in appsec-script-py (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (41394b4e398c9e82b5b97d5800a6304490350b988e3f053bb6ff9f4f0a5731f9)\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:50:23.517171Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2024-12-09T06:49:44Z","sha256":"799f7ef6d3ceb5d6b13de6f56844c987aac05c9cb67117d254ab4fbd2d8dc7a3","source":"reversing-labs","versions":["99.99.99"],"id":"RLMA-2024-10966","import_time":"2024-12-09T14:38:40.572845425Z"},{"import_time":"2025-12-02T22:30:55.834470907Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"3052dc3a8e561876f36be39f82eb9c0da16e1dbd04406669299dceb2ae7a9109","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-script-py"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-script-py","import_time":"2025-12-02T23:07:19.014428739Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"41394b4e398c9e82b5b97d5800a6304490350b988e3f053bb6ff9f4f0a5731f9","source":"kam193"},{"sha256":"5a4148b7b80571ae14e46cc2f659b7476b1a5faa6c76ff95c15bd2e2969d42e8","source":"kam193","versions":["99.99.99"],"id":"pypi/GENERIC-standard-pypi-install-pentest/appsec-script-py","import_time":"2025-12-10T21:38:58.159869226Z","modified_time":"2024-07-26T16:53:30Z"},{"sha256":"9935eef61936a6b22eb379e8f08870d32191d368bfae96e974922b2a96c96e43","source":"reversing-labs","id":"RLUA-2026-00073","import_time":"2026-03-19T12:19:23.062152978Z","modified_time":"2026-03-18T12:11:08Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/appsec-script-py"}],"affected":[{"package":{"name":"appsec-script-py","ecosystem":"PyPI","purl":"pkg:pypi/appsec-script-py"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/appsec-script-py/MAL-2024-11523.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"}]}