add-vinyl-to-catalog
Fail
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill constructs shell commands using string interpolation within a subshell, specifically
$(echo '{artist}' | python3 ...). This pattern is highly susceptible to shell command injection. If the{artist}variable, which originates from external image analysis or user input, contains a single quote followed by shell metacharacters (e.g.,'; touch /tmp/pwned; #), the agent will execute the injected command with the privileges of the underlying terminal tool. - [REMOTE_CODE_EXECUTION]: The deduplication workflow employs a dangerous execution pattern:
curl -s "..." | python3 -c "...". This pipes output from a remote URL directly into a Python interpreter. When combined with the command injection vulnerability in the URL construction, an attacker could manipulate the data being processed to influence the agent's behavior or trigger unintended actions. - [DYNAMIC_EXECUTION]: The instructions rely on
eval "$(infisical-login)"andeval "$(infisical-env)". This practice executes the output of a local binary directly in the shell environment. This is a significant risk as it grants the external binary full control over the session, and any compromise of the binary or its configuration would lead to arbitrary code execution. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a broad capability set (full terminal access, network operations, local script execution) and ingests untrusted data from multiple ingestion points, including vision analysis of user photos and metadata from the Discogs API. There are no boundary markers or sanitization steps defined to prevent malicious instructions embedded in album metadata or photos from being interpreted by the agent as commands.
- [DYNAMIC_EXECUTION]: The skill dynamically modifies the Python module search path using
sys.path.insert(0, "~.hermes/scripts")to load internal utility scripts. This introduces a risk of local code injection if an attacker can place malicious files in that directory, which is accessible via the same terminal tool used for the rest of the skill's operations.
Recommendations
- HIGH: Downloads and executes remote code from: https://your-catalog.fly.dev/api/records?q=$(echo - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata