MAL-2024-9446

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flag-leak-r/MAL-2024-9446.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-9446
Published
2024-09-06T11:29:16Z
Modified
2025-12-12T20:39:22.269964Z
Summary
Malicious code in flag-leak-r (PyPI)
Details

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

Source: kam193 (88c1df06a02daf1a911f895df0bd495b0f0d2e72f3b9ad45fe5a837575379c9e)

Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: GENERIC-questionable-pentest

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-generic

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

  • typosquatting

Source: ossf-package-analysis (095f9908b28b3dfb45e9f5e8d291ad2492bb271f23e5f4b714328ba722252838)

The OpenSSF Package Analysis project identified 'flag-leak-r' @ 0.1.0 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ossf-package-analysis",
            "import_time": "2024-10-22T02:28:26.577481179Z",
            "sha256": "095f9908b28b3dfb45e9f5e8d291ad2492bb271f23e5f4b714328ba722252838",
            "versions": [
                "0.1.0"
            ],
            "modified_time": "2024-10-22T02:06:01Z"
        },
        {
            "source": "kam193",
            "import_time": "2025-12-02T22:30:55.195972459Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "747eacc8dcf63ec5f77aaebbb960d3a811e31270c721aa54b7a2c037d79104c3",
            "id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
            "modified_time": "2024-09-06T11:29:16Z"
        },
        {
            "source": "kam193",
            "import_time": "2025-12-02T23:07:18.204926071Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "88c1df06a02daf1a911f895df0bd495b0f0d2e72f3b9ad45fe5a837575379c9e",
            "id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
            "modified_time": "2024-09-06T11:29:16Z"
        },
        {
            "source": "kam193",
            "import_time": "2025-12-10T21:38:57.489291745Z",
            "id": "pypi/GENERIC-questionable-pentest/flag-leak-r",
            "sha256": "0c10b287871d2837d148658da49d9237d930ed53f40e982a5592b664f184e345",
            "versions": [
                "0.1.0"
            ],
            "modified_time": "2024-09-06T11:29:16Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / flag-leak-r

Package

Affected ranges

Affected versions

0.*

0.1.0