{"id":"MAL-2024-12371","summary":"Malicious code in yt-yson-bindings (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (870d6e991bf31676829c84080af299f206568bc11d6f9b42bf5fe2dca50cb79d)\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":"2025-12-12T20:41:27.340175Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:56.52093893Z","sha256":"145656c3ea0cb13af2747647b15e6913f8a2f7fd982af3c12d7d6c900333d4eb","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/yt-yson-bindings","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z"},{"import_time":"2025-12-02T23:07:19.704542093Z","sha256":"870d6e991bf31676829c84080af299f206568bc11d6f9b42bf5fe2dca50cb79d","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/yt-yson-bindings","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z"},{"import_time":"2025-12-10T21:38:58.790839491Z","versions":["66.0.4"],"sha256":"1e2d9160561fc85504b04cb2205c3a2f5aea8060ad9709d3e56092f39e06f819","id":"pypi/GENERIC-standard-pypi-install-pentest/yt-yson-bindings","source":"kam193","modified_time":"2024-07-26T16:53:30Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/yt-yson-bindings"}],"affected":[{"package":{"name":"yt-yson-bindings","ecosystem":"PyPI","purl":"pkg:pypi/yt-yson-bindings"},"versions":["66.0.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/yt-yson-bindings/MAL-2024-12371.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"}]}