---
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'
---

## Overview


---
_-= 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.


## Affected packages

- `d42-core-app-saas`

## Remediation

Refer to the advisory for the patched release.
