Malicious code in tinkoff-cloud-apis-internal (PyPI)
The tinkoff-cloud-apis-internal PyPI package contains malicious code designed to download and execute remote executables using multiple fallback methods, including Cloudflare Workers and DNS TXT records. It achieves persistence by abusing Python .pth files to run on every Python start and attempts to cover its tracks by removing the downloaded binary after execution. The package also exfiltrates basic system data such as IP address and username. Versions 0.0.1, 8.5.3, and 8.5.4 are affected. This campaign is a continuation of a previous malicious campaign and includes code that overrides the install command to execute malicious actions during installation.
AI Analysis
Technical Summary
The tinkoff-cloud-apis-internal package on PyPI contains malicious functionality that downloads and runs executables from remote sources, using a primary method via Cloudflare Workers and a fallback method that reconstructs the executable from DNS TXT records. The malicious code ensures persistence by placing a Python .pth file that executes on every Python interpreter start. It also exfiltrates basic system information and attempts to cover its tracks by deleting the downloaded executable after running it. The package overrides the setup.py install command to run malicious code during installation. Versions 0.0.1 (which initially contained disarmed code), 8.5.3, and 8.5.4 are affected. This is part of a known malicious campaign identified as 2026-07-andreiiiiiii_i and continues prior activity from 2026-07-haproxy-config-client.
Potential Impact
The malicious package can execute arbitrary code on the affected system by downloading and running remote executables, potentially leading to system compromise. It also exfiltrates basic system information such as IP address and username, which could aid further attacks or profiling. Persistence mechanisms ensure the malicious code runs on every Python start, increasing the risk of ongoing compromise. The package also attempts to evade detection by removing the downloaded executable after execution.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately remove any installations of tinkoff-cloud-apis-internal versions 0.0.1, 8.5.3, and 8.5.4 from their environments. Avoid installing or using this package from PyPI. Monitor Python environments for unexpected .pth files that could indicate persistence mechanisms. Patch status is not yet confirmed — check the vendor advisory or PyPI security notices for current remediation guidance.
Malicious code in tinkoff-cloud-apis-internal (PyPI)
Description
The tinkoff-cloud-apis-internal PyPI package contains malicious code designed to download and execute remote executables using multiple fallback methods, including Cloudflare Workers and DNS TXT records. It achieves persistence by abusing Python .pth files to run on every Python start and attempts to cover its tracks by removing the downloaded binary after execution. The package also exfiltrates basic system data such as IP address and username. Versions 0.0.1, 8.5.3, and 8.5.4 are affected. This campaign is a continuation of a previous malicious campaign and includes code that overrides the install command to execute malicious actions during installation.
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 tinkoff-cloud-apis-internal package on PyPI contains malicious functionality that downloads and runs executables from remote sources, using a primary method via Cloudflare Workers and a fallback method that reconstructs the executable from DNS TXT records. The malicious code ensures persistence by placing a Python .pth file that executes on every Python interpreter start. It also exfiltrates basic system information and attempts to cover its tracks by deleting the downloaded executable after running it. The package overrides the setup.py install command to run malicious code during installation. Versions 0.0.1 (which initially contained disarmed code), 8.5.3, and 8.5.4 are affected. This is part of a known malicious campaign identified as 2026-07-andreiiiiiii_i and continues prior activity from 2026-07-haproxy-config-client.
Potential Impact
The malicious package can execute arbitrary code on the affected system by downloading and running remote executables, potentially leading to system compromise. It also exfiltrates basic system information such as IP address and username, which could aid further attacks or profiling. Persistence mechanisms ensure the malicious code runs on every Python start, increasing the risk of ongoing compromise. The package also attempts to evade detection by removing the downloaded executable after execution.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately remove any installations of tinkoff-cloud-apis-internal versions 0.0.1, 8.5.3, and 8.5.4 from their environments. Avoid installing or using this package from PyPI. Monitor Python environments for unexpected .pth files that could indicate persistence mechanisms. Patch status is not yet confirmed — check the vendor advisory or PyPI security notices for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10917
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5e79fb2a4a8d59899d35fb
Added to database: 07/20/2026, 19:41:47 UTC
Last enriched: 07/20/2026, 19:52:22 UTC
Last updated: 07/21/2026, 06:27:47 UTC
Views: 9
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.
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.