MAL-2026-13386
Vulnerability from ossf_malicious_packages
Published
2026-08-06 07:14
Modified
2026-08-06 13:11
Summary
Malicious code in decapod-common (PyPI)
Details

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

Source: amazon-inspector (e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4)

setup.py overrides the install command to collect the installer's hostname and resolved IP address via socket.gethostname()/gethostbyname() and POST them as JSON to a hardcoded webhook.site endpoint (https://webhook.site/f79bb373-481e-4116-b3d1-35005970b62f) before completing installation. The beacon fires automatically during pip install of the sdist. The package's own metadata describes it as a POC beacon; no legitimate functionality accompanies the network callout.

Source: kam193 (335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd)

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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "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": "setup.py",
              "sha256": "c0318b793ac934a0eeb48801948647792c41cb9e0c82c8d6a67a8ba4c88cdf43",
              "tlsh": "5b112fd2e8b27075ea8710d0482749643653ba0f6f42ac293ccd43940fae835d821259"
            }
          ],
          "package_integrity": [
            {
              "filename": "decapod_common-1.2.dev1.tar.gz",
              "hashes": {
                "blake2b_256": "3fa8dc37aaa89e06e4b156130347f57a8b99a3f16abb0b8d6d9e8dc8e4754777",
                "md5": "9ae3adc029f6a9c57191129fc1f676ef",
                "sha256": "1ddb786932953be79c7493dee8f8fe777347ea68a4823afdf54ee72aa0905145"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "decapod-common"
      },
      "versions": [
        "0.0.0",
        "1.2.dev1",
        "1.2.dev2"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "ANALYST"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/decapod-common",
        "import_time": "2026-08-06T07:27:41.320959329Z",
        "modified_time": "2026-08-06T07:14:52.620018Z",
        "sha256": "335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd",
        "source": "kam193",
        "versions": [
          "0.0.0",
          "1.2.dev1",
          "1.2.dev2"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/decapod-common",
        "import_time": "2026-08-06T08:23:38.727531727Z",
        "modified_time": "2026-08-06T07:14:52.620018Z",
        "sha256": "4a2befb40c79b92c5ebe20409768c0aa0da5a17e6be0cab991ef2a631aaa949f",
        "source": "kam193",
        "versions": [
          "0.0.0",
          "1.2.dev1",
          "1.2.dev2"
        ]
      },
      {
        "id": "IN-MAL-2026-015994",
        "import_time": "2026-08-06T13:08:35.811821571Z",
        "modified_time": "2026-08-06T12:16:05Z",
        "sha256": "1ff269b55a031b0c07059dc8664cd22e88e0015e25eec6e9252662ed3a585365",
        "source": "amazon-inspector",
        "versions": [
          "1.2.dev1"
        ]
      },
      {
        "id": "IN-MAL-2026-016000",
        "import_time": "2026-08-06T13:08:36.512341229Z",
        "modified_time": "2026-08-06T12:16:55Z",
        "sha256": "e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4",
        "source": "amazon-inspector",
        "versions": [
          "1.2.dev2"
        ]
      },
      {
        "id": "IN-MAL-2026-015997",
        "import_time": "2026-08-06T13:08:36.142805828Z",
        "modified_time": "2026-08-06T12:16:27Z",
        "sha256": "058b86879038ce7ef09b6764fbdd9d82af912b98bd9348d067e3540c537ff9a5",
        "source": "amazon-inspector",
        "versions": [
          "0.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4)\nsetup.py overrides the install command to collect the installer\u0027s hostname and resolved IP address via socket.gethostname()/gethostbyname() and POST them as JSON to a hardcoded webhook.site endpoint (https://webhook.site/f79bb373-481e-4116-b3d1-35005970b62f) before completing installation. The beacon fires automatically during `pip install` of the sdist. The package\u0027s own metadata describes it as a POC beacon; no legitimate functionality accompanies the network callout.\n\n## Source: kam193 (335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
  "id": "MAL-2026-13386",
  "modified": "2026-08-06T13:11:12.938504364Z",
  "published": "2026-08-06T07:14:52Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/decapod-common"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/decapod-common/1.2.dev1/"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/decapod-common/1.2.dev2/"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/decapod-common/0.0.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in decapod-common (PyPI)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…