MAL-2025-191730

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flask-auth-sys/MAL-2025-191730.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191730
Published
2025-04-02T19:54:07Z
Modified
2025-12-12T20:39:36.596810Z
Summary
Malicious code in flask-auth-sys (PyPI)
Details

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

Source: kam193 (a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41)

On importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist


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

Campaign: 2025-04-flask-auth-sys

Reasons (based on the campaign):

  • dependency-confusion

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

  • obfuscation

Database specific
{
    "iocs": {
        "domains": [
            "beacon.kubershell.io"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "a4a7c8dfbe50ded80bf3d5990a7bace20f0842ce581595a86bccb50214639b20",
            "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2025-04-02T19:54:07Z",
            "import_time": "2025-12-02T22:30:55.198499251Z"
        },
        {
            "sha256": "a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41",
            "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2025-04-02T19:54:07Z",
            "import_time": "2025-12-02T23:07:18.207707139Z"
        },
        {
            "sha256": "641e383bf89a79f1b5a52f5ebeeca9e47e500aa60e20a403946c7a62ed69f595",
            "id": "pypi/2025-04-flask-auth-sys/flask-auth-sys",
            "source": "kam193",
            "modified_time": "2025-04-02T19:54:07Z",
            "import_time": "2025-12-10T21:38:57.492268254Z",
            "versions": [
                "1.0.5"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / flask-auth-sys

Package

Affected ranges

Affected versions

1.*
1.0.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/flask-auth-sys/MAL-2025-191730.json"