programmatic-music
Audited by Socket on Aug 22, 2026
2 alerts found:
Anomalyx2No strong evidence in this module of intentional malware, backdoors, or deliberate obfuscation. However, it has clear misuse/security-risk characteristics typical of a network/file processing CLI: it fetches attacker-controlled http(s) URLs (SSRF/egress risk depending on deployment trust boundaries), persists and reuses fetched data in a configurable cache directory, can dump fetched bytes to stdout via `--raw`, and can write output to an arbitrary caller-specified path via `--out`. Parsing and key analysis operate on untrusted content and therefore rely on music21’s robustness, but there are no explicit exploit primitives (e.g., eval/subprocess) visible in this fragment. Confidence is reduced by an apparent corruption in the provided `corpus_search()` snippet.
No clear signs of intentional malware (no reverse shell, credential theft, or obfuscated execution). However, the code has meaningful supply-chain/security risks: it downloads a soundfont from the network without verifying integrity (checksum/signature) and then uses it with fluidsynth, dynamically constructs ffmpeg filter graphs from Stem parameters, and relies on PATH-resolved executables. If inputs/workdir/dest are attacker-controlled, there is also potential for file overwrite and abuse of external tools.