devready-doctorPyPI
Advisory published Updated
devready-doctor is a confirmed malicious PyPI package (MAL-2026-20333) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devready-doctor (PyPI)
What this malware does
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 '<base>/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.
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for devready-doctor (version 1.0.0).
If you installed it — respond
devready-doctor is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If devready-doctor was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- Kamil Mańkowski (kam193) · reporter
Detect & block this
O3 blocks devready-doctor-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.