pypi · Malicious package advisory
Malwarefilecraft
GHSA-cj5p-vgxq-m286
Malicious code in filecraft (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (3d0eec02526b659b5e856c211e05be1842dc283ed0b7d07dc90574ea5c7dc34a) During the installation, the package iterates its files and attempts to import a hidden module - which is embedded as ZIP archive in the image file --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-12-handyfiles Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/filecraft/MAL-2024-12272.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/filecraft - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/filecraft/MAL-2024-12272.json - https://github.com/advisories/GHSA-cj5p-vgxq-m286
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.