MAL-2026-868 Malicious code in pydantics (PyPI)
- Package
- pydantics
- Registry
- PyPI
What is MAL-2026-868?
MAL-2026-868 is a malicious package in pydantics, published on 12 Feb 2026.
Official description
Package is a typosquatting or dependency confusion attempt with a low-harm local-only action, like leaving a flag file.
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-local-typosquatting
Reasons (based on the campaign):
dependency-confusion
The package overrides the install command in setup.py to execute malicious code during installation.
typosquatting
The OpenSSF Package Analysis project identified 'pydantics' @ 1.0.0 (pypi) as malicious.
It is considered malicious because:
- The package executes one or more commands associated with malicious behavior.
What should I do about MAL-2026-868?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.