{"id":"MAL-2025-191861","summary":"Malicious code in s3transfer-sl (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e1cc7c88223c47e4c3ceecc6fe73d05c1cbb505061a009f8ae5caf37086a2e09)\nDuring installation, the package attempts to exfiltrate env variables and tokens from Azure metadata API. It's a malicious clon of s3transfer\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-s3transfer-sl\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-cloud-tokens\n\n\n - clones-real-package\n\n\n - typosquatting\n","modified":"2025-12-31T02:56:47.851609Z","published":"2025-04-23T10:32:24Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:55.560659468Z","id":"pypi/2025-04-s3transfer-sl/s3transfer-sl","modified_time":"2025-04-23T10:32:24Z","sha256":"5d10e122ebed25fab78cda8e7fd295eac6e3871a3017ccc1d8f0268c7d915569","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193"},{"import_time":"2025-12-02T23:07:18.603489461Z","id":"pypi/2025-04-s3transfer-sl/s3transfer-sl","modified_time":"2025-04-23T10:32:24Z","sha256":"e1cc7c88223c47e4c3ceecc6fe73d05c1cbb505061a009f8ae5caf37086a2e09","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193"},{"import_time":"2025-12-10T21:38:57.807060134Z","id":"pypi/2025-04-s3transfer-sl/s3transfer-sl","modified_time":"2025-04-23T10:32:24Z","versions":["0.12.4","0.12.0","0.12.1","0.12.2","0.12.3","0.12.5"],"sha256":"63ac1236be94096dd502d0448ce4360ead8b4d1d7bbe4091e71360b6b47d7f48","source":"kam193"},{"import_time":"2025-12-30T22:39:04.17040703Z","id":"pypi/2025-04-s3transfer-sl/s3transfer-sl","modified_time":"2025-04-23T10:32:24Z","versions":["0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.12.5"],"sha256":"33513a3f1624f77353ee7b07dbfabcd90173e70d9a81b05972adebaf0f18132c","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/s3transfer-sl"}],"affected":[{"package":{"name":"s3transfer-sl","ecosystem":"PyPI","purl":"pkg:pypi/s3transfer-sl"},"versions":["0.12.4","0.12.0","0.12.1","0.12.2","0.12.3","0.12.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/s3transfer-sl/MAL-2025-191861.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":"ANALYST"}]}