{"id":"MAL-2023-8763","summary":"Malicious code in enchantv (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f578b605e73b68aae8c1d8a9bd3f55b810839b2bccd720bccc7f887c2e0046c8)\nPackages either test the malicious behaviour, or actually download and run a simple remote script during the installation.\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: 2023-12-valuent\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\n\n - Downloads and executes a remote malicious script.\n\n## Source: ossf-package-analysis (cd0a61ade3d3a9bb9b83668fad7ee8a45f0bfe95bc9cc98270bcd15b615d875e)\nThe OpenSSF Package Analysis project identified 'enchantv' @ 1.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2025-12-12T20:39:31.542553Z","published":"2023-12-25T21:00:40Z","database_specific":{"malicious-packages-origins":[{"sha256":"cd0a61ade3d3a9bb9b83668fad7ee8a45f0bfe95bc9cc98270bcd15b615d875e","modified_time":"2023-12-25T21:00:40Z","source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2023-12-29T10:34:32.900920089Z"},{"sha256":"5ca0e3c628f824ffd462032315c24a7ba6867123fe551b90de124b344ffb5a3d","modified_time":"2024-11-30T09:03:27Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","id":"pypi/2023-12-valuent/enchantv","import_time":"2025-12-02T22:30:56.01047015Z"},{"sha256":"f578b605e73b68aae8c1d8a9bd3f55b810839b2bccd720bccc7f887c2e0046c8","modified_time":"2024-11-30T09:03:27Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"source":"kam193","id":"pypi/2023-12-valuent/enchantv","import_time":"2025-12-02T23:07:19.209163597Z"},{"sha256":"212f492200394d484913bc8de971d20622ac4ed402a27dfd5a657e487568bd11","modified_time":"2024-11-30T09:03:27Z","versions":["1.0.0"],"source":"kam193","id":"pypi/2023-12-valuent/enchantv","import_time":"2025-12-10T21:38:58.346288521Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/enchantv"}],"affected":[{"package":{"name":"enchantv","ecosystem":"PyPI","purl":"pkg:pypi/enchantv"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/enchantv/MAL-2023-8763.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"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}