MAL-2025-2983

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

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

Source: kam193 (75435783250226bc7f234b0f98e4fb2b9777254a2ddbe179800f61577f6308e0)

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": [
        {
            "source": "reversing-labs",
            "id": "RLMA-2025-01981",
            "versions": [
                "0.0.2",
                "0.0.3"
            ],
            "sha256": "3649b7c88bdf03dc0f01496593e46c9fabc384fa5b26ceca56ac8606c887bc76",
            "modified_time": "2025-03-28T13:05:57Z",
            "import_time": "2025-03-31T07:07:06.140960211Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/otc-metadata",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "b80300d06362f981eaa9f456069e50952d343b87cec26a7f6561ec0c9b1753b0",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T22:30:56.280645596Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/otc-metadata",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "75435783250226bc7f234b0f98e4fb2b9777254a2ddbe179800f61577f6308e0",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T23:07:19.467794597Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/otc-metadata",
            "versions": [
                "0.0.1",
                "0.0.2",
                "0.0.3"
            ],
            "sha256": "41d3cadcf9e5d6836f68301dba6e0bb945add56b12faa4bde457e449f340a542",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-10T21:38:58.5808965Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / otc-metadata

Package

Affected ranges

Affected versions

0.*

0.0.1
0.0.2
0.0.3

Database specific

source

"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/otc-metadata/MAL-2025-2983.json"