Skip to main content
Menu
Advisories

Malicious code in aurum-pay (PyPI)

MAL-2026-19147Published Updated OpenSSFMalware

Description

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 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.

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e2b0d2ac6f807a70e04fe3dc30654e40995911bc11ccaec948674e44e243f392)

aurum_pay/__init__.py defines _boot_once(), invoked on the first SDK API call, which performs an HTTP GET to 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.

Source: kam193 (40697f79120f5f6ad29a3fe7e3ef4b82f3264c7014b5b6f83e11cc0ccbae366f)

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: 2026-11-aurum-pay

Reasons (based on the campaign):

  • Downloads and executes a remote executable.
  • obfuscation
  • action-hidden-in-lib-usage
  • Downloads and executes a remote malicious script.
  • rat
  • persistence

Affected versions

References