programmatic-music
Pass
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
subprocessmodule to execute external binaries for audio processing. Specifically,m21kit/render.py,m21kit/verify.py, andscripts/audio_to_score.pycallfluidsynth,ffmpeg, andffprobeto perform MIDI-to-audio rendering, stem mixing, and metadata extraction. These calls are constructed as argument lists, which is a secure practice to prevent shell injection. - [EXTERNAL_DOWNLOADS]: The
m21kit/render.pymodule contains a helper function to download a General MIDI soundfont from GitHub if it is not present on the system. Furthermore,scripts/fetch_score.pyprovides a centralized interface for downloading music scores from several online repositories including GitHub, Stanford University's KernScores, and TheSession.org. - [INDIRECT_PROMPT_INJECTION]: The skill processes music data from external sources, which represents a potential attack surface for indirect prompt injection if the ingested data contains malicious instructions.
- Ingestion points:
scripts/fetch_score.py(fetching remote scores) andscripts/audio_to_score.py(transcribing external audio). - Boundary markers: No explicit boundary markers or 'ignore' instructions are applied to the musical data during parsing.
- Capability inventory: The skill can execute shell commands for audio rendering and write files to disk.
- Sanitization: The skill relies on the structure-enforcing parsers of the
music21library to process incoming musical data.
Audit Metadata