MAL-2025-191683

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/aphorism-lib/MAL-2025-191683.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191683
Published
2025-07-19T22:01:29Z
Modified
2025-12-12T20:35:04.400523Z
Summary
Malicious code in aphorism-lib (PyPI)
Details

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

Source: kam193 (95f15b2b497431703ff51667a4055e8172f9202aeeea0f725b0b0550812f3299)

Importing the module starts a telegram bot that connects to a chat and executes provided commands


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

Campaign: 2025-07-talbat

Reasons (based on the campaign):

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • 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": [
        {
            "source": "kam193",
            "modified_time": "2025-07-19T22:01:29.3944Z",
            "sha256": "d1071160fbae021469c72523d1eaef691be59c18ce50308503fa46210e8f5a25",
            "id": "pypi/2025-07-talbat/aphorism-lib",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:54.911309006Z"
        },
        {
            "source": "kam193",
            "modified_time": "2025-07-19T22:01:29.3944Z",
            "sha256": "95f15b2b497431703ff51667a4055e8172f9202aeeea0f725b0b0550812f3299",
            "id": "pypi/2025-07-talbat/aphorism-lib",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:17.952853396Z"
        },
        {
            "versions": [
                "1.0.0"
            ],
            "modified_time": "2025-07-19T22:01:29.3944Z",
            "sha256": "187b6bc80da49b9607cedf879d1a1870b5d487d8077eca1c8357d9abd30a3abf",
            "id": "pypi/2025-07-talbat/aphorism-lib",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:57.255599743Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / aphorism-lib

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/aphorism-lib/MAL-2025-191683.json"