MAL-2024-11599

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gen-user-random-agent/MAL-2024-11599.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-11599
Published
2024-10-07T22:16:18Z
Modified
2026-03-19T12:53:27.577775Z
Summary
Malicious code in gen-user-random-agent (PyPI)
Details

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

Source: kam193 (4e261c26a73604aac348f2df96e5b12b0817010a9a1bbc48ddfbe309915c697b)

Inside the library there is a part running code hidden in the attached image, which then exfiltrate user-provided data, downloads and install next stage code, exfiltrate TXT files and finally installs infostealers - Lumma and a custom one. Arround L110


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

Campaign: 2024-10-fake-usreagent

Reasons (based on the campaign):

  • infostealer

  • files-exfiltration

  • clipboard-stealing

  • obfuscation

  • clones-real-package

  • action-hidden-in-lib-usage

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "ed0bc46ab0e50e1bb59ff0c815a258ce32d0b969e5022dc489cbce00c513dff1",
            "source": "reversing-labs",
            "modified_time": "2024-12-09T06:50:19Z",
            "id": "RLMA-2024-11051",
            "versions": [
                "1.7.0"
            ],
            "import_time": "2024-12-09T14:38:44.000404908Z"
        },
        {
            "sha256": "2022f46fd88fbd1cd385e08a2e94ff66d528e7ace75f92738be4b6f2a43a8dbf",
            "source": "kam193",
            "modified_time": "2024-10-07T22:16:18Z",
            "id": "pypi/2024-10-fake-usreagent/gen-user-random-agent",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.213814313Z"
        },
        {
            "sha256": "4e261c26a73604aac348f2df96e5b12b0817010a9a1bbc48ddfbe309915c697b",
            "source": "kam193",
            "modified_time": "2024-10-07T22:16:18Z",
            "id": "pypi/2024-10-fake-usreagent/gen-user-random-agent",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:18.238334535Z"
        },
        {
            "sha256": "a2fefb9cc21d0a4808b31862632be06c1a6851b3213eaa663dc064ca31660fa9",
            "source": "kam193",
            "modified_time": "2024-10-07T22:16:18Z",
            "id": "pypi/2024-10-fake-usreagent/gen-user-random-agent",
            "versions": [
                "1.7.0"
            ],
            "import_time": "2025-12-10T21:38:57.503661472Z"
        },
        {
            "sha256": "31e21937ef89a0e45e36d1d0a3d039961ecce202e00b13718abc8cd1c4724737",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:14:11Z",
            "id": "RLUA-2026-00348",
            "import_time": "2026-03-19T12:19:47.631380623Z"
        }
    ],
    "iocs": {
        "domains": [
            "ethscanold.com",
            "crypto-api.net"
        ],
        "urls": [
            "https://ethscanold.com/ex_ewq1/2e.exe",
            "https://ethscanold.com/ex_ewq1/cdr2.exe",
            "https://ethscanold.com/r.php"
        ]
    }
}
References
Credits

Affected packages

PyPI / gen-user-random-agent

Package

Name
gen-user-random-agent
View open source insights on deps.dev
Purl
pkg:pypi/gen-user-random-agent

Affected ranges

Affected versions

1.*
1.7.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gen-user-random-agent/MAL-2024-11599.json"