MAL-2026-2242

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/somepentest-test-package/MAL-2026-2242.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2026-2242
Published
2026-03-26T20:06:44Z
Modified
2026-03-26T20:31:47.702513Z
Summary
Malicious code in somepentest-test-package (PyPI)
Details

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

Source: kam193 (182c836a44b13e44121972147eb66dc5d5a419513811927d1a3c7ca39be6fa4d)

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": [
        {
            "import_time": "2026-03-26T20:13:46.50188007Z",
            "modified_time": "2026-03-26T20:06:44.860501Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/somepentest-test-package",
            "source": "kam193",
            "sha256": "182c836a44b13e44121972147eb66dc5d5a419513811927d1a3c7ca39be6fa4d",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / somepentest-test-package

Package

Name
somepentest-test-package
View open source insights on deps.dev
Purl
pkg:pypi/somepentest-test-package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/somepentest-test-package/MAL-2026-2242.json"