Executive Summary
In March 2026, the Telnyx Python package on the Python Package Index (PyPI) was compromised by the threat actor TeamPCP. Malicious versions 4.87.1 and 4.87.2 were uploaded, embedding malware that exfiltrated sensitive data such as SSH keys, cloud tokens, and cryptocurrency wallets. The attack utilized steganography, hiding the payload within WAV audio files, and affected both Linux/macOS and Windows systems. This incident underscores the escalating threat of supply chain attacks targeting widely used open-source packages, emphasizing the need for enhanced security measures in software development pipelines.
Why This Matters Now
The Telnyx PyPI package compromise highlights the increasing sophistication of supply chain attacks, particularly those targeting open-source repositories. As developers rely heavily on these packages, such incidents can have widespread implications, affecting numerous applications and services. The use of steganography to conceal malware further complicates detection efforts, making it imperative for organizations to implement robust security practices and continuously monitor their software supply chains to mitigate potential risks.
Attack Path Analysis
The attack began with TeamPCP compromising the Telnyx PyPI package, embedding malicious code that executed upon import. This code downloaded a second-stage payload concealed within a WAV file, which, once decrypted, harvested sensitive data from the host system. The malware established persistence by placing itself in the startup folder on Windows systems, ensuring execution upon each login. It then communicated with a remote command-and-control server to exfiltrate collected credentials, SSH keys, and other sensitive information. The exfiltrated data could be used for further attacks, including unauthorized access to cloud services and potential deployment of additional malware.
Kill Chain Progression
Initial Compromise
Description
TeamPCP compromised the Telnyx PyPI package, embedding malicious code that executed upon import.
MITRE ATT&CK® Techniques
Compromise Software Dependencies and Development Tools
User Execution: Malicious File
Indicator Removal on Host: File Deletion
Credentials from Password Stores: Credentials from Web Browsers
Data from Local System
Exfiltration Over C2 Channel
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure all system components are protected from known vulnerabilities
Control ID: 6.2
NYDFS 23 NYCRR 500 – Application Security
Control ID: 500.08
DORA – ICT Risk Management Framework
Control ID: Article 6
CISA ZTMM 2.0 – Implement Supply Chain Risk Management
Control ID: Supply Chain Risk Management
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Supply-chain attacks targeting PyPI packages directly compromise development environments, requiring immediate credential rotation and dependency auditing across all projects.
Telecommunications
Telnyx SDK compromise affects VoIP, messaging, and IoT communication services, exposing customer credentials and potentially disrupting critical telecom infrastructure operations.
Information Technology/IT
Steganographic malware hidden in WAV files bypasses traditional security controls, targeting SSH keys, cloud tokens, and Kubernetes environments in IT operations.
Financial Services
Credential-stealing malware threatens compliance frameworks like PCI-DSS, potentially exposing cryptocurrency wallets and sensitive financial data through compromised development tools.
Sources
- Backdoored Telnyx PyPI package pushes malware hidden in WAV audiohttps://www.bleepingcomputer.com/news/security/backdoored-telnyx-pypi-package-pushes-malware-hidden-in-wav-audio/Verified
- Telnyx PyPI package compromised by TeamPCP to deliver malwarehttps://www.aikido.dev/blog/telnyx-pypi-compromised-teampcp-canisterwormVerified
- Telnyx Python SDK compromised: Supply chain attack analysishttps://socket.dev/blog/telnyx-python-sdk-compromisedVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it could have limited the attacker's ability to move laterally and exfiltrate data by enforcing strict segmentation and controlled egress policies.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The malicious code's execution may have been constrained by CNSF's embedded security controls, potentially limiting its ability to initiate unauthorized actions.
Control: Zero Trust Segmentation
Mitigation: Zero Trust Segmentation would likely have limited the malware's access to sensitive data and critical system resources, reducing the scope of potential privilege escalation.
Control: East-West Traffic Security
Mitigation: East-West Traffic Security measures would likely have restricted the malware's ability to move laterally across nodes, thereby limiting its reach within the Kubernetes environment.
Control: Multicloud Visibility & Control
Mitigation: Multicloud Visibility & Control would likely have identified and restricted unauthorized communications with external servers, thereby limiting the malware's command and control capabilities.
Control: Egress Security & Policy Enforcement
Mitigation: Egress Security & Policy Enforcement would likely have restricted unauthorized data transfers, thereby limiting the malware's ability to exfiltrate sensitive information.
The overall impact of the attack would likely have been reduced due to CNSF's comprehensive security measures, limiting the attacker's ability to leverage exfiltrated data for further malicious activities.
Impact at a Glance
Affected Business Functions
- Software Development
- Application Security
- DevOps
Estimated downtime: 7 days
Estimated loss: $50,000
Potential exposure of SSH keys, cloud tokens, cryptocurrency wallets, and other sensitive credentials.
Recommended Actions
Key Takeaways & Next Steps
- • Implement supply chain management programs to assess the trustworthiness of software dependencies and validate their integrity.
- • Utilize code signing and integrity checks to verify the authenticity of software packages before deployment.
- • Enforce zero trust segmentation to limit lateral movement within Kubernetes clusters and other critical systems.
- • Deploy egress security and policy enforcement mechanisms to monitor and control outbound traffic, preventing unauthorized data exfiltration.
- • Establish multicloud visibility and control to detect anomalous interactions and repeated malformed requests indicative of compromise.



