MAL-2024-12281

    Dashboard / Malicious Package / MAL-2024-12281

    MAL-2024-12281

    Published: 23 Aug 2024Last Modified: 31 Dec 2025

    Summary: Malicious code in hack-test (PyPI)

    Details: Source: kam193 (bedfa0b9b013ca3de0418ac30c7192adef27902eee78ae8bdf2d74afe652c3e2) Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm. Category: 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. Campaign: GENERIC-simple-tests Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation.

    Affected packages

    Package

    Name: hack-test

    Purl: pkg:pypi/hack-test

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    0.1.1
    0.1.0