MAL-2026-18296

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/zagents-message-bus/MAL-2026-18296.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18296
Published
2026-10-25T19:14:56Z
Modified
2026-10-29T14:30:35Z
Summary
Malicious code in zagents-message-bus (PyPI)
Details

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

Source: amazon-inspector (177a91975e11b9b3afbc5089dfc7e4c4fdae1cb05f8307f397956c675533f0d8)

pypi package zagents-message-bus is published at an implausibly inflated version (99.99.100) under an internal-sounding name, consistent with a dependency-confusion resolution-override attempt against a private package of the same name. The shipped main.py defines CALLBACK_URL = "https://webhook.site/b961eb5e-fabc-43a5-83a3-d1509c3a558e" and performs an HTTP GET to that URL with a diagnostic-error query parameter when main() is invoked. The webhook.site endpoint is an anonymous third-party request-logging service typical of dependency-confusion canaries and reconnaissance beacons. The package has no install-time hook (no setup.py side effects, no build-backend network I/O) and the beacon does not fire on bare import — the init re-exports symbols that do not exist in main.py, so import zagents_message_bus raises ImportError before the GET runs. The beacon therefore only fires if a consumer explicitly calls main(). No credential reads, filesystem writes outside the package, or code execution of fetched content are present.

Source: kam193 (0d1891d5d76adad51e120baa41752f0cc878b243eb400e7a12aba1616d31d1f7)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


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: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

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

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "pypi/GENERIC-standard-pypi-install-pentest/zagents-message-bus",
            "import_time":  "2026-10-25T19:38:12.038885406Z",
            "modified_time":  "2026-10-25T19:14:56.263119Z",
            "sha256":  "0d1891d5d76adad51e120baa41752f0cc878b243eb400e7a12aba1616d31d1f7",
            "source":  "kam193",
            "versions":  [
                "1.0.5",
                "1.0.10",
                "99.99.99",
                "99.99.100"
            ]
        },
        {
            "id":  "IN-MAL-2026-021997",
            "import_time":  "2026-10-29T13:37:19.123414514Z",
            "modified_time":  "2026-10-29T13:35:29Z",
            "sha256":  "177a91975e11b9b3afbc5089dfc7e4c4fdae1cb05f8307f397956c675533f0d8",
            "source":  "amazon-inspector",
            "versions":  [
                "99.99.100"
            ]
        },
        {
            "id":  "IN-MAL-2026-022175",
            "import_time":  "2026-10-29T14:14:32.025094736Z",
            "modified_time":  "2026-10-29T13:58:34Z",
            "sha256":  "51b99fe5927b864b8e638549571f297cbe19d7aa303bc061c65ff00bfa6cab96",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.5"
            ]
        },
        {
            "id":  "IN-MAL-2026-022100",
            "import_time":  "2026-10-29T14:14:25.885901157Z",
            "modified_time":  "2026-10-29T13:48:48Z",
            "sha256":  "d36fb2daa7def0491aec7638a63a0cf0db0ca85bf07a934c05e9cab6a3e1bd4f",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.10"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / zagents-message-bus

Package

Name
zagents-message-bus
View open source insights on deps.dev
Purl
pkg:pypi/zagents-message-bus

Affected ranges

Affected versions

1.*
1.0.5
1.0.10
99.*
99.99.99
99.99.100

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "src/my_package/main.py",
            "sha256":  "1ada9915711e2ceaffa644bfa4a682a37f661d474e7786ae017e4fcfaf5d5c1f",
            "tlsh":  "7c01dd4b8940b882dec6049d6d3194d064335d136d6a3836fbee86a70fd4136cd6142c"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "zagents_message_bus-99.99.100-py3-none-any.whl",
            "hashes":  {
                "blake2b_256":  "e81fccfcd3a711666edbf6839bef037d9526022aa21a65e8b63ebc79d4bcb6c2",
                "md5":  "d1afd40f7d6b9ea42a84f53badbf202b",
                "sha256":  "b41205032bd34134d2c24a4708455b20b0cd788298471187f73e04b77bad2519"
            }
        },
        {
            "filename":  "zagents_message_bus-99.99.100.tar.gz",
            "hashes":  {
                "blake2b_256":  "c2c0b572d6caf3b58847c6defebec630fb8cc4c5d6dff2badbcaaee83a4cc75c",
                "md5":  "ba98680f2c200c4fcd66ef0e3c4aba39",
                "sha256":  "8050e14403789f1bbacda65c05566b2ed809c6c98ed6b87faf532e1b8038b1db"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/zagents-message-bus/MAL-2026-18296.json"