MAL-2026-5335

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/xfoobar/MAL-2026-5335.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5335
Published
2026-06-08T21:41:16Z
Modified
2026-07-08T20:47:15Z
Summary
Malicious code in xfoobar (PyPI)
Details

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

Source: amazon-inspector (d82d6f4e4dba40d2e4677eb00c301bc816c8fe442704bdb9ed1f51a3d90e8f75)

The package was found to contain malicious code or consuming dependency that contains malicious code

Source: kam193 (a54c1c17d20a069af19c48751aada9e426bcbf55484c360cf21ac70f35d3d0dd)

During import, the package starts a reverse shell


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

Campaign: 2026-06-anthropy

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.
Database specific
{
    "iocs": {
        "domains": [
            "dns.subtrace.xyz",
            "subtrace.xyz"
        ],
        "ips": [
            "54.176.251.240"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "pypi/2026-06-anthropy/xfoobar",
            "import_time": "2026-06-08T22:06:48.158650002Z",
            "modified_time": "2026-06-08T21:41:16.890882Z",
            "sha256": "a54c1c17d20a069af19c48751aada9e426bcbf55484c360cf21ac70f35d3d0dd",
            "source": "kam193",
            "versions": [
                "0.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-008481",
            "import_time": "2026-07-08T20:32:34.355708443Z",
            "modified_time": "2026-07-08T20:16:59Z",
            "sha256": "d82d6f4e4dba40d2e4677eb00c301bc816c8fe442704bdb9ed1f51a3d90e8f75",
            "source": "amazon-inspector",
            "versions": [
                "0.0.5"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / xfoobar

Package

Affected ranges

Affected versions

0.*
0.0.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "xfoobar-0.0.5-py3-none-any.whl",
            "hashes": {
                "blake2b_256": "102825d9215850afad9acb73b03b19eea74cca3f583d3ac3c42e492004545497",
                "md5": "80bcfc0d3ad6405581de8494a3e500cd",
                "sha256": "b8a2ed02d22f885444331626b169be79e70604236195d507c619c12a120a708b"
            }
        },
        {
            "filename": "xfoobar-0.0.5.tar.gz",
            "hashes": {
                "blake2b_256": "c83fd334035423f7170a486d2779ed7bcfa0dc7702b858a1a0397d82d922d994",
                "md5": "5ad1f675138730cc7112d161b094799a",
                "sha256": "1ae8f1aded1fe84367be6f09d05ec62d33a09a965ec8c2044df35a6c2cb0996b"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/xfoobar/MAL-2026-5335.json"