{"id":"MAL-2025-3740","summary":"Malicious code in badgerdoc-storage (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (57170ed58e2cf5e3b4b32f443ae555c7c040f2a395b3505837c90e06add93db5)\nPackages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-sl4x01\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 - exfiltration-env-variables\n\n\n - impersonation\n\n## Source: ossf-package-analysis (e4cb1d64c1adc71d974cdd0d7efad753262eb0a666d9f284d988aaae9c506ff0)\nThe OpenSSF Package Analysis project identified 'badgerdoc-storage' @ 0.0.1 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2025-12-12T20:36:15.338023Z","published":"2025-05-10T14:05:58Z","database_specific":{"malicious-packages-origins":[{"sha256":"e4cb1d64c1adc71d974cdd0d7efad753262eb0a666d9f284d988aaae9c506ff0","source":"ossf-package-analysis","import_time":"2025-05-12T00:25:55.497333133Z","modified_time":"2025-05-10T14:05:58Z","versions":["0.0.1"]},{"modified_time":"2025-05-22T12:33:26Z","sha256":"82498338aaf394016668c3918c1ecfe4c6120ca5ae5146092116a2c504dd6a65","source":"reversing-labs","import_time":"2025-05-22T14:06:34.216433136Z","id":"RLMA-2025-02557","versions":["0.0.1"]},{"modified_time":"2025-05-10T17:59:53Z","sha256":"52d2568604219dbc8a4a48c917a0f707bf57ccb7963033a6caa3f2b0e34a8901","source":"kam193","import_time":"2025-12-02T22:30:54.970498227Z","id":"pypi/2025-05-sl4x01/badgerdoc-storage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"modified_time":"2025-05-10T17:59:53Z","sha256":"57170ed58e2cf5e3b4b32f443ae555c7c040f2a395b3505837c90e06add93db5","source":"kam193","import_time":"2025-12-02T23:07:18.006415526Z","id":"pypi/2025-05-sl4x01/badgerdoc-storage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"modified_time":"2025-05-10T17:59:53Z","sha256":"b1ab3d93c1ab3b2d0072d4b6d0a5ebc639457b6837449894a2a0780782fc1440","source":"kam193","import_time":"2025-12-10T21:38:57.307882908Z","id":"pypi/2025-05-sl4x01/badgerdoc-storage","versions":["0.0.1"]}],"iocs":{"domains":["sl4x0.xyz"]}},"references":[{"type":"WEB","url":"https://github.com/sl4x0"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/badgerdoc-storage"}],"affected":[{"package":{"name":"badgerdoc-storage","ecosystem":"PyPI","purl":"pkg:pypi/badgerdoc-storage"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/badgerdoc-storage/MAL-2025-3740.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}