MAL-2026-18343Malicious code in numprint (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | numprint | 1.2.0 |
{"schema_version":"1.7.4","id":"MAL-2026-18343","published":"2026-10-27T16:48:48Z","modified":"2026-10-29T13:38:41.450445733Z","summary":"Malicious code in numprint (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b2767ab63222f7b2b6c76334822fb6e8c8b0385df53833206362fcf52f93392a)\nnumprint 1.2.0 on PyPI could not be fully characterized from the available signals. No specific installer-harm fingerprint (hardcoded C2, credential path read, home-directory secret scan, install-time fetch-and-execute, dropper, backdoor, self-propagation) is concretely identified in this record. The package name resembles common numeric/printing utility names but no benign purpose is confirmed either.\n\n## Source: kam193 (ca6ff316077349c92e2d1e5d7c3683a16e6542b952d5c7fc8743efa5d4c80243)\nDuring installation the package starts a background process executing commands provided by the attacker. The C2 communication happens through a GitHub Gist.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-numprint\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - rat\n","affected":[{"package":{"name":"numprint","ecosystem":"PyPI"},"versions":["1.2.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"numprint-1.2.0.tar.gz","hashes":{"blake2b_256":"780d2734dc3781dd2e7af61255caa40853515111a8228eb445ef47faaccc7f98","md5":"c6de5e497140bb067c16e577322df6bd","sha256":"55a2c1e71513b89a1b6046108f1652e964e8a8525091057265ca3bcad718d3e6"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/numprint"},{"type":"PACKAGE","url":"https://pypi.org/project/numprint/1.2.0/"}],"database_specific":{"iocs":{"urls":["https://api.github.com/gists/3775fd9235aa6ef29e96eb96274a0e34"]},"malicious-packages-origins":[{"id":"pypi/2026-10-numprint/numprint","import_time":"2026-10-27T17:13:14.404099688Z","modified_time":"2026-10-27T16:48:48.533873Z","sha256":"ca6ff316077349c92e2d1e5d7c3683a16e6542b952d5c7fc8743efa5d4c80243","source":"kam193","versions":["1.2.0"]},{"id":"IN-MAL-2026-021974","import_time":"2026-10-29T13:37:18.441020354Z","modified_time":"2026-10-29T13:32:27Z","sha256":"b2767ab63222f7b2b6c76334822fb6e8c8b0385df53833206362fcf52f93392a","source":"amazon-inspector","versions":["1.2.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0