media-processing
Fail
Audited by Gen Agent Trust Hub on Feb 16, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- EXTERNAL_DOWNLOADS (HIGH): The shell scripts
scripts/batch-remove-background.shandscripts/remove-background.shcontain logic to automatically install thermbg-clipackage globally vianpm install -gif the command is not found. This constitutes an unverified runtime download of external code that is subsequently executed. - COMMAND_EXECUTION (HIGH): The skill heavily relies on executing system binaries (
ffmpeg,magick,rmbg) usingsubprocess.runin Python and direct shell execution in Bash. Whilemedia_convert.pyuses list-based arguments (reducing shell injection risk), the bash scripts take user-provided paths and arguments directly into shell commands. - REMOTE_CODE_EXECUTION (HIGH): The combination of automatic package installation (
npm install -g rmbg-cli) and immediate execution of that package's CLI tool allows for remote code execution if the package or the registry were compromised. - INDIRECT PROMPT INJECTION (HIGH):
- Ingestion points: The skill is designed to ingest and process external multimedia files (images, video, audio) provided by users or external sources.
- Boundary markers: No explicit boundary markers or 'ignore embedded instructions' warnings are used when passing file paths or processing file content.
- Capability inventory: Extensive capabilities including arbitrary file system reads (finding images), file writing (outputting media), and command execution via
subprocess.runand shell scripts. - Sanitization: Input paths are used directly; while some validation exists (checking if a directory exists), there is no sanitization against malicious filenames or exploit payloads embedded in media metadata (e.g., Polyglot files or ImageTragick-style exploits).
- METADATA POISONING (LOW): The
SKILL.mdand documentation contain instructions that recommendsudo apt-get install, which is a privileged operation. While standard for installation, it should be noted as a capability transition point.
Recommendations
- AI detected serious security threats
Audit Metadata