{"id":"MAL-2026-4828","summary":"Malicious code in hmacsync (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d361ffcded0fc3d88b5095d800b13b3f8a07a581e8003c30bfcf9887eb71243f)\nThe package is a new version of the previously removed libhmac. The key parts, a malicious payload to inject into hijacked browser extensions, is not included in the package. The code allows hijacking browser extensions to - based on previous package - exfiltrate credentials. This package also contains code to create hidden SSH access to the machine with hardcoded credentials.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-05-libhmac\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - exfiltration-credentials\n\n\n - exfiltration-crypto\n\n\n - exfiltration-browser-data\n","modified":"2026-05-26T22:15:55.176072714Z","published":"2026-05-26T21:05:05Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-05-26T22:04:15.989374562Z","source":"kam193","id":"pypi/2026-05-libhmac/hmacsync","sha256":"d361ffcded0fc3d88b5095d800b13b3f8a07a581e8003c30bfcf9887eb71243f","modified_time":"2026-05-26T21:05:05.282919Z","versions":["1.0.0"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hmacsync"}],"affected":[{"package":{"name":"hmacsync","ecosystem":"PyPI","purl":"pkg:pypi/hmacsync"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hmacsync/MAL-2026-4828.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}