midi-synth
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The scripts
scripts/render.pyandscripts/to_strudel.pycontain logic in theensure_depsfunction to dynamically install Python packages (pretty_midi,numpy,soundfile) usingpip installif they are not already present in the environment. - [COMMAND_EXECUTION]: The skill executes external system commands using
subprocess.runandsubprocess.check_callto perform audio rendering tasks viafluidsynthandffmpeg, and to manage package installations. - [EXTERNAL_DOWNLOADS]: The documentation in
soundfonts/README.mddescribes an automatic download feature for SoundFont files from external sources such as archive.org and supports user-provided URLs for downloading binary assets via command-line arguments. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and parses MIDI and MusicXML files. MusicXML is an XML-based format processed by the
music21library, which could be a vector for injection attacks if the underlying parser is not configured with security guardrails against malicious XML structures. This finding is based on ingestion points inload_inputacross both scripts, the absence of explicit boundary markers for external data, the extensive capability inventory including system commands and file writing, and the lack of explicit sanitization for music file content. - [DYNAMIC_EXECUTION]: The
ensure_depsfunction in both Python scripts utilizes the__import__function to dynamically check for and load modules based on string names at runtime.
Audit Metadata