If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
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.