MAL-2026-20333

Vulnerability from ossf_malicious_packages – Published: 2026-11-22 22:57 – Updated: 2026-11-23 00:34 – Source website
Malicious package
Summary
Malicious code in devready-doctor (PyPI)
Affected package
Ecosystem Package Versions
PyPI devready-doctor
1.0.0
Details
Amazon Inspector IN-MAL-2026-023032 Reported 2026-11-22 23:58

The wheel installs devready-hook.pth into site-packages, which Python auto-loads at every interpreter start and calls devready.hook._hook_ping(). When the INTERNAL_PACKAGE_REPO_URL environment variable is set, the hook calls install_tool(base, 'node'), which fetches '/node/' from a simple-index page, resolves the first href, writes the bytes to ~/.devready/tools/node, chmods the file 0755, and spawns it detached via subprocess.Popen. The code path explicitly passes sha256=None and comments that the repo is 'trusted', so no integrity check is performed on this branch. The hardcoded tool name 'node' is a dependency-confusion-shaped target: any host serving '/node/' at the configured URL controls what runs on the installer's machine at Python startup, disguised as installing the Node.js runtime. The same package's checks.py additionally reads the first 4KB of classic installer credential files (~/.aws/credentials, ~/.ssh/id_ed25519, ~/.npmrc, ~/.pypirc,.env, ~/.claude/settings.json) and records size, mode, mtime, and a 16-hex-char sha256 prefix in a local report; this version does not wire that report to a network sink, but it pairs a credential-inventory capability with the remote-execution hook on the same host.

kam193 pypi/2026-11-devready-doctor/devready-doctor Reported 2026-11-22 22:57

The package is a well-masked dropper. In multiple places, especially in a PTH file, it downloads and executes a remote executable. To activate, the base URL has to be handled over via an environment variable. This behavior is commented as installing a development tool ("node") and an agent (including verification of the hash fcaa596240007d9082983c206fb51cbf1a4d25ba31c9fd8a541bcc45c8b78c35), but the behavior cannot be explained by any legitimate tool. The related GitHub account was created the same day as publishing the package.


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

Campaign: 2026-11-devready-doctor

Reasons (based on the campaign):

  • abuses-pth

  • Downloads and executes a remote executable.

kam193 pypi/2026-11-devready-doctor/devready-doctor Reported 2026-11-22 22:57

No description from this source.

Indicators
Type Indicator Hashes
Evidence file src/devready/hook.py
sha256 5980b4c1653bd6041a2895bba2317d1dc53c7f64cbe60324127b449c1e4661a5
tlsh 3601c086ad592a30d501537cd1aa808c236e685724750034799ec2387fcb203d0a71ed
Evidence file src/devready/checks.py
sha256 3339a89e1416c2deb7212a0cc263e264fc9bf1a43ee591b8bfd4b854dfb7dbfb
tlsh efa15296ccb96d12d247b3ac980ec1806b18ad872e09783c3edc1bd95fac96d91f2594
Package archive devready_doctor-1.0.0-py3-none-any.whl
blake2b_256 63d0ad7b96524f37b0abb62d7613cd011530f6d7387ec569fa9e7fff705b3ccc
md5 4668d18a68fbab0a3c3abb891a9ab7f0
sha256 051353123129e3f9d9496e6a6a88a211a64176a69235f4ddaf8d50ab58f54a48
Package archive devready_doctor-1.0.0.tar.gz
blake2b_256 1f229b74b1806fdb79c73480e560240774ed0cd767fa7aad475f2981305d5155
md5 06d37e35277f232fcc62999ad2cf5c55
sha256 3d22fa4b89c36072e7e127aac828952967779c706ddb5bacc4ad2e0101eb6e31
CWE
  • CWE-506 - Embedded Malicious Code

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "artifacts": [
                "devready_doctor-1.0.0.tar.gz",
                "devready_doctor-1.0.0-py3-none-any.whl"
              ],
              "path": "src/devready/hook.py",
              "sha256": "5980b4c1653bd6041a2895bba2317d1dc53c7f64cbe60324127b449c1e4661a5",
              "tlsh": "3601c086ad592a30d501537cd1aa808c236e685724750034799ec2387fcb203d0a71ed"
            },
            {
              "artifacts": [
                "devready_doctor-1.0.0.tar.gz",
                "devready_doctor-1.0.0-py3-none-any.whl"
              ],
              "path": "src/devready/checks.py",
              "sha256": "3339a89e1416c2deb7212a0cc263e264fc9bf1a43ee591b8bfd4b854dfb7dbfb",
              "tlsh": "efa15296ccb96d12d247b3ac980ec1806b18ad872e09783c3edc1bd95fac96d91f2594"
            }
          ],
          "package_integrity": [
            {
              "filename": "devready_doctor-1.0.0-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "63d0ad7b96524f37b0abb62d7613cd011530f6d7387ec569fa9e7fff705b3ccc",
                "md5": "4668d18a68fbab0a3c3abb891a9ab7f0",
                "sha256": "051353123129e3f9d9496e6a6a88a211a64176a69235f4ddaf8d50ab58f54a48"
              }
            },
            {
              "filename": "devready_doctor-1.0.0.tar.gz",
              "hashes": {
                "blake2b_256": "1f229b74b1806fdb79c73480e560240774ed0cd767fa7aad475f2981305d5155",
                "md5": "06d37e35277f232fcc62999ad2cf5c55",
                "sha256": "3d22fa4b89c36072e7e127aac828952967779c706ddb5bacc4ad2e0101eb6e31"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "devready-doctor"
      },
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "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/2026-11-devready-doctor/devready-doctor",
        "import_time": "2026-11-22T23:10:30.072229255Z",
        "modified_time": "2026-11-22T22:57:47.805816Z",
        "sha256": "e97b89875c468d4d4b9ab97b28c1693ec8c058de9e445b9f3d09075d3605253a",
        "source": "kam193",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-023032",
        "import_time": "2026-11-23T00:32:40.196861759Z",
        "modified_time": "2026-11-22T23:58:20Z",
        "sha256": "02ec7bb9287a697da813333e07de2b4157357a01d3b712c5dfb8447b89fd5ccc",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "pypi/2026-11-devready-doctor/devready-doctor",
        "import_time": "2026-11-23T00:32:42.421819532Z",
        "modified_time": "2026-11-22T22:57:47.805816Z",
        "sha256": "6ddb854ec9c9ae05d27a1eb12b25df5d3d3f73a8a9106f7dac5e32171172fb82",
        "source": "kam193",
        "versions": [
          "1.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (02ec7bb9287a697da813333e07de2b4157357a01d3b712c5dfb8447b89fd5ccc)\nThe wheel installs devready-hook.pth into site-packages, which Python auto-loads at every interpreter start and calls devready.hook._hook_ping(). When the INTERNAL_PACKAGE_REPO_URL environment variable is set, the hook calls install_tool(base, \u0027node\u0027), which fetches \u0027\u003cbase\u003e/node/\u0027 from a simple-index page, resolves the first href, writes the bytes to ~/.devready/tools/node, chmods the file 0755, and spawns it detached via subprocess.Popen. The code path explicitly passes sha256=None and comments that the repo is \u0027trusted\u0027, so no integrity check is performed on this branch. The hardcoded tool name \u0027node\u0027 is a dependency-confusion-shaped target: any host serving \u0027/node/\u0027 at the configured URL controls what runs on the installer\u0027s machine at Python startup, disguised as installing the Node.js runtime. The same package\u0027s checks.py additionally reads the first 4KB of classic installer credential files (~/.aws/credentials, ~/.ssh/id_ed25519, ~/.npmrc, ~/.pypirc,.env, ~/.claude/settings.json) and records size, mode, mtime, and a 16-hex-char sha256 prefix in a local report; this version does not wire that report to a network sink, but it pairs a credential-inventory capability with the remote-execution hook on the same host.\n\n## Source: kam193 (e97b89875c468d4d4b9ab97b28c1693ec8c058de9e445b9f3d09075d3605253a)\nThe package is a well-masked dropper. In multiple places, especially in a PTH file, it downloads and executes a remote executable. To activate, the base URL has to be handled over via an environment variable. This behavior is commented as installing a development tool (\"node\") and an agent (including verification of the hash fcaa596240007d9082983c206fb51cbf1a4d25ba31c9fd8a541bcc45c8b78c35), but the behavior cannot be explained by any legitimate tool. The related GitHub account was created the same day as publishing the package.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-devready-doctor\n\n\nReasons (based on the campaign):\n\n\n - abuses-pth\n\n\n - Downloads and executes a remote executable.\n",
  "id": "MAL-2026-20333",
  "modified": "2026-11-23T00:34:19.928041061Z",
  "published": "2026-11-22T22:57:47Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/dr1613926-byte/devready"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/devready-doctor"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/devready-doctor/1.0.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in devready-doctor (PyPI)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.