Malicious package · PyPI
Malicious code in houdus (PyPI)
1.0.01.0.1No safe version. Remove it.What it does
The package advertises random-number helpers but its generator.py side-loads houdus/assests/ssd.wav as Python via importlib.util.spec_from_file_location + exec_module the first time any of its RNG APIs (pick_int, select_item, etc.) is called. The.wav file is Python source shipped under a mismatched extension and contains: multi-signal VM/sandbox detection (WMI, CPUID hypervisor bit, MAC/BIOS/registry checks), RAM checks, 30-second sleeps, and a base64-encoded URL decoding to https://lamabdefs-sesaonion-ho.netlify.app/wobble.py. On non-sandbox Windows hosts the loader silently installs pycryptodome, downloads wobble.py into %APPDATA%\Microsoft\Windows\Start Menu\Programs<python>\wobble.wav, launches it with pythonw.exe using CREATE_NO_WINDOW, and self-deletes. The Start Menu Programs path and headless pythonw launch provide persistence and stealth. Extension disguise, base64 URL obfuscation, and anti-analysis gating rule out any benign interpretation; nothing in the package's stated RNG purpose requires remote code execution.
Reported by kam193 During import, package loads code disguised as ".wav" file. It performs extensive fingerprinting against sandboxes, and finally downloads and executes heavily obfuscated code. The remote code tries once more to avoid sandbox execution, establishes persistence via scheduled tasks and executes shellcode. Malicious code targets only Windows.
No fix · Remove and contain
pip uninstall houdusSources