---
id: "MAL-2026-18490"
kind: "package"
aliases: ["MAL-2026-18490"]
title: "Malicious code in pyprig (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "pyprig", "fixed": [], "affected": "= 1.2.0; = 1.2.1; = 1.2.2", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-02T22:11:26+00:00"
first_seen_at: "2026-11-03T00:46:57+00:00"
updated_at: "2026-11-03T00:48:08+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18490", "first_seen_at": "2026-11-03T00:46:57+00:00"}]
---

# Malicious code in pyprig (PyPI)

## Affected

- pypi:pyprig affected = 1.2.0; = 1.2.1; = 1.2.2 fixed ?

## Timeline

- 2026-11-03T00:46:57+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18490

## From the sources

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

## Source: kam193 (11f4beddcb42e2348d31d2ef0605d72198a28e796467c8afbac5c5c30d870315)
Clone of a legitimate Pydantic package with the added downloading of a remote code. The remote code is delivered from the GitHub repository and unpacked as a new module and then called during initialization of any models (runner injected into cloned Pydantic code). During analysis, the remote code was just a placeholder.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-11-pyprig


Reasons (based on the campaign):


 - Downloads and executes a remote malicious script.


 - clones-real-package

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
