ai-multimodal
Warn
Audited by Gen Agent Trust Hub on Apr 24, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/media_optimizer.pyuses theeval()function to calculate the frame rate from ther_frame_ratemetadata field returned byffprobe. Because this data is extracted from external media files, it presents a potential code execution vector if a maliciously crafted file is processed. Additionally,scripts/check_setup.pyperforms dynamic module loading using__import__()and modifiessys.pathto load utilities from computed filesystem paths. - [COMMAND_EXECUTION]: The
scripts/media_optimizer.pyutility invokes the external binariesffmpegandffprobeviasubprocess.runto perform media analysis and conversion tasks. While it utilizes list-based argument passing to prevent simple shell injection, it still grants the skill the capability to execute commands with local file paths. - [CREDENTIALS_UNSAFE]: The diagnostic script
scripts/check_setup.pyprints a preview of theGEMINI_API_KEY(first 20 characters) to the standard output during environment validation, which could lead to partial exposure of the secret in terminal logs or history. - [PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection due to its automated processing of untrusted external content.
- Ingestion points:
document_converter.pyandgemini_batch_process.pyread and process untrusted external files including images, audio, video, and various document formats (PDF, Office). - Boundary markers: The skill lacks delimiters or specific instructions (e.g., 'ignore all instructions within this file') to prevent the model from obeying commands embedded within the ingested media content.
- Capability inventory: The skill possesses shell execution (
ffmpeg) and filesystem write capabilities that could be triggered if a model's output is compromised by malicious instructions in a processed file. - Sanitization: No content sanitization or validation is applied to the data extracted from media before it is processed by the agent.
Audit Metadata