MAL-2026-6977

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rarcore/MAL-2026-6977.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6977
Published
2026-07-08T12:02:26Z
Modified
2026-07-08T13:15:55.314184791Z
Summary
Malicious code in rarcore (PyPI)
Details

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

Source: kam193 (69082900a353e728be770b24c10b27f0f2b7cb9f5ec15179833976447fc6c424)

During import, this malicious copy of a legitimate package downloads an encrypted data disguise as an image. It contains an archive with a next-stage script that uses the Polygon blockchain (contract 0xC7c9026a3a7e27ec6Ce2D09B19FC1FB4bc978BBb) to get the C2 address. The script then communicates with C2 over an encrypted channel to get further commands and ensures persistence. C2 delivers an executable that is executed by loading it into the memory of another process. During analysis, the encryption key and delivered binary contained test data suggesting the author experiments with building a botnet.


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

Campaign: 2026-07-yt-api-dlp

Reasons (based on the campaign):

  • peristence-autorun

  • Downloads and executes a remote malicious script.

  • clones-real-package

  • persistence

  • custom-crypto

  • data-from-blockchain

Database specific
{
    "iocs": {
        "ips": [
            "159.223.5.148"
        ],
        "urls": [
            "https://raw.githubusercontent.com/DreyCode2/assets/refs/heads/main/asset.png",
            "http://159.223.5.148/api.php"
        ]
    },
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-08T13:03:33.991782891Z",
            "modified_time": "2026-07-08T12:02:26.145881Z",
            "sha256": "69082900a353e728be770b24c10b27f0f2b7cb9f5ec15179833976447fc6c424",
            "versions": [
                "0.1.1",
                "0.1.2"
            ],
            "id": "pypi/2026-07-yt-api-dlp/rarcore",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / rarcore

Package

Affected ranges

Affected versions

0.*
0.1.1
0.1.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/rarcore/MAL-2026-6977.json"