T09 · Insecure Skill Coding Practices
- Location
SKILL.md:449- Finding
Raw repository paths can cross the declared local-only privacy boundary
- Content
View full analysis
`. git -C log --pretty=format:"%ad" --date=short --name-only | head -500 ``` The bus-factor pipeline removes author names but still emits full paths before the subsequently described sanitization step: ```bash git -C log --pretty=format:'__AUTHOR__%an' --name-only \ | awk ' /^__AUTHOR__/ { author = substr($0, 11); next } NF > 0 { key = $0 SUBSEP author; if (!(key in seen)) { seen[key] = 1; cnt[$0]++ } } END { for (f in cnt) if (cnt[f] == 1) print f "\t1" } ' \ | head -30 ``` The instructions then state: ```text The output of this pipeline is \t1 — file path plus the integer 1 (distinct historical author count). The path is then sanitised per the file-path filtering rules ... before any value crosses into a report or AI prompt. ``` ### Technical Analysis The Skill defines full file paths as local-only sensitive data and claims that only numeric aggregates, extension histograms, and opaque identifiers may enter model context. The documented commands do not enfor ...[truncated 2138 chars]- Remediation
View remediation
