T09 · Insecure Skill Coding Practices
- Location
scripts/vtd.js:32- Finding
Unrestricted yt-dlp Argument Passthrough Enables Arbitrary Command Execution
- Content
View full analysis
- Remediation
View remediation
--remux-video --verbose ``` 5. Ensure fixed security arguments cannot be overridden by later user-supplied arguments. Construct the final `yt-dlp` argument list exclusively from validated fields. 6. If advanced passthrough must remain available for trusted interactive use, disable it by default in agent execution and require explicit human confirmation that displays the complete resulting argument list. 7. Add automated tests verifying that dangerous arguments are rejected across every command, including `transcript`, `download`, `audio`, `subs`, and `formats`. ]]>
