T09 · Insecure Skill Coding Practices
- Location
scripts/download.sh:15- Finding
Weak YouTube URL Validation Permits Requests to Arbitrary Hosts
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill broadly matches its stated purpose, but weak URL and filename validation could let crafted inputs download from unintended sites or save files outside the intended video asset folder.
Review this skill before installing. It is intended to download videos into your OpenClaw asset folder, but it should add strict hostname validation, canonical YouTube video ID validation, path containment checks, and reasonable file-size/source controls before use with untrusted URLs or users.
scripts/download.sh:15Weak YouTube URL Validation Permits Requests to Arbitrary Hosts
scripts/download.sh:15Unvalidated Video Identifier Is Embedded in the Output Path and yt-dlp Template
The skill instructs the agent to download a remote file, save it into the local asset store, and modify a shared registry, but it does not clearly warn the user that local files will be written and persistent state will be changed. That can cause unintended storage consumption, policy violations, or silent persistence of untrusted content, especially because the action is triggered by a simple URL-plus-intent workflow.
No suspicious patterns detected.