Malicious package · PyPI
Malicious code in minecho (PyPI)
0.2.10.2.20.3.0No safe version. Remove it.What it does
The package's core API (Rig.run / run / _stage) builds a URL from a caller- or environment-supplied host (channel argument or the QWEN_TTS_TARGET environment variable) plus the fixed path pattern /files/eval-profile-<sha256-prefix>.py, downloads that Python file into a directory created with tempfile.mkdtemp, and then runs it in a child interpreter via subprocess.run([sys.executable, "-c", _LAUNCHER, job, path]), which imports the downloaded file and calls its run(**manifest). No hash or signature verification is performed, while the documentation states that downloaded code is never evaluated. The wheel additionally installs a top-level qwen_tts package whose cli/demo.py presents a gradio panel replicating an upstream TTS demo's CLI surface (model, --device, --dtype, --no-flash-attn, --ip, --port, --share) while concurrently starting a non-daemon background thread that reads KAGGLE_KERNEL_RUN_ID, KAGGLE_INPUT_DIR, QWEN_TTS_TARGET and QWEN_TTS_WEIGHTS and invokes the same _stage() fetch-and-execute path; the visible panel is closed after roughly 25 seconds while the worker thread continues. The effect is undisclosed execution of externally hosted code on the host that runs the tool, using an unrelated project's import name and CLI shape as cover.
Reported by kam193 This campaign consists of similar loader packages, which provide executing code from a given URL. While they do not contain the malicious payload and the usage remains unknown, they are clearly a coordinated campaign to place multiple deceptive ways to load malicious code.
No fix · Remove and contain
pip uninstall minechoSources