MAL-2026-248Malicious code in dify-api (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | dify-api | 2.0.0 |
{"modified":"2026-01-13T23:09:11Z","published":"2026-01-13T14:21:33Z","schema_version":"1.7.4","id":"MAL-2026-248","summary":"Malicious code in dify-api (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a40038bb1837e98127f2e267d1932d1eeb641c93e855c50af9aa25002e28c76b)\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\n## Source: ossf-package-analysis (ee611ef320a188caabae79f97fae3f9cea337c16665e15d68f4deb38a2b22868)\nThe OpenSSF Package Analysis project identified 'dify-api' @ 2.0.0 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"ecosystem":"PyPI","name":"dify-api"},"versions":["2.0.0"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/dify-api"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"a40038bb1837e98127f2e267d1932d1eeb641c93e855c50af9aa25002e28c76b","import_time":"2026-01-13T18:45:54.136947232Z","id":"pypi/GENERIC-standard-pypi-install-pentest/dify-api","modified_time":"2026-01-13T18:07:43.766478Z","versions":["2.0.0"]},{"source":"ossf-package-analysis","sha256":"ee611ef320a188caabae79f97fae3f9cea337c16665e15d68f4deb38a2b22868","import_time":"2026-01-13T23:07:22.273767979Z","modified_time":"2026-01-13T14:21:33Z","versions":["2.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0