pypi · Malicious package advisory
MalwareCalcBoxLite
GHSA-q2qg-w4f2-8v29
Malicious code in calcboxlite (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0` ## Source: amazon-inspector (227fe04d85516bd5348dea2c0c25078d057eacb4f439fd6a241ea0409b7afd09) setup.py and calcboxlite/__init__.py both invoke a top-level `_report()` function that reads `getpass.getuser()` and `socket.gethostname()` and POSTs them as JSON to a hardcoded remote collector at https://k4m2qhx7ptv9nzcr3bwe8syd6ljfa0gu1.oast.invalid/collect. The beacon fires automatically on `pip install` and again on every `import calcboxlite`, so consumers in sandboxed builds, CI runners, REPLs, or downstream libraries all transmit installer identity to the endpoint. The destination host is unrelated to any advertised calculator functionality and is characteristic of an out-of-band interaction collector used for identifying vulnerable installers. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5203541202891aa13928fdb1ce96f5d52556503b/osv/malicious/pypi/calcboxlite/MAL-2026-15488.json)) **References:** - https://github.com/ossf/malicious-packages/blob/5203541202891aa13928fdb1ce96f5d52556503b/osv/malicious/pypi/calcboxlite/MAL-2026-15488.json - https://pypi.org/project/CalcBoxLite/1.0 - https://github.com/advisories/GHSA-q2qg-w4f2-8v29
Compromised versions (1)
- = 1.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.