Malicious package · PyPI
Malicious code in glassbeakasr (PyPI)
0.1.0No safe version. Remove it.What it does
The package exposes a run(profile, url, **kwargs) function that fetches a caller-supplied URL and executes the response body as Python via exec(compile(src, url, 'exec'), mod.dict). The URL is not hardcoded, there are no install-time or import-time hooks, no top-level network I/O, and no reads of installer secrets or environment variables. The remote-code execution surface is only reached if a caller explicitly invokes run() with a URL they chose. This is an advertised dynamic-loader API rather than a covert dropper, but the design pattern is inherently hazardous: any caller passing an attacker-influenced URL would execute arbitrary Python in-process with no integrity or signature check.
Reported by kam193 The package belongs to a series of packages falsely advertising 'audio-analysis profiles' loader. In fact, the only purpose is to execute remote code, but the URL is not embedded in the package. It is likely a continuation of the coin-mining campaign 2026-10-voxeval which used similar wording.
No fix · Remove and contain
pip uninstall glassbeakasrSources