Skip to content

MAL-2026-868 Malicious code in pydantics (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: kam193 (dda36b358c57e79abf804d53d4750cf2836f930b07aa524c0b5c4d231d92143f)

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

Source: ossf-package-analysis (7c6d61cdeefc8455cbf435a43ba1e13c796ed4b43b63fe74314706d265387ea1)

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi pydantics(PyPI) = 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi pydantics(PyPI) = 1.0.0 No fix listed

References