T09 · Insecure Skill Coding Practices
- Location
yandex-tracker.sh:102- Finding
Attachment directory restriction can be bypassed through symbolic links
- Content
View full analysis
&2; return 1; } local base base=$(_get_attachment_base) || { echo "Error: could not determine allowed attachment directory" >&2; return 1; } if ! _path_under_base "$resolved" "$base"; then echo "Error: attachment path must be under the allowed directory (current directory or YANDEX_TRACKER_ATTACHMENTS_DIR)." >&2 return 1 fi return 0 } ``` ```bash attachment_download() { ensure_attachme ...[truncated 3800 chars]- Remediation
View remediation
