set-metadata
Pass
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Potential shell command injection vulnerability. The skill constructs commands like
exiftool -Artist="<artist>"where<artist>is user-provided input. If the input contains shell metacharacters (e.g., backticks, dollar signs, or semicolons), it could lead to arbitrary command execution. - [COMMAND_EXECUTION]: Suggests the use of
sudo apt installfor dependency management. While this is a standard installation procedure, the use ofsudowithin an agent's execution context should be monitored for unintended privilege escalation. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface by ingesting untrusted data (metadata tag values) and writing them into files.
- Ingestion points: Metadata key-value pairs provided by the user (e.g., Artist, Copyright, Description) as described in the 'Inputs to gather' section.
- Boundary markers: Absent. User input is directly placed into command-line arguments.
- Capability inventory: The skill uses
Bashwith access toexiftool,ls,find,cp, andrm. - Sanitization: Absent. No instructions are provided to the agent to escape, validate, or sanitize the user-provided strings before processing.
Audit Metadata