{"id":"MAL-2026-2115","summary":"Malicious code in nspack (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7741f090145e1e4bbd7998edba9c8151bd5dd3380adaa430e8f05cb2c814396f)\nThese packages are used as build dependencies of malicious packages in newer waves of the campaign 2026-02-urllib-slim. They are used to split the malicious action between dependencies and are not malicious alone, but are used together to: exfiltrate information through DNS, collect information about the processes and covering tracks by installing packages from local private repositories.\n\nPackage nspack additionally notifies upon importing a domain known for malicious activity with the package and hostname.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-03-geekennedy\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The malicious code is intentionally included in a dependency of the package\n","modified":"2026-03-23T15:02:11.918261Z","published":"2026-03-20T15:28:57Z","database_specific":{"iocs":{"domains":["1r.vc","gcloudns.net"]},"malicious-packages-origins":[{"versions":["0.1.0","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.8","0.1.9"],"id":"pypi/2026-03-geekennedy/nspack","source":"kam193","sha256":"7741f090145e1e4bbd7998edba9c8151bd5dd3380adaa430e8f05cb2c814396f","modified_time":"2026-03-20T15:28:57.429852Z","import_time":"2026-03-23T14:52:56.135771589Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/nspack"}],"affected":[{"package":{"name":"nspack","ecosystem":"PyPI","purl":"pkg:pypi/nspack"},"versions":["0.1.0","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.8","0.1.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/nspack/MAL-2026-2115.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}