T09 · Insecure Skill Coding Practices
- Location
scripts/tts.mjs:76- Finding
Unrestricted Output Path Permits Arbitrary File Overwrite
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent local macOS voice tool, but its text-to-speech helper can overwrite audio files outside its intended output folder when given a custom path.
Review this before installing if you expect agents to handle untrusted instructions or custom output paths. The local voice functionality is purpose-aligned and offline, but the TTS helper should ideally restrict outputs to ~/.openclaw/media/outbound, reject traversal or absolute paths, and avoid overwriting existing files. Until fixed, prefer the default output path and do not let untrusted content choose output_path.
scripts/tts.mjs:76Unrestricted Output Path Permits Arbitrary File Overwrite
Referenced artifact was not completely inspected
able (exit code 0, no error). **Always** use `voices.mjs check` before calling `tts.mjs` with a specific voice name.
Without declared permissions the skill's intent is opaque and cannot be validated.
Detected: suspicious.dangerous_exec