{"id":"MAL-2024-12188","summary":"Malicious code in adent-core-api (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7df6de918146aa733c034d9906a45d312d291156e2d227ef5fcf92ae370e79aa)\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:34:47.056471Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"3121e239782e2d1a6c9f63206634a78ea43377a4461e861dbd263869fd97e971","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/adent-core-api","import_time":"2025-12-02T22:30:55.82265399Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7df6de918146aa733c034d9906a45d312d291156e2d227ef5fcf92ae370e79aa","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/adent-core-api","import_time":"2025-12-02T23:07:19.001437577Z","modified_time":"2024-07-26T16:53:30Z"},{"import_time":"2025-12-10T21:38:58.149718957Z","modified_time":"2024-07-26T16:53:30Z","sha256":"7a6404bdaf24c33ccefaf9d0eafcb0c31fbb6f1cfa03b9cedf9875be2d45c9a7","source":"kam193","versions":["999.999.999"],"id":"pypi/GENERIC-standard-pypi-install-pentest/adent-core-api"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/adent-core-api"}],"affected":[{"package":{"name":"adent-core-api","ecosystem":"PyPI","purl":"pkg:pypi/adent-core-api"},"versions":["999.999.999"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/adent-core-api/MAL-2024-12188.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"}]}