MAL-2023-8767

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/newpackagetest2027/MAL-2023-8767.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2023-8767
Published
2023-12-25T20:50:40Z
Modified
2025-12-12T20:45:31.550316Z
Summary
Malicious code in newpackagetest2027 (PyPI)
Details

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

Source: kam193 (7c1e4acddbaeafd87b1cce82ddc1025a3e5abd4c285a2fd2e7fcff07d37d500e)

Packages either test the malicious behaviour, or actually download and run a simple remote script during the installation.


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: 2023-12-valuent

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.

  • Downloads and executes a remote malicious script.

Source: ossf-package-analysis (4cf97b6a86a63b80cb4c4b4fb5bb854a634ccfc3ec3368054ad703e8abe12f64)

The OpenSSF Package Analysis project identified 'newpackagetest2027' @ 1.0.0 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ossf-package-analysis",
            "import_time": "2023-12-29T10:34:32.842509477Z",
            "versions": [
                "1.0.0"
            ],
            "sha256": "4cf97b6a86a63b80cb4c4b4fb5bb854a634ccfc3ec3368054ad703e8abe12f64",
            "modified_time": "2023-12-25T20:50:40Z"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193",
            "import_time": "2025-12-02T22:30:56.242791106Z",
            "sha256": "45ad7c064146e623ed47dabc0496cc9664ce9e1186759adcdc87f977ef9a4bd8",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/newpackagetest2027"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.430695553Z",
            "sha256": "7c1e4acddbaeafd87b1cce82ddc1025a3e5abd4c285a2fd2e7fcff07d37d500e",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/newpackagetest2027"
        },
        {
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.547812097Z",
            "versions": [
                "1.0.0"
            ],
            "sha256": "31fa45f3317b16d4efa4678801fd1aca16e85f7b2fe30ca06b29325aa25dcbda",
            "modified_time": "2024-11-30T09:03:27Z",
            "id": "pypi/2023-12-valuent/newpackagetest2027"
        }
    ]
}
References
Credits

Affected packages

PyPI / newpackagetest2027

Package

Name
newpackagetest2027
View open source insights on deps.dev
Purl
pkg:pypi/newpackagetest2027

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/newpackagetest2027/MAL-2023-8767.json"