{"id":"MAL-2026-20775","summary":"Malicious code in d42-core-app-saas (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (35a0a7c833bbb0c438d24f4738f0fa412ac45e9caa6f87db51b8710174cdca7f)\nThe top-level package module unconditionally performs an outbound HTTPS GET to a randomly-named subdomain of oastify.com (qtn0o8dnt0iayu4ecq1s3bsj9af13vrk.oastify.com) whenever the package is imported. The request path embeds a shell command-substitution template (`/sca-$(whoami;id)`) intended to carry the local account name and UID into the out-of-band callback log, and is labelled in source as a \"monitoring URL\". The packaging metadata states the package's purpose is a dependency confusion attack and sets the version to 9999.0.0 so the name outranks any same-named internal package during resolution. The distribution provides no advertised functionality beyond the callback.\n\n## Source: kam193 (64cea8b4bcc7fe551a08b4eb0d75830c58704e970b440b04e76aeab2a66588d7)\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-11-30T19:15:03.336909631Z","published":"2026-11-30T13:57:58Z","database_specific":{"malicious-packages-origins":[{"versions":["99.0.0","9999.0.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/d42-core-app-saas","import_time":"2026-11-30T14:36:59.605014480Z","modified_time":"2026-11-30T14:01:32.083048Z","sha256":"64cea8b4bcc7fe551a08b4eb0d75830c58704e970b440b04e76aeab2a66588d7","source":"kam193"},{"import_time":"2026-11-30T19:10:11.847623967Z","modified_time":"2026-11-30T19:08:35Z","sha256":"35a0a7c833bbb0c438d24f4738f0fa412ac45e9caa6f87db51b8710174cdca7f","source":"amazon-inspector","versions":["9999.0.0"],"id":"IN-MAL-2026-023149"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/d42-core-app-saas"},{"type":"PACKAGE","url":"https://pypi.org/project/d42-core-app-saas/9999.0.0/"}],"affected":[{"package":{"name":"d42-core-app-saas","ecosystem":"PyPI","purl":"pkg:pypi/d42-core-app-saas"},"versions":["99.0.0","9999.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"d42_core_app_saas-9999.0.0-py3-none-any.whl","hashes":{"md5":"b5559470090cf0fca39202123de8a74b","sha256":"d784354ee5c8b09599cee69e3d769c7d15a504768e87cb0777a4d7e884e0aeb2","blake2b_256":"21fb1ca14b5d9a2dbe7c17b2860267dfb90804039557171f0e0f721f4fed0c53"}},{"filename":"d42_core_app_saas-9999.0.0.tar.gz","hashes":{"blake2b_256":"3808cd49da73e46e972b55756bddaa74c5824a88f9ab0e597e3b80d0c39e8eb3","md5":"27a1252fb004ad8f80089121dffb14e8","sha256":"37cba18015fe4a1a7569bf085e70bf1ad3230b8eecf52f0d20765ba2e0601535"}}],"evidence_files":[{"path":"d42_core_app_saas/__init__.py","sha256":"3b1f049088d60b899ee6fdd9d8a60305de55829c57b680c25e11ae6b39f61967","tlsh":"adc08cab9805b0a69a9029002801620d2057f494ea9934ba38cd53651b341c290d422a","artifacts":["d42_core_app_saas-9999.0.0.tar.gz","d42_core_app_saas-9999.0.0-py3-none-any.whl"]},{"artifacts":["d42_core_app_saas-9999.0.0.tar.gz"],"path":"setup.py","sha256":"fa2141d93be42b842c149653cc444275aa2e0c5da905f43a2de976555d07c1f1","tlsh":"3fe07292484009711880d6ca28f321124228a23b3e60b4e9f30c02002f1ec8f073a2ae"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/d42-core-app-saas/MAL-2026-20775.json"}}],"schema_version":"1.9.2","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"}]}