Malicious code in pyprig (PyPI)
- GHSA-25jm-3g7h-jgf6
Description
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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/1442b356177e8c4590f73bf488308004ea86227f/osv/malicious/pypi/pyprig/MAL-2026-18490.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
pyprigPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.