Malicious code in cdktn-provider-azurerm (PyPI)
The cdktn-provider-azurerm package on PyPI is a malicious package impersonating the legitimate HashiCorp cdktf-provider-azurerm by using a single-character substitution in its name and mimicking branding. It forces installation of a malicious base package 'cdktn' that executes attacker-controlled code during import, potentially compromising the installer's Python environment. This package version 17.0.0 is affected. There is no CVSS score or known exploits in the wild reported.
AI Analysis
Technical Summary
The cdktn-provider-azurerm PyPI package is a typosquatting malicious package designed to impersonate HashiCorp's legitimate cdktf-provider-azurerm by substituting a single character in the name (cdktf → cdktn) and mimicking branding and metadata. The malicious package declares a dependency on a similarly named base package 'cdktn' which is attacker-controlled. When the provider is imported, the malicious base package code executes in the installer's Python process, enabling arbitrary code execution. The package metadata and documentation are engineered to appear authentic, including fabricated issue trackers and branding. The affected version is exactly 17.0.0. There is no vendor patch or fix information available.
Potential Impact
Installation and import of this malicious package results in execution of attacker-controlled code within the Python environment of the user, potentially leading to compromise of the system or environment where the package is installed. This can lead to arbitrary code execution and further malicious activity. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Users should avoid installing the cdktn-provider-azurerm package and verify package names carefully to avoid typosquatting attacks. Use only official sources and verify package authenticity before installation. Since this is a malicious package impersonation, remediation involves uninstalling the package if installed and scanning environments for unauthorized code execution. There is no official patch or fix; the threat is mitigated by avoiding the malicious package.
Malicious code in cdktn-provider-azurerm (PyPI)
Description
The cdktn-provider-azurerm package on PyPI is a malicious package impersonating the legitimate HashiCorp cdktf-provider-azurerm by using a single-character substitution in its name and mimicking branding. It forces installation of a malicious base package 'cdktn' that executes attacker-controlled code during import, potentially compromising the installer's Python environment. This package version 17.0.0 is affected. There is no CVSS score or known exploits in the wild reported.
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
The cdktn-provider-azurerm PyPI package is a typosquatting malicious package designed to impersonate HashiCorp's legitimate cdktf-provider-azurerm by substituting a single character in the name (cdktf → cdktn) and mimicking branding and metadata. The malicious package declares a dependency on a similarly named base package 'cdktn' which is attacker-controlled. When the provider is imported, the malicious base package code executes in the installer's Python process, enabling arbitrary code execution. The package metadata and documentation are engineered to appear authentic, including fabricated issue trackers and branding. The affected version is exactly 17.0.0. There is no vendor patch or fix information available.
Potential Impact
Installation and import of this malicious package results in execution of attacker-controlled code within the Python environment of the user, potentially leading to compromise of the system or environment where the package is installed. This can lead to arbitrary code execution and further malicious activity. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Users should avoid installing the cdktn-provider-azurerm package and verify package names carefully to avoid typosquatting attacks. Use only official sources and verify package authenticity before installation. Since this is a malicious package impersonation, remediation involves uninstalling the package if installed and scanning environments for unauthorized code execution. There is no official patch or fix; the threat is mitigated by avoiding the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13606
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a75f70abf8831d53984eddd
Added to database: 08/07/2026, 15:17:30 UTC
Last enriched: 08/07/2026, 15:24:35 UTC
Last updated: 08/07/2026, 15:24:35 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.
External Links
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.