{"id":"MAL-2025-2983","summary":"Malicious code in otc-metadata (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (75435783250226bc7f234b0f98e4fb2b9777254a2ddbe179800f61577f6308e0)\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:38:06.603750Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-03-31T07:07:06.140960211Z","id":"RLMA-2025-01981","modified_time":"2025-03-28T13:05:57Z","versions":["0.0.2","0.0.3"],"source":"reversing-labs","sha256":"3649b7c88bdf03dc0f01496593e46c9fabc384fa5b26ceca56ac8606c887bc76"},{"import_time":"2025-12-02T22:30:56.280645596Z","id":"pypi/GENERIC-standard-pypi-install-pentest/otc-metadata","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","source":"kam193","sha256":"b80300d06362f981eaa9f456069e50952d343b87cec26a7f6561ec0c9b1753b0"},{"import_time":"2025-12-02T23:07:19.467794597Z","id":"pypi/GENERIC-standard-pypi-install-pentest/otc-metadata","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-07-26T16:53:30Z","source":"kam193","sha256":"75435783250226bc7f234b0f98e4fb2b9777254a2ddbe179800f61577f6308e0"},{"import_time":"2025-12-10T21:38:58.5808965Z","id":"pypi/GENERIC-standard-pypi-install-pentest/otc-metadata","modified_time":"2024-07-26T16:53:30Z","versions":["0.0.1","0.0.2","0.0.3"],"source":"kam193","sha256":"41d3cadcf9e5d6836f68301dba6e0bb945add56b12faa4bde457e449f340a542"},{"import_time":"2026-03-19T12:20:10.35836468Z","id":"RLUA-2026-00576","modified_time":"2026-03-18T12:16:43Z","source":"reversing-labs","sha256":"ee74ab98c52381389e57cbc34c507179039e22cab00e08edab477675728172f3"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/otc-metadata"}],"affected":[{"package":{"name":"otc-metadata","ecosystem":"PyPI","purl":"pkg:pypi/otc-metadata"},"versions":["0.0.2","0.0.3","0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/otc-metadata/MAL-2025-2983.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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}