media-processing
Warn
Audited by Gen Agent Trust Hub on Jul 3, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The scripts
scripts/remove-background.shandscripts/batch-remove-background.shinclude logic to automatically install thermbg-clipackage globally vianpm install -g rmbg-cliif the command is not present. This installs software from an untrusted third-party source at runtime without user intervention. - [REMOTE_CODE_EXECUTION]: The automated installation of
rmbg-clieffectively downloads and prepares code for execution from the public NPM registry. Since this package is not from a recognized trusted vendor or well-known service, it represents a potential supply-chain risk where unverified code could be executed. - [COMMAND_EXECUTION]: The skill relies heavily on executing system binaries (ffmpeg, magick, rmbg) through
subprocess.runin Python and shell scripts. While these are necessary for the skill's functionality, they provide a broad surface for command-line interactions. - [PROMPT_INJECTION]: The skill processes media files and extracts metadata via
ffprobeandidentify. It is susceptible to indirect prompt injection where malicious filenames (e.g., containing newlines or shell metacharacters) or metadata fields could be used to influence the agent's behavior or exploit vulnerabilities in the script's handling of external input.
Audit Metadata