{"id":"MAL-2024-11602","summary":"Malicious code in golden-gates (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6d7f42ea62f5e4a2f06dde8b7fe6534e4e0dd9d112f54fa81d8180e2ba0d7734)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\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: GENERIC-standard-pypi-install-pentest\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 - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-03-19T12:53:31.596339Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"5f1ef33e0c005f4f1879e23d20a33217889226eb89c6580bc2a8904ae6a6a847","source":"reversing-labs","versions":["99.99.99"],"id":"RLMA-2024-11055","import_time":"2024-12-09T14:38:44.136859296Z","modified_time":"2024-12-09T06:50:20Z"},{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/golden-gates","import_time":"2025-12-02T22:30:56.064556073Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"724269a294b88a3ddf1069f5742f00b4fda8362e5c81b42441ea98618efc6966"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/golden-gates","import_time":"2025-12-02T23:07:19.254866816Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"6d7f42ea62f5e4a2f06dde8b7fe6534e4e0dd9d112f54fa81d8180e2ba0d7734","source":"kam193"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/golden-gates","import_time":"2025-12-10T21:38:58.396894147Z","modified_time":"2024-07-26T16:53:30Z","sha256":"2b7d1ce9935c73635202a4f7b07707b608d8d2b2509c79d2f8ed9ff08a637551","source":"kam193","versions":["99.99.99"]},{"import_time":"2026-03-19T12:19:48.71307793Z","modified_time":"2026-03-18T12:14:18Z","sha256":"86bc9cc1fe13a177395909ecb7697fcf64482c8210979e92bb9d8ed76f0e064f","source":"reversing-labs","id":"RLUA-2026-00358"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/golden-gates"}],"affected":[{"package":{"name":"golden-gates","ecosystem":"PyPI","purl":"pkg:pypi/golden-gates"},"versions":["99.99.99"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/golden-gates/MAL-2024-11602.json"}}],"schema_version":"1.7.5","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":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}