{"id":"MAL-2026-20775","title":"Malicious code in d42-core-app-saas (PyPI)","summary":"Malicious code in d42-core-app-saas (PyPI)","severity":"critical","exploited":true,"vendor":"d42-core-app-saas","product":"d42-core-app-saas","ecosystem":"pip","affected":["d42-core-app-saas"],"published":"2026-11-30","updated":"2026-11-30","sourceUpdated":"2026-11-30T19:15:03.336909631Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-20775","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/d42-core-app-saas"},{"url":"https://pypi.org/project/d42-core-app-saas/9999.0.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-11-30T16:57:49.426Z","slug":"MAL-2026-20775","body":"## Overview\n\n\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\n\n## Affected packages\n\n- `d42-core-app-saas`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}