claude-animation
Fail
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/sound.mjsis vulnerable to shell command injection. It utilizesexecFileSyncto invoke a shell (sh -c) with a command string constructed via template literals that include unsanitized command-line arguments. Specifically, the--lufsparameter and the output file path are directly interpolated into the command string. If an agent is directed to process a file with a maliciously crafted name or parameter (e.g., containing; touch /tmp/pwned; #), it will result in arbitrary shell command execution on the host system. - Evidence in
scripts/sound.mjs:execFileSync("sh", ["-c",ffmpeg ... -i "${tmp}" -af loudnorm=I=${I}:...])wheretmpis derived from user-provided file paths andIis taken from the--lufsflag. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection as it exposes powerful system capabilities (shell execution) to inputs that can be influenced by external data.
- Ingestion points: The skill ingests untrusted data through command-line arguments (file paths and numeric parameters) and the
cues.jsonfile inscripts/sound.mjs. - Boundary markers: The skill lacks boundary markers or sanitization logic to prevent embedded shell metacharacters from escaping the intended command string context.
- Capability inventory: The skill utilizes
execFileSync,spawn, andfs.writeFileSyncto interact with the OS and external binaries like FFmpeg and FFprobe. - Sanitization: No escaping, validation, or filtering is performed on the variables
Iortmpbefore they are interpolated into the shell command executed viash -c.
Recommendations
- AI detected serious security threats
Audit Metadata