pypi · Malicious package advisory
Malwarefwk-amigapython-rest-server
GHSA-vrrr-m27j-8c2g
Malicious code in fwk-amigapython-rest-server (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.13.0` ## Source: kam193 (9694db9e75e6f3f31137edfba3f3a51ede2881961ee930ea4a4b02e1be086fc8) During import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-amigapythonupdater Reasons (based on the campaign): - exfiltration-generic - exfiltration-env-variables - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fwk-amigapython-rest-server/MAL-2026-1139.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/fwk-amigapython-rest-server - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fwk-amigapython-rest-server/MAL-2026-1139.json - https://github.com/advisories/GHSA-vrrr-m27j-8c2g
Compromised versions (1)
- = 2.13.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.