MAL-2025-6548Malicious code in memorylib (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | memorylib | 2.0.0 |
{"modified":"2026-03-19T12:23:25Z","published":"2025-07-16T19:47:52Z","schema_version":"1.7.4","id":"MAL-2025-6548","summary":"Malicious code in memorylib (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (be3ea3afb3553f67411c8bebff9d99282169997e212b5ee1dd14505d1612d551)\nInstalling the package triggers a code that looks like downloading a picture, but in fact downloads and starts an executable with malware. Note that file supplied from the URL differs depending on the presence of the special header\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-07-memlib\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 - Downloads and executes a remote executable.\n\n\n - malware\n","affected":[{"package":{"ecosystem":"PyPI","name":"memorylib","purl":"pkg:pypi/memorylib"},"versions":["2.0.0"]}],"references":[{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/0fc1e062c521184f7e0c9f23dfdeb5431414e35cb55886e87c5ff5ec92ff4603"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/memorylib"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"iocs":{"urls":["https://image-logo-popup-files.vercel.app/public/image.jpg"]},"malicious-packages-origins":[{"source":"reversing-labs","sha256":"643a8f4649e49bb859b093dac6483e2aa54f19785caba56af33d2c47abaa1f31","import_time":"2025-08-01T10:07:12.637032215Z","id":"RLMA-2025-03645","modified_time":"2025-07-31T19:15:44Z","versions":["2.0.0"]},{"source":"kam193","sha256":"0a46cbc08217ed3919e3cbaea07fa12b4f90741f8aa03f6ba45d751dd032d30d","import_time":"2025-12-02T22:30:55.334466645Z","id":"pypi/2025-07-memlib/memorylib","modified_time":"2025-07-16T19:47:52.209251Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"be3ea3afb3553f67411c8bebff9d99282169997e212b5ee1dd14505d1612d551","import_time":"2025-12-02T23:07:18.363307366Z","id":"pypi/2025-07-memlib/memorylib","modified_time":"2025-07-16T19:47:52.209251Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"3b4d3c5bf0a8ed32d5e14abefc02e69ff02f201f27a5090536c521a7517fa751","import_time":"2025-12-10T21:38:57.591974993Z","id":"pypi/2025-07-memlib/memorylib","modified_time":"2025-07-16T19:47:52.209251Z","versions":["2.0.0"]},{"source":"reversing-labs","sha256":"6eeadcc4a4c3a1edfc874d73ce1fd4339ccc6fca3b81a0b131253d67e38e510c","import_time":"2026-03-19T12:20:03.532235344Z","id":"RLUA-2026-00512","modified_time":"2026-03-18T12:16:01Z"}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0