speak-sdk-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
preprocessAudiofunction pattern inSKILL.mdusesexecSyncto invoke theffmpegbinary using a shell string template. This method is susceptible to command injection if theinputPathvariable is derived from untrusted user input and contains shell metacharacters. - [INDIRECT_PROMPT_INJECTION]: The skill documents a code pattern that establishes a vulnerability surface for untrusted data (file paths) that could be used by an agent to generate insecure code.
- Ingestion points: The
inputPathandoutputPathparameters in thepreprocessAudiofunction inSKILL.md. - Boundary markers: None present in the code snippet to validate or delimit the input paths.
- Capability inventory: The skill references shell execution tools including
execSync(Node.js) inSKILL.mdandsubprocess.run(Python) inreferences/code-patterns.md. - Sanitization: The TypeScript pattern lacks input validation or shell-escaping for the variables interpolated into the command string.
Audit Metadata