Malicious code in pydanticc (PyPI)
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.
AI Analysis
Technical Summary
pydanticc is a malicious PyPI package impersonating the legitimate pydantic library. Its setup.py contains a base64-encoded payload that, when decoded and executed during installation, downloads an opaque executable from a personal GitHub release URL, saves it to /tmp, makes it executable, and runs it detached in the background. The shipped Python module is a stub with no real functionality, confirming the package's purpose as a dropper for arbitrary remote code execution. The package exfiltrates cryptocurrency wallet data and possibly other sensitive information. This behavior is concealed by obfuscation and typosquatting techniques.
Potential Impact
Installation of pydanticc leads to arbitrary remote code execution on the host system, allowing the attacker to run malicious code with the installer's privileges. The package exfiltrates cryptocurrency wallet data and potentially other sensitive information, posing a significant risk of data theft and system compromise.
Mitigation Recommendations
Users should avoid installing the pydanticc package and verify package names carefully to prevent typosquatting attacks. Since this is a malicious package on PyPI, remediation involves removing any installed instances of pydanticc and scanning affected systems for signs of compromise. There is no official patch or fix because this is a malicious package rather than a vulnerability in legitimate software. Use only trusted packages from verified sources.
Malicious code in pydanticc (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
pydanticc is a malicious PyPI package impersonating the legitimate pydantic library. Its setup.py contains a base64-encoded payload that, when decoded and executed during installation, downloads an opaque executable from a personal GitHub release URL, saves it to /tmp, makes it executable, and runs it detached in the background. The shipped Python module is a stub with no real functionality, confirming the package's purpose as a dropper for arbitrary remote code execution. The package exfiltrates cryptocurrency wallet data and possibly other sensitive information. This behavior is concealed by obfuscation and typosquatting techniques.
Potential Impact
Installation of pydanticc leads to arbitrary remote code execution on the host system, allowing the attacker to run malicious code with the installer's privileges. The package exfiltrates cryptocurrency wallet data and potentially other sensitive information, posing a significant risk of data theft and system compromise.
Mitigation Recommendations
Users should avoid installing the pydanticc package and verify package names carefully to prevent typosquatting attacks. Since this is a malicious package on PyPI, remediation involves removing any installed instances of pydanticc and scanning affected systems for signs of compromise. There is no official patch or fix because this is a malicious package rather than a vulnerability in legitimate software. Use only trusted packages from verified sources.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13489
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a75f711bf8831d53984fb09
Added to database: 08/07/2026, 15:17:37 UTC
Last enriched: 08/07/2026, 15:40:09 UTC
Last updated: 08/08/2026, 03:40:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.