MAL-2024-12302

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mac12manoj/MAL-2024-12302.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12302
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:38:41.874267Z
Summary
Malicious code in mac12manoj (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (629aa2cd2a27a849eefebdad3efcd6cf183d799a21451edaf209f6dda1e614d8)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


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-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "2f94407184076a693f57341e929f2b59152503e0fb1d5fe4a4c6dde038136fd6",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mac12manoj",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:56.182248433Z"
        },
        {
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "629aa2cd2a27a849eefebdad3efcd6cf183d799a21451edaf209f6dda1e614d8",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mac12manoj",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.363970666Z"
        },
        {
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "1.0.0"
            ],
            "sha256": "d5cb376b05e8dd01434d925e938c36301dd57f698630ff812bc4132d6971d7b0",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/mac12manoj",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.489433904Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / mac12manoj

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/mac12manoj/MAL-2024-12302.json"