espeak-ng
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes the
espeak-ngsystem command to generate speech. The implementation inespeak_skill.pyusessubprocess.Popenwith a command list rather than a raw shell string, preventing shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The documentation provides instructions for installing the necessary
espeak-ngdependency, including a link to the official releases on GitHub. This reference targets a well-known open-source project and is used for environment setup. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided text for speech generation. It successfully mitigates potential injection risks through the following measures: 1. Ingestion points: Untrusted data enters via
sys.argv[1]inespeak_skill.py. 2. Boundary markers: Not explicitly used, but the input is isolated within a command argument list. 3. Capability inventory: Usessubprocess.Popento invoke the localespeak-ngbinary. 4. Sanitization: Applies a strict regular expression filter that removes all special characters, ensuring only alphanumeric characters and spaces are processed.
Audit Metadata