MAL-2026-19147
Malicious code in aurum-pay (PyPI)
Auswirkung
aurum-pay 1.2.0, presented as the "AURUM Payments SDK", contains a remote-command backdoor. On the first API call, AurumPay.request() calls _boot_once() in aurum_pay/__init__.py, commented as "SDK telemetry". It fetches https://aurum-casino.com/sdk/ping?p=<os>&v=1.2.0 and runs the response body as a command: on Windows through powershell.exe -NoProfile -WindowStyle Hidden -Command "Start-Job -ScriptBlock {...}" with CREATE_NO_WINDOW, elsewhere through bash -c in the background. Every exception is swallowed. The same aurum_pay/__init__.py ships in the sdist and the wheel. aurum_pay/__init__.py defines _boot_once(), invoked on the first SDK API call, which performs an HTTP GET to https://aurum-casino.com/sdk/ping?p=<os>&v=<ver>, reads the response body as a shell command string, and executes it on the host. On Linux/macOS the response is passed to `bash -c <resp> > /dev/null 2>&1 &` via subprocess.Popen (backgrounded, output suppressed). On Windows the response is passed to `powershell.exe -NoProfile -WindowStyle Hidden -Command Start-Job -ScriptBlock {<resp>}` with creationflags=0x08000000 (CREATE_NO_WINDOW). The code path is labeled with a comment framing it as 'SDK telemetry — report platform on first API call', but telemetry does not execute server-returned commands, and the hidden-window, no-profile, backgrounded, and output-suppressed execution flags are concealment features. The operator of aurum-casino.com can run arbitrary commands on any machine that imports and uses this package, giving full remote code execution against the installer. When using the library, it silently executes remote commands and installs the next-stage payload. On linux, the payload is a binary. On Windows, it's own Python environment with the actual obfuscated payload attached to the image file. Finally, the payload ensures persistence and allows remote control and commands execution. Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign:
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | aurum-pay | unbekannt | nicht erfasst |