T08 · Insecure Dependencies
- Location
scripts/text_to_cantonese_voice.py:96- Finding
Unpinned Third-Party TTS Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a straightforward Cantonese text-to-speech helper, with some privacy and dependency cautions but no evidence of deception, persistence, credential access, or destructive behavior.
Install only if you are comfortable using edge-tts for network-backed speech generation. Avoid submitting confidential, regulated, or credential-like text unless external processing is acceptable, and install dependencies in a virtual environment with pinned versions where possible.
scripts/text_to_cantonese_voice.py:96Unpinned Third-Party TTS Dependency Installation
scripts/text_to_cantonese_voice.py:102Undisclosed External Processing of User-Provided Text
代码的主要功能确实是把输入文本生成粤语语音 MP3,并支持 normal/slow/fast/angry 四种语气,这与描述大体相符。但描述中一个关键承诺是:输入普通话或粤语文字后,会“自动转换为粤语口吻后生成粤语语音”。实际代码没有任何文本转换、翻译、改写或语言风格转换逻辑,只是把原始 text 直接传给 edge_tts.Communicate,并选用 zh-HK 语音合成。因此如果输入是普通话文本,代码并不会先转成粤语表达,而只是用粤语声音朗读原文。这属于功能描述与实际行为的实质性不一致。另有一项轻微差异是代码支持 --voice 指定三种声音,但描述未写出该能力;这通常是未声明的附加能力,不过不如前者关键。综合判断应标记为不匹配。
The description states the skill will '自动转换为粤语口吻后生成粤语语音MP3', which hard-codes a specific language/locale outcome. This is a natural-language policy concern because the skill does not indicate any user opt-in or alternative language choice, even when the input may be Mandarin text.
This code file contains user-facing natural language that is entirely Chinese in the module docstring and command-line usage, and the script continues this pattern in its runtime messages. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified, which it is not here.
No suspicious patterns detected.