MAL-2026-20775

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/d42-core-app-saas/MAL-2026-20775.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20775
Published
2026-11-30T13:57:58Z
Modified
2026-11-30T19:15:03Z
Summary
Malicious code in d42-core-app-saas (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (35a0a7c833bbb0c438d24f4738f0fa412ac45e9caa6f87db51b8710174cdca7f)

The 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.

Source: kam193 (64cea8b4bcc7fe551a08b4eb0d75830c58704e970b440b04e76aeab2a66588d7)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: 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.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Database specific
{
    "malicious-packages-origins":  [
        {
            "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",
            "versions":  [
                "99.0.0",
                "9999.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-023149",
            "import_time":  "2026-11-30T19:10:11.847623967Z",
            "modified_time":  "2026-11-30T19:08:35Z",
            "sha256":  "35a0a7c833bbb0c438d24f4738f0fa412ac45e9caa6f87db51b8710174cdca7f",
            "source":  "amazon-inspector",
            "versions":  [
                "9999.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / d42-core-app-saas

Package

Name
d42-core-app-saas
View open source insights on deps.dev
Purl
pkg:pypi/d42-core-app-saas

Affected ranges

Affected versions

99.*
99.0.0
9999.*
9999.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "artifacts":  [
                "d42_core_app_saas-9999.0.0.tar.gz",
                "d42_core_app_saas-9999.0.0-py3-none-any.whl"
            ],
            "path":  "d42_core_app_saas/__init__.py",
            "sha256":  "3b1f049088d60b899ee6fdd9d8a60305de55829c57b680c25e11ae6b39f61967",
            "tlsh":  "adc08cab9805b0a69a9029002801620d2057f494ea9934ba38cd53651b341c290d422a"
        },
        {
            "artifacts":  [
                "d42_core_app_saas-9999.0.0.tar.gz"
            ],
            "path":  "setup.py",
            "sha256":  "fa2141d93be42b842c149653cc444275aa2e0c5da905f43a2de976555d07c1f1",
            "tlsh":  "3fe07292484009711880d6ca28f321124228a23b3e60b4e9f30c02002f1ec8f073a2ae"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "d42_core_app_saas-9999.0.0-py3-none-any.whl",
            "hashes":  {
                "blake2b_256":  "21fb1ca14b5d9a2dbe7c17b2860267dfb90804039557171f0e0f721f4fed0c53",
                "md5":  "b5559470090cf0fca39202123de8a74b",
                "sha256":  "d784354ee5c8b09599cee69e3d769c7d15a504768e87cb0777a4d7e884e0aeb2"
            }
        },
        {
            "filename":  "d42_core_app_saas-9999.0.0.tar.gz",
            "hashes":  {
                "blake2b_256":  "3808cd49da73e46e972b55756bddaa74c5824a88f9ab0e597e3b80d0c39e8eb3",
                "md5":  "27a1252fb004ad8f80089121dffb14e8",
                "sha256":  "37cba18015fe4a1a7569bf085e70bf1ad3230b8eecf52f0d20765ba2e0601535"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/d42-core-app-saas/MAL-2026-20775.json"