MAL-2025-2952

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ctf-aio-tool/MAL-2025-2952.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-2952
Published
2025-03-02T17:05:55Z
Modified
2026-03-19T12:52:10.845359Z
Summary
Malicious code in ctf-aio-tool (PyPI)
Details

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

Source: kam193 (1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a)

Installing the package starts a reverse shell. The remote server is, however, set as a local IP, so it's most probably testing


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: 2025-03-marinff

Reasons (based on the campaign):

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

  • obfuscation

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2025-03-28T13:05:31Z",
            "versions": [
                "0.1"
            ],
            "sha256": "15855052cac4115b769ad8f63158e9708ff24c0e4596a7174415ce0ed9fe0ac4",
            "id": "RLMA-2025-01950",
            "source": "reversing-labs",
            "import_time": "2025-03-31T07:07:05.17106029Z"
        },
        {
            "modified_time": "2025-03-02T17:05:55Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "8c915ca4b577d6380c63b138e4d426ed48dd2c496e89c608b416233b80f80511",
            "id": "pypi/2025-03-marinff/ctf-aio-tool",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:55.968518393Z"
        },
        {
            "modified_time": "2025-03-02T17:05:55Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "1641f444ea0056686d1421b67d63c1a6fd944999ed4dff175924de88f1d5182a",
            "id": "pypi/2025-03-marinff/ctf-aio-tool",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.160162894Z"
        },
        {
            "modified_time": "2025-03-02T17:05:55Z",
            "versions": [
                "0.1"
            ],
            "sha256": "d27c34e9826285dd4783352238d8239341528e2eaa4857cf573f60a4e4dbcc6c",
            "id": "pypi/2025-03-marinff/ctf-aio-tool",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.298833364Z"
        },
        {
            "modified_time": "2026-03-18T12:12:59Z",
            "sha256": "cbadcb82a3b4e958399fc48a0d790894456d1cd83a1dc808d0ae9312479f2289",
            "id": "RLUA-2026-00240",
            "source": "reversing-labs",
            "import_time": "2026-03-19T12:19:37.577421891Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / ctf-aio-tool

Package

Affected ranges

Affected versions

0.*
0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ctf-aio-tool/MAL-2025-2952.json"