MAL-2024-12255Malicious code in discord-api (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | discord-api | 1.0.1 |
{"modified":"2025-12-11T09:27:52Z","published":"2024-09-16T14:08:13Z","schema_version":"1.7.4","id":"MAL-2024-12255","summary":"Malicious code in discord-api (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3b55230c05e2303e965a53322d83ead8df66e188c696755b26efefd96192a144)\nPackage suggests being an api for discord. On importing the module, it attempts to find and exfiltrate leveldb databases from Discord apps and Chrome\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-old-discord-api\n\n\nReasons (based on the campaign):\n\n\n - impersonation\n\n\n - dependency-confusion\n\n\n - files-exfiltration\n","affected":[{"package":{"ecosystem":"PyPI","name":"discord-api"},"versions":["1.0.1"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/discord-api"}],"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/"]}],"database_specific":{"iocs":{"urls":["https://discord.com/api/webhooks/815048322414936075/SnIr7HTGb_Fr48thne92sW2MV2bVpT-OiTt275g50yFNzmD5y10qdetbcBCYH8IrurNq"]},"malicious-packages-origins":[{"source":"kam193","sha256":"3df9379d8893215c1f9e9f612c855e17f141e0993efa3cd8466c007843af0c38","import_time":"2025-12-02T22:30:55.101407712Z","id":"pypi/2024-09-old-discord-api/discord-api","modified_time":"2024-09-16T14:08:13Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"3b55230c05e2303e965a53322d83ead8df66e188c696755b26efefd96192a144","import_time":"2025-12-02T23:07:18.112737388Z","id":"pypi/2024-09-old-discord-api/discord-api","modified_time":"2024-09-16T14:08:13Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"9c514de0b892f72b7a970d385518936be699371f9f9551060f2d546d6eb9a8f7","import_time":"2025-12-10T21:38:57.398171493Z","id":"pypi/2024-09-old-discord-api/discord-api","modified_time":"2024-09-16T14:08:13Z","versions":["1.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0