T09 · Insecure Skill Coding Practices
- Location
scripts/download_weights.py:118- Finding
Encoded URL components allow arbitrary filesystem writes outside the model directory
- Content
View full analysis
`. The unsafe path is used both in the generated `pget` manifest and by the built-in downloader. ### Attack Path 1. An attacker provides a purported model URL containing encoded separators or traversal sequences in its final path component. 2. `resolve_url_dest()` splits the URL before decoding the filename. 3. `unquote()` transforms the comp ...[truncated 962 chars]- Remediation
View remediation
