Telnyx has malicious code in PyPI versions 4.87.1 and 4.87.2
On March 27, 2026, a threat actor used compromised PyPI credentials to publish malicious versions 4.87.1 and 4.87.2 of the telnyx Python package directly to PyPI. These versions contain credential-stealing malware and were not published through the legitimate GitHub release pipeline.
| Version | Published (UTC) | Quarantined (UTC) | Exposure |
|---------|-----------------|-------------------|----------|
| 4.87.1 (broken) | 2026-03-27 03:51 | 2026-03-27 10:13 | 6h 22m |
| 4.87.2 (functional) | 2026-03-27 04:07 | 2026-03-27 10:13 | 6h 6m |
Both versions were quarantined by PyPI at 2026-03-27 10:13 UTC.
Note: Version 4.87.1 contained a typo that prevented the malware from executing. Only 4.87.2 was fully functional.
You may be affected if:
telnyx Python package between 03:51 UTC and 10:13 UTC on March 27, 2026pip install telnyx without pinning a version and received 4.87.1 or 4.87.2telnyx as a transitive, unpinned dependencyYou are NOT affected if:
The attacker obtained the PyPI API token and uploaded malicious packages directly to PyPI, bypassing the GitHub release pipeline entirely. No malicious commits exist in the GitHub repository.
The malware is injected into telnyx/_client.py (74 additional lines) and executes on import telnyx:
Linux/macOS:
1. Spawns detached subprocess to survive parent exit
2. Downloads payload hidden inside WAV audio file (steganography) from C2
3. Harvests credentials: SSH keys, AWS/GCP/Azure creds, Kubernetes tokens, Docker configs, .env files, database credentials, crypto wallets
4. If Kubernetes access found, deploys privileged pods to all nodes for lateral movement
5. Encrypts with AES-256-CBC + RSA-4096, exfiltrates to C2
Windows:
1. Downloads binary hidden inside WAV file from C2
2. Drops as msbuild.exe in Startup folder for persistence
3. Executes with hidden window
| Version | Status | Notes |
|---------|--------|-------|
| 4.87.1 | Broken | Typo: Setup() instead of setup() caused NameError |
| 4.87.2 | Functional | Attacker uploaded 16 minutes later to fix their own casing error; full attack chain operational |
| Version | File | SHA-256 |
|---------|------|--------|
| 4.87.0 | telnyx-4.87.0-py3-none-any.whl | 5aeb8172c29ade224e6c2d166713f304596aa21e3dbfa5b6b2b028e6997f6bd2 |
| 4.87.0 | telnyx-4.87.0.tar.gz | 3f093a85c313c2b779594f99fc07f453f1a7fd8785878d963688c531ff94d03a |
```bash
# Check installed version
pip show telnyx | grep Version
# Check pip cache for telnyx versions
pip cache list telnyx 2>/dev/null
# Check when telnyx was installed (modification time)
ls -la $(python -c "import site; print(site.getsitepackages()[0])")/telnyx* 2>/dev/null
```
```bash
pip uninstall telnyx
```
If there is any possibility that version 4.87.1 or 4.87.2 was installed in your environment, treat all accessible secrets as compromised:
```bash
# Check for malicious systemd service
systemctl --user status audiomon 2>/dev/null
ls -la ~/.config/audiomon/ 2>/dev/null
# Check state file
ls -la /tmp/.initd_state 2>/dev/null
```
```powershell
# Check Startup folder
Get-ChildItem "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\msbuild.exe"
```
```bash
pip install telnyx==4.87.0
```
Or in requirements.txt:
```
telnyx==4.87.0
```
| File | SHA-256 |
|------|--------|
| telnyx-4.87.1-py3-none-any.whl | 7321caa303fe96ded0492c747d2f353c4f7d17185656fe292ab0a59e2bd0b8d9 |
| telnyx-4.87.2-py3-none-any.whl | cd08115806662469bbedec4b03f8427b97c8a4b3bc1442dc18b72b4e19395fe3 |
| IoC | Type |
|-----|------|
| 83.142.209.203 | C2 IP address |
| http://83.142.209.203:8080/ringtone.wav | Payload endpoint (Linux/macOS) |
| http://83.142.209.203:8080/hangup.wav | Payload endpoint (Windows) |
| http://83.142.209.203:8080/raw | Persistence polling endpoint |
| Path | Platform | Purpose |
|------|----------|--------|
| ~/.config/audiomon/audiomon.py | Linux/macOS | Persistence implant |
| `~/.config/systemd/user/audiomon.ser
GHSA-955r-262c-33jc is classified as CWE-506: Embedded Malicious Code. The product contains code that appears to be malicious in nature.
GHSA-955r-262c-33jc is recorded against 1 package.
Published on 30 March 2026 and last revised on 2 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
github.com (Web)
github.com (Web)
github.com (Package)
ramimac.me (Web)
www.endorlabs.com (Web)
telnyx has other advisories on record. If you are patching this one, these are worth checking on the same host:
These advisories are the same class of weakness (CWE-506: Embedded Malicious Code) in other software:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| telnyx | 4.87.1 | — |
References
Similar Threats
Exploit Protection
GHSA-955r-262c-33jc carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For GHSA-955r-262c-33jc →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.