T09 · Insecure Skill Coding Practices
- Location
SKILL.md:104- Finding
Predictable Shared Temporary-File Paths
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly a coherent local speech tool, but its instructions include unsafe shell examples that could expose users to command injection or temporary-file tampering if followed literally.
Install only if you are comfortable with a Homebrew CLI that downloads ML models on first use and can optionally start a localhost API server. Agents should not follow the shell-template example literally; they should pass text through an argument-array process API or a securely created text file, and should use private temporary directories instead of fixed `/tmp` filenames.
SKILL.md:104Predictable Shared Temporary-File Paths
SKILL.md:141Command Injection Risk Through Direct Shell Template Interpolation
The manifest and top-level description present the skill primarily as a local STT/TTS CLI, but later documentation exposes a localhost HTTP API server and audio translation capability. This widens the operational and attack surface beyond what an agent or reviewer may expect, potentially causing the skill to be enabled in contexts where opening a listening service or performing cross-language transformation would not have been approved.
The skill states that models are downloaded automatically on first run, but it does not give an explicit security warning that initial execution performs external network access and fetches artifacts from third-party infrastructure. In controlled or air-gapped environments, this can violate user expectations, egress restrictions, or supply-chain review requirements.