Skip to main content
MalwarePublished

pydanticc (PyPI) · Malicious Code

Affects pydanticcSource GCVE Database

0

Malicious package : remove pydanticc and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 15:40 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-13489

What to do

Remove pydanticc from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIpydanticcAffected
  • 0.1.1 – 0.3.0
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The pydanticc package on PyPI is a malicious typosquat of the popular pydantic library. During installation, it executes obfuscated code that downloads and runs a remote executable from an unrelated personal GitHub account. The package contains no legitimate functionality and acts as an install-time dropper, enabling arbitrary remote code execution on the installer's system. It is known to exfiltrate cryptocurrency wallet data and potentially other sensitive information.

References

Community reviews

Loading reviews…