Use of software with malware In cdktn-provider-azurerm
Description
Package name and branding closely mimic HashiCorp's legitimate cdktf-provider-azurerm (CDK for Terraform), with a single-character substitution (cdktf → cdktn) and fabricated 'CDK Terrain' branding at cdktn.io that mirrors HashiCorp's cdk.tf. PKG-INFO declares Requires-Dist: cdktn<0.25.0,>=0.24.0, forcing installation of a non-HashiCorp base package cdktn (analogue of the legitimate cdktf). The top-level module executes import cdktn._jsii at load time via src/cdktn_provider_azurerm/_jsii/init.py, so any code shipped in the attacker-controlled cdktn base runs in the installer's Python process the first time the provider is imported. README and metadata further reference cdktn-io/cdktn-provider-azurerm and a nonexistent open-constructs/cdk-terrain issue tracker, engineered to look identical to real HashiCorp CDKTF branding.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version |
|---|---|---|
pypi |
Aliases