T09 · Insecure Skill Coding Practices
- Location
scripts/transcribe.sh:75- Finding
Arbitrary Local File Disclosure Through Unsafe curl Multipart Form Values
- Content
View full analysis
- Remediation
View remediation
"$out" ``` Using an argument array also prevents unintended word splitting and preserves prompts containing spaces or shell metacharacters. As defense in depth: 1. Validate `model` against an explicit allowlist of supported model identifiers. 2. Validate `language` against the expected language-code format. 3. Add regression tests using values such as `@/etc/passwd` and verify that no local file content is included in the request. 4. Run the Skill with the minimum filesystem permissions required for its intended operation. ]]>
