T09 · Insecure Skill Coding Practices
- Location
scripts/doc-manager.py:39- Finding
User-Controlled Slug Enables Path Traversal and File Overwrite
- Content
View full analysis
5 else None ``` Path separators and `..` traversal components can therefore become part of `doc_folder`. The `pathlib` `/` operator does not prevent traversal, and `mkdir(exist_ok=True)` does not verify that the resolved destination remains beneath `/home/node/clawd/docs`. Beca ...[truncated 2168 chars]- Remediation
View remediation
