Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The script constructs the destination path as "$SKILL_DIR/sources/${INDUSTRY}.yaml" using untrusted input from --industry without constraining it to a safe filename pattern or canonicalizing and verifying it stays under the sources directory. An attacker can supply path traversal sequences such as '../../../tmp/pwn' and cause the script to append attacker-controlled YAML content to arbitrary writable files outside the intended directory.
