Telnyx Python SDK hides a credential stealer in a WAV file
TeamPCP published malicious telnyx 4.87.1 and 4.87.2 to PyPI on 27 March 2026 (~670k monthly downloads). Trojanised _client.py downloads steganographic payloads disguised as .wav files over plaintext HTTP, extracts the credential stealer, and persists. Windows variant drops msbuild.exe to the Startup folder; Linux variant uses a user-level systemd service. AES-256-CBC + RSA-4096 envelope for exfil.
Published 27 Mar 2026
Every version named by the advisory is in the scanner, so a lockfile check finds it directly.
- Severity
- Critical
- Type
- Compromise
- Published
- 27 Mar 2026
- Ecosystems
- PyPI
- Threat actor
- TeamPCP
- Detected by
- JFrog
- Source
- research.jfrog.com
Compromise. A legitimate, already-used package, maintainer account, CI pipeline, or release tag was hijacked and a malicious version was published under a name people already depend on.
The full picture
On 27 March 2026 the threat group TeamPCP published two trojanised releases of telnyx (4.87.1 and 4.87.2) - the official Python SDK for the Telnyx voice/SMS platform with roughly 670k monthly downloads. The malicious code lives inside telnyx/_client.py and runs the moment any consumer imports the SDK.
The loader pulls steganographic payloads from 83.142.209.203:8080/hangup.wav and /ringtone.wav over plaintext HTTP. Audio frames hide a base64 + XOR-encoded blob that decrypts into a credential stealer. Exfiltration uses an AES-256-CBC payload wrapped in an RSA-4096 envelope, tagged with the header X-Filename: tpcp.tar.gz.
Persistence is OS-specific:
- Windows drops
msbuild.exeinto%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\and uses an.lockcompanion file. - Linux installs a user-level
audiomon.servicesystemd unit under~/.config/systemd/user/backed by~/.config/audiomon/.
This is TeamPCP's second high-impact campaign in a week - JFrog tied the same actor to the earlier litellm PyPI compromise. PyPI quarantined both versions, but any environment that resolved telnyx>=4.87.1 during the live window should treat developer credentials and host metadata as compromised.
1 package 2 versions
These are usually pulled in as transitive dependencies rather than installed directly. Check your whole tree at once. It runs in your browser and nothing is uploaded.
What it does if you installed it
- Persistent Windows execution as msbuild.exe in Startup
- Linux user-level systemd persistence (audiomon.service)
- Credential and host-metadata exfiltration to attacker C2
- Targets developers integrating with Telnyx voice/SMS APIs
Clean-up steps
- Downgrade to
telnyx4.87.0 or earlier - Delete
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\msbuild.exe - Remove
~/.config/audiomon/and~/.config/systemd/user/audiomon.service - Block 83.142.209.203:8080 and the
/hangup.wav,/ringtone.wavURIs
Sources
- TeamPCP strikes again: Telnyx popular library hitresearch.jfrog.com
- telnyx-python issue #235 - malicious release discussiongithub.com
Check your lockfile against this and every other incident.
Paste a lockfile and it is matched on your own device against every compromised version we track. Nothing is uploaded and there is no account.