{"id":"MAL-2026-15935","summary":"Malicious code in proxycer (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2286dac5be0a9e8cc2e7b1ff92253d4b09beb0c43d5e795b9b9ea1391e6f8764)\nThe package's top-level __init__.py imports starts.py, which is a single-line loader that reverses a ~100KB string literal, base64-decodes it, marshal.loads the result into a code object, and exec()s it. All actual functionality is concealed behind reversal + base64 + marshal bytecode obfuscation, with an empty README and empty PKG-INFO description. The obfuscated code object runs automatically on `import proxycer`, so any behavior it contains (credential access, outbound network, filesystem writes, persistence) executes on the installer's host without source visibility.\n\n## Source: kam193 (5f66d65c62bde80f94cc75ce1b15bf00995f3dcb1434fb94dd4d452236f9e478)\nPackages are designed to collect basic info about the user  when importing them, and have no other purpose. While they claim to do so, some packages from the same uploader use confusing names, clearly suggesting the intention to harvest data from unintentional installations.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: 2025-02-pxz\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 - typosquatting\n","modified":"2026-09-06T14:45:03.770945849Z","published":"2026-09-05T07:39:50Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2025-02-pxz/proxycer","import_time":"2026-09-05T08:21:09.28703412Z","modified_time":"2026-09-05T07:39:50.331077Z","sha256":"5f66d65c62bde80f94cc75ce1b15bf00995f3dcb1434fb94dd4d452236f9e478","source":"kam193","versions":["0.1.0"]},{"modified_time":"2026-09-05T11:57:41.704885Z","sha256":"c7f54d8a442ae6b7c359629af5db210aafade4776e03f44895e67923bd464e29","source":"kam193","versions":["0.1.0"],"id":"pypi/2026-09-asti/proxycer","import_time":"2026-09-05T12:23:37.470728151Z"},{"sha256":"2286dac5be0a9e8cc2e7b1ff92253d4b09beb0c43d5e795b9b9ea1391e6f8764","source":"amazon-inspector","versions":["0.1.0"],"id":"IN-MAL-2026-019650","import_time":"2026-09-06T14:38:06.068513136Z","modified_time":"2026-09-06T14:28:50Z"}],"iocs":{"ips":["35.170.187.220"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/proxycer"},{"type":"PACKAGE","url":"https://pypi.org/project/proxycer/0.1.0/"}],"affected":[{"package":{"name":"proxycer","ecosystem":"PyPI","purl":"pkg:pypi/proxycer"},"versions":["0.1.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"proxycer-0.1.0-py3-none-any.whl","hashes":{"md5":"3ffb918f9ddec7676b3b2be126da6a1c","sha256":"fd48e6018fd8c54b75b0e5fe87857d049fe2d6a03ccfbf2ea04ae6c194bcc0ef","blake2b_256":"6b08ccb93682e342a04625d69e615bcd21d488062e80dbd336cbccfea65bd5ed"}},{"filename":"proxycer-0.1.0.tar.gz","hashes":{"md5":"19fc95c76071210cf63032c59bccaedb","sha256":"af81662d9e272ac13466be0f557903d3c2d40bbe68e0df068b449bc312de249e","blake2b_256":"b3be7cfab70db1016634ed2941d6c6b69279b5a95c135186afc047509e355b44"}}],"evidence_files":[{"path":"proxycer/starts.py","sha256":"49980877cf5fa4c71df6a2e9d969197884b5e6c96a9f740275838e74b1bf46a4","tlsh":"2ea39e0d8d67fdb514d97c9ec5dfa172877850240923b82b6ec7bc3b582b818a63b161"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/proxycer/MAL-2026-15935.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}