Low Risk — Risk Score 5/100
Last scan:20 hr ago Rescan
5 /100
smart-tts
智能语音合成。自动尝试多种模型/音色,直到成功。解决 418 资源未开通问题。
A straightforward TTS wrapper using the Dashscope SDK with no malicious behavior detected — reads one declared API key, calls a legitimate Alibaba Cloud API, and writes output files to a declared workspace path.
Skill Namesmart-tts
Duration37.4s
Enginepi
Safe to install
Approve for use. No security concerns require action.

Findings 2 items

Severity Finding Location
Low
Bare except clause swallows errors RCE
Both generate.py and batch.py use bare `except Exception` which catches all errors broadly without differentiation or logging. This could mask runtime failures.
except Exception as e:
→ Use specific exception types or add structured logging for better observability.
scripts/generate.py:55
Info
expanduser with fixed path is safe Priv Escalation
Output path ~/openclaw/workspace/ is hardcoded and declared. No path traversal risk.
workspace = os.path.expanduser("~/.openclaw/workspace")
→ No action needed — behavior is declared and benign.
scripts/generate.py:32
ResourceDeclaredInferredStatusEvidence
Filesystem WRITE WRITE ✓ Aligned generate.py:line~52 writes to ~/.openclaw/workspace/tts_output.wav
Network READ READ ✓ Aligned dashscope SDK makes outbound HTTPS calls to Alibaba Cloud Dashscope API
Environment READ READ ✓ Aligned generate.py:12-14 reads DASHSCOPE_API_KEY from os.environ
Shell NONE NONE No subprocess, os.system, or shell execution found
credential_theft NONE NONE API key used only for authenticated TTS API calls to Dashscope

File Tree

3 files · 7.4 KB · 258 lines
Python 2f · 203L Markdown 1f · 55L
├─ 📁 scripts
│ ├─ 🐍 batch.py Python 108L · 3.3 KB
│ └─ 🐍 generate.py Python 95L · 2.9 KB
└─ 📝 SKILL.md Markdown 55L · 1.3 KB

Dependencies 1 items

PackageVersionSourceKnown VulnsNotes
dashscope unpinned pip No Version not pinned in SKILL.md or code — recommend pinning for reproducibility

Security Positives

✓ No subprocess, shell, or command execution
✓ No obfuscation (no base64, eval, or dynamic code generation)
✓ No credential exfiltration — API key sent only to declared Alibaba Cloud Dashscope API
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env, etc.)
✓ No data exfiltration or C2 communication
✓ No hidden functionality — code is readable and matches stated purpose
✓ SDK dependency (dashscope) is a known legitimate Alibaba Cloud library