MAL-2026-13386Malicious code in decapod-common (PyPI)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
0.0.0 | unavailable | — | — | — |
1.2.dev1 | unavailable | — | — | — |
1.2.dev2 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | decapod-common | 0.0.0 |
| PyPI | decapod-common | 1.2.dev1 |
| PyPI | decapod-common | 1.2.dev2 |
{"schema_version":"1.7.4","id":"MAL-2026-13386","published":"2026-08-06T07:14:52Z","modified":"2026-08-06T13:11:12.938504364Z","summary":"Malicious code in decapod-common (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4)\nsetup.py overrides the install command to collect the installer's hostname and resolved IP address via socket.gethostname()/gethostbyname() and POST them as JSON to a hardcoded webhook.site endpoint (https://webhook.site/f79bb373-481e-4116-b3d1-35005970b62f) before completing installation. The beacon fires automatically during `pip install` of the sdist. The package's own metadata describes it as a POC beacon; no legitimate functionality accompanies the network callout.\n\n## Source: kam193 (335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd)\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","affected":[{"package":{"name":"decapod-common","ecosystem":"PyPI"},"versions":["0.0.0","1.2.dev1","1.2.dev2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"setup.py","sha256":"c0318b793ac934a0eeb48801948647792c41cb9e0c82c8d6a67a8ba4c88cdf43","tlsh":"5b112fd2e8b27075ea8710d0482749643653ba0f6f42ac293ccd43940fae835d821259"}],"package_integrity":[{"filename":"decapod_common-1.2.dev1.tar.gz","hashes":{"blake2b_256":"3fa8dc37aaa89e06e4b156130347f57a8b99a3f16abb0b8d6d9e8dc8e4754777","md5":"9ae3adc029f6a9c57191129fc1f676ef","sha256":"1ddb786932953be79c7493dee8f8fe777347ea68a4823afdf54ee72aa0905145"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/decapod-common"},{"type":"PACKAGE","url":"https://pypi.org/project/decapod-common/1.2.dev1/"},{"type":"PACKAGE","url":"https://pypi.org/project/decapod-common/1.2.dev2/"},{"type":"PACKAGE","url":"https://pypi.org/project/decapod-common/0.0.0/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/decapod-common","import_time":"2026-08-06T07:27:41.320959329Z","modified_time":"2026-08-06T07:14:52.620018Z","sha256":"335a31b4299781e6a6926da0b85d6f1b2e22aaefbb5953418b7abe7aa0ada4bd","source":"kam193","versions":["0.0.0","1.2.dev1","1.2.dev2"]},{"id":"pypi/GENERIC-standard-pypi-install-pentest/decapod-common","import_time":"2026-08-06T08:23:38.727531727Z","modified_time":"2026-08-06T07:14:52.620018Z","sha256":"4a2befb40c79b92c5ebe20409768c0aa0da5a17e6be0cab991ef2a631aaa949f","source":"kam193","versions":["0.0.0","1.2.dev1","1.2.dev2"]},{"id":"IN-MAL-2026-015994","import_time":"2026-08-06T13:08:35.811821571Z","modified_time":"2026-08-06T12:16:05Z","sha256":"1ff269b55a031b0c07059dc8664cd22e88e0015e25eec6e9252662ed3a585365","source":"amazon-inspector","versions":["1.2.dev1"]},{"id":"IN-MAL-2026-016000","import_time":"2026-08-06T13:08:36.512341229Z","modified_time":"2026-08-06T12:16:55Z","sha256":"e0de84c80d520754e010d02b90fd4dc728d90fa9efe8c1e8cc6ddd7eb05e0da4","source":"amazon-inspector","versions":["1.2.dev2"]},{"id":"IN-MAL-2026-015997","import_time":"2026-08-06T13:08:36.142805828Z","modified_time":"2026-08-06T12:16:27Z","sha256":"058b86879038ce7ef09b6764fbdd9d82af912b98bd9348d067e3540c537ff9a5","source":"amazon-inspector","versions":["0.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0