pypi · Malicious package advisory
Malwarebacktradingbot
GHSA-vf96-j6jx-jqrw
Malicious code in backtradingbot (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.2` ## Source: kam193 (117c24f5b7a0f5e4921e4478231a717ecca01748a5b266d8984e619f06173984) Running the installed entry point downloads and executes remote code. During the analysis, the code was switching to websockets, adding a startup script and downloading next stages, which finally looked for browser and crypto wallet data. Currently, they seem not to attempt exfiltration of very sensitive data but rather a presence of different webbrowsers and wallets. It uses the same remote domain as campaign 2025-07-db-indicator, but significantly different payload. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-07-backtradingbot Reasons (based on the campaign): - Downloads and executes a remote malicious script. - peristence-autorun - exfiltration-browser-data - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - crypto-related --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/backtradingbot/MAL-2025-191689.json)) **References:** - https://bad-packages.kam193.eu/pypi/campaign/2025-07-db-indicator - https://bad-packages.kam193.eu/pypi/package/backtradingbot - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/backtradingbot/MAL-2025-191689.json - https://github.com/advisories/GHSA-vf96-j6jx-jqrw
Compromised versions (1)
- = 0.1.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.